Skip to content

Commit

Permalink
Add max and linux build
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-lidar committed Jul 31, 2024
1 parent b247174 commit 8fded9d
Showing 1 changed file with 30 additions and 2 deletions.
32 changes: 30 additions & 2 deletions .github/workflows/ccpp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
- name: cmake configure for realsies
run: cmake . -B build -DBUILD_TESTING=ON -DBUILD_EXAMPLES=ON
- name: cmake build
run: cmake --build build -j2
run: cmake --build build -j4
- name: run tests
run: cd build/ && ctest -j2
run: cd build/ && ctest -j4
linux-python-build:
runs-on: ubuntu-latest
steps:
Expand All @@ -35,3 +35,31 @@ jobs:
run: cd python && mypy ./src ./tests && flake8
- name: run tests
run: cd python/tests && pytest
windows-build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- name: install deps
run: ${{ github.workspace }}/vcpkg/vcpkg install --triplet x64-windows jsoncpp eigen3 curl libtins glfw3 glew spdlog libpng flatbuffers
- name: lint
run: ./clang-linting.sh
- name: cmake configure for realsies
run: cmake . -B build -DBUILD_TESTING=ON -DBUILD_EXAMPLES=ON
- name: cmake build
run: cmake --build build -j4
- name: run tests
run: cd build/ && ctest -j4
mac-build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v1
- name: install deps
run: brew install cmake pkg-config jsoncpp eigen curl libtins glfw glew spdlog
- name: lint
run: ./clang-linting.sh
- name: cmake configure for realsies
run: cmake . -B build -DBUILD_TESTING=ON -DBUILD_EXAMPLES=ON
- name: cmake build
run: cmake --build build -j3
- name: run tests
run: cd build/ && ctest -j3

0 comments on commit 8fded9d

Please sign in to comment.