Skip to content

Commit

Permalink
Use xcodebuild instead of cmake --build to fix cmake bug: clang: erro…
Browse files Browse the repository at this point in the history
…r: no such file or directory: '$(inherited)'
  • Loading branch information
dumganhar committed Aug 17, 2024
1 parent 1413690 commit a554df9
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 @@ -46,8 +46,10 @@ jobs:
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
cd tests/unit-test/build
# cmake --build tests/unit-test/build --config Release -j${cpus}
xcodebuild -project CocosTest.xcodeproj -scheme "CocosTest" -jobs ${cpus} -arch arm64 -configuration Release build CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO
./src/Release/CocosTest
#### TODO(PatriceJiang): model split
# - name: Run Module Tests
Expand Down

0 comments on commit a554df9

Please sign in to comment.