Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
crueter authored Nov 30, 2023
1 parent f7ed938 commit 84bb705
Showing 1 changed file with 1 addition and 22 deletions.
23 changes: 1 addition & 22 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,28 +184,7 @@ jobs:
- name: Build ntcore - Windows
run: |
cmake -S allwpilib -B win-nt-build -G "Ninja" \
-DCMAKE_C_COMPILER_LAUNCHER=sccache \
-DCMAKE_CXX_COMPILER_LAUNCHER=sccache \
-DCMAKE_BUILD_TYPE=Release \
-DWITH_JAVA=OFF \
-DWITH_EXAMPLES=OFF \
-DUSE_SYSTEM_FMTLIB=ON \
-DUSE_SYSTEM_LIBUV=ON \
-DUSE_SYSTEM_EIGEN=ON \
-DWITH_CSCORE=OFF \
-DWITH_NTCORE=ON \
-DWITH_WPIMATH=OFF \
-DWITH_WPILIB=OFF \
-DWITH_TESTS=OFF \
-DWITH_GUI=OFF \
-DWITH_SIMULATION_MODULES=OFF \
-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 \
-DCMAKE_INSTALL_PREFIX=${{ env.INSTALL_DIR }} \
-DENABLE_LTO=ON
cmake -S allwpilib -B win-nt-build -G "Ninja" -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DCMAKE_BUILD_TYPE=Release -DWITH_JAVA=OFF -DWITH_EXAMPLES=OFF -DUSE_SYSTEM_FMTLIB=ON -DUSE_SYSTEM_LIBUV=ON -DUSE_SYSTEM_EIGEN=ON -DWITH_CSCORE=OFF -DWITH_NTCORE=ON -DWITH_WPIMATH=OFF -DWITH_WPILIB=OFF -DWITH_TESTS=OFF -DWITH_GUI=OFF -DWITH_SIMULATION_MODULES=OFF -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 -DCMAKE_INSTALL_PREFIX=${{ env.INSTALL_DIR }} -DENABLE_LTO=ON
cmake -B win-nt-build --parallel $(nproc)
cmake --install win-nt-build --prefix install --component portable
env:
Expand Down

0 comments on commit 84bb705

Please sign in to comment.