Skip to content

Commit

Permalink
ci: fix paths in Mac build
Browse files Browse the repository at this point in the history
  • Loading branch information
muttleyxd committed Jul 22, 2024
1 parent a3099cc commit 3be78ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/mac_os_x_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: install-dependencies
run: brew install gcc@11 cmake qt5 [email protected]
run: brew install gcc@11 cmake qt@5 [email protected]
- name: make build directory
run: mkdir build && cd build
- name: cmake
run: cd build && cmake .. -DCPACK_GENERATOR=DragNDrop -DCMAKE_PREFIX_PATH='/usr/local;/usr/local/opt/qt@5;/usr/local/opt/[email protected]' -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS="-Werror -static-libgcc" -DCMAKE_C_COMPILER=gcc-11 -DCMAKE_CXX_COMPILER=g++-11 -DRUN_TESTS=ON -DDEVELOPER_MODE=ON -DCMAKE_OSX_DEPLOYMENT_TARGET=10.12
run: cd build && cmake .. -DCPACK_GENERATOR=DragNDrop -DCMAKE_PREFIX_PATH='/usr/local;/opt/homebrew;/opt/homebrew/opt/qt@5;/opt/homebrew/opt/[email protected]' -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS="-Werror -static-libgcc" -DCMAKE_C_COMPILER=gcc-11 -DCMAKE_CXX_COMPILER=g++-11 -DRUN_TESTS=ON -DDEVELOPER_MODE=ON -DCMAKE_OSX_DEPLOYMENT_TARGET=10.12
- name: build
run: cd build && make -j$(sysctl -n hw.ncpu)
- name: run tests
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/mac_os_x_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ jobs:
fetch-depth: 0
- name: install-dependencies
run: |
brew install gcc@11 cmake qt5 p7zip wget gpg [email protected]
brew install gcc@11 cmake qt@5 p7zip wget gpg [email protected]
pip3 install pygithub
curl https://raw.githubusercontent.com/muttleyxd/github-release/master/github-release.py -o github-release
chmod +x github-release
- name: make build directory
run: mkdir build && cd build
- name: cmake
run: cd build && cmake .. -DCPACK_GENERATOR=DragNDrop -DCMAKE_PREFIX_PATH='/usr/local;/usr/local/opt/qt@5;/usr/local/opt/[email protected]' -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS="-Werror -static-libgcc" -DCMAKE_C_COMPILER=gcc-11 -DCMAKE_CXX_COMPILER=g++-11 -DRUN_TESTS=ON -DDEVELOPER_MODE=ON -DCMAKE_OSX_DEPLOYMENT_TARGET=10.12
run: cd build && cmake .. -DCPACK_GENERATOR=DragNDrop -DCMAKE_PREFIX_PATH='/usr/local;/opt/homebrew;/opt/homebrew/opt/qt@5;/opt/homebrew/opt/[email protected]' -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS="-Werror -static-libgcc" -DCMAKE_C_COMPILER=gcc-11 -DCMAKE_CXX_COMPILER=g++-11 -DRUN_TESTS=ON -DDEVELOPER_MODE=ON -DCMAKE_OSX_DEPLOYMENT_TARGET=10.12
- name: build
run: cd build && make -j$(sysctl -n hw.ncpu)
- name: run tests
Expand Down

0 comments on commit 3be78ea

Please sign in to comment.