Skip to content

Commit

Permalink
ci: try xquartz in build_macos
Browse files Browse the repository at this point in the history
  • Loading branch information
For-Chance committed Aug 21, 2024
1 parent fcc3b51 commit 2e8dfb8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,16 +59,16 @@ jobs:
- name: Start Xvfb
run: |
Xvfb :99 -screen 0 1024x768x24 &
Xvfb :99 -screen 0 1024x768x24
export DISPLAY=:99
- name: Run demo2d
run: |
./build/bin/demo2d
- name: Run MassSpring3d
- name: Run MassSpring3D
run: |
./build/bin/MassSpring3d
./build/bin/MassSpring3D
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
Expand All @@ -87,9 +87,9 @@ jobs:
ln -s "$(brew --prefix llvm)/bin/clang-format" "/usr/local/bin/clang-format"
ln -s "$(brew --prefix llvm)/bin/clang-tidy" "/usr/local/bin/clang-tidy"
- name: Install Xvfb
- name: Install XQuartz
run: |
brew install Xvfb
brew install --cask xquartz
- name: Build
run: |
Expand All @@ -98,7 +98,7 @@ jobs:
- name: Start Xvfb
run: |
Xvfb :99 -screen 0 1024x768x24 &
Xvfb :99 -screen 0 1024x768x24
export DISPLAY=:99
- name: Run demo2d
Expand Down
3 changes: 2 additions & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ link_libraries(
SimplePhysicsEngine-static
)

add_subdirectory(unit_test)
# @bug unit_test 待补充好再开启
# add_subdirectory(unit_test)
#add_subdirectory(integration_test)
add_subdirectory(system_test)

Expand Down

0 comments on commit 2e8dfb8

Please sign in to comment.