Skip to content

Commit

Permalink
Update build-macos.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
baderouaich authored Oct 7, 2024
1 parent 025316c commit 0f85a66
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,14 @@ jobs:
- name: Print system information
run: system_profiler SPSoftwareDataType SPHardwareDataType


- name: Export TESTS_BOT_TOKEN env var
run: export TESTS_BOT_TOKEN=${{ env.TESTS_BOT_TOKEN }}

- name: Build & run CText flow
run: |
mkdir cmake-build-debug && cd cmake-build-debug
cmake .. -GNinja -DCMAKE_BUILD_TYPE=Debug -DENABLE_TESTS=ON
export TESTS_BOT_TOKEN=${{ secrets.TESTS_BOT_TOKEN }}
ninja tests/all -j$(sysctl -n hw.logicalcpu)
ninja test
ninja test

0 comments on commit 0f85a66

Please sign in to comment.