diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index daad223485a..cbbc41bee8e 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -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