From 8fded9dd81a90049e2614a243c33b89a47328e6c Mon Sep 17 00:00:00 2001 From: Matthew Bries Date: Wed, 31 Jul 2024 11:19:32 -0700 Subject: [PATCH] Add max and linux build --- .github/workflows/ccpp.yaml | 32 ++++++++++++++++++++++++++++++-- 1 file changed, 30 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ccpp.yaml b/.github/workflows/ccpp.yaml index 10291fa0..e17de14e 100644 --- a/.github/workflows/ccpp.yaml +++ b/.github/workflows/ccpp.yaml @@ -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: @@ -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