Skip to content

Commit

Permalink
Prebuild wpimath to speed up build
Browse files Browse the repository at this point in the history
  • Loading branch information
rzblue committed Sep 22, 2023
1 parent d0e172a commit 2debfc3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,13 @@ jobs:
- name: configure
run: cmake -S . -B build -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DWITH_JAVA=OFF -DWITH_EXAMPLES=ON -DUSE_SYSTEM_FMTLIB=ON -DUSE_SYSTEM_LIBUV=ON -DUSE_SYSTEM_EIGEN=ON -DCMAKE_TOOLCHAIN_FILE=${{ runner.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake -DVCPKG_INSTALL_OPTIONS=--clean-after-build -DVCPKG_TARGET_TRIPLET=x64-windows-release -DVCPKG_HOST_TRIPLET=x64-windows-release

- name: build wpimath
working-directory: build
run: cmake --build . --parallel 1 --target wpimath/all
- name: build
working-directory: build
run: cmake --build . --parallel 1
run: cmake --build . --parallel $(nproc)

- name: test
working-directory: build
run: ctest --output-on-failure

0 comments on commit 2debfc3

Please sign in to comment.