mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
macOS add SDKROOT to build
This commit is contained in:
parent
7c091a79b5
commit
0071b04fe7
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -171,9 +171,9 @@ jobs:
|
|||||||
- name: Build
|
- name: Build
|
||||||
working-directory: ${{runner.workspace}}/build
|
working-directory: ${{runner.workspace}}/build
|
||||||
shell: bash
|
shell: bash
|
||||||
run: cmake --build . -j8 --config $BUILD_TYPE
|
run: SDKROOT="$(xcrun --sdk macosx --show-sdk-path)" cmake --build . -j8 --config $BUILD_TYPE
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
working-directory: ${{runner.workspace}}/build
|
working-directory: ${{runner.workspace}}/build
|
||||||
shell: bash
|
shell: bash
|
||||||
run: SDKROOT="$(xcrun --sdk macosx --show-sdk-path)" LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"$(pwd)/backend" PATH=$PATH:"$(pwd)/frontend" ctest -V -C $BUILD_TYPE
|
run: LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"$(pwd)/backend" PATH=$PATH:"$(pwd)/frontend" ctest -V -C $BUILD_TYPE
|
||||||
|
Loading…
Reference in New Issue
Block a user