Skip to content

Commit

Permalink
Prebuild wpimath to prevent oom
Browse files Browse the repository at this point in the history
  • Loading branch information
rzblue committed Sep 19, 2023
1 parent f5e96dd commit 5453d87
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,12 @@ jobs:
- name: configure
run: cmake -S . -B build -G "Ninja" -DCMAKE_BUILD_TYPE=RelWithDebInfo -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
Expand Down

0 comments on commit 5453d87

Please sign in to comment.