Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
dumganhar committed Aug 16, 2024
1 parent ab2a432 commit f8b82e4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/native-unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ jobs:
shell: bash
run: |
cpus=$(sysctl hw.ncpu | awk '{print $2}')
echo "cpus: ${cpus}"
which cmake
cmake --version
cmake -B tests/unit-test/build -S tests/unit-test
cmake --build tests/unit-test/build --config Release -j${cpus}
./tests/unit-test/build/src/Release/CocosTest
Expand Down Expand Up @@ -84,8 +87,7 @@ jobs:
cp cfg.cmake proj/
GW="${GITHUB_WORKSPACE//\\/\/}"
cmake -B proj -S win64 -DRES_DIR="${GW}/native/tests/sebind-tests" -DCOCOS_X_PATH="${GW}/native" -DAPP_NAME=sebind
cpus=$(sysctl hw.ncpu | awk '{print $2}')
cmake --build proj -j${cpus}
cmake --build proj -j2
# cd proj/Debug
## can not boot on this machine
# ./sebind.exe || true
Expand Down

0 comments on commit f8b82e4

Please sign in to comment.