Skip to content

Commit

Permalink
Adjust MacOS build
Browse files Browse the repository at this point in the history
  • Loading branch information
henning-gerhardt committed Jan 21, 2025
1 parent 4a2375a commit 545f543
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,19 @@ jobs:
CPP: clang++
steps:
- uses: actions/checkout@v4
- name: Build
- name: Setup
run: |
brew install pocl
- name: Build GitHub development version
run: |
make -C src -f Makefile.macOS -j "$(sysctl -n hw.ncpu)" CC=${CC} CPP=${CPP} CFLAGS="-O3 -Wall $(pkg-config --cflags pocl)" LDFLAGS="$(pkg-config --libs pocl)"
- name: Test
run: |
./mfakto -d 11
- name: Cleanup build for user artifact
run: |
make -C src clean
- name: Build user artifact without pocl dependency
run: |
make -C src -f Makefile.macOS -j "$(sysctl -n hw.ncpu)" CC=${CC} CPP=${CPP} CFLAGS="-O3 -Wall"
- name: Upload build artifact
Expand Down

0 comments on commit 545f543

Please sign in to comment.