-
Notifications
You must be signed in to change notification settings - Fork 612
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ci] Windows cmake: update vcpkg version (#6397)
We need fmtlib 10.2.1 to work around a compiler bug. Also, reducing the number of jobs is no longer required with Actions runner upgrades.
- Loading branch information
1 parent
8b66933
commit c27ddf5
Showing
2 changed files
with
2 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -88,28 +88,13 @@ jobs: | |
uses: lukka/[email protected] | ||
with: | ||
vcpkgDirectory: ${{ runner.workspace }}/vcpkg | ||
vcpkgGitCommitId: 78b61582c9e093fda56a01ebb654be15a0033897 # HEAD on 2023-08-6 | ||
vcpkgGitCommitId: 37c3e63a1306562f7f59c4c3c8892ddd50fdf992 # HEAD on 2024-02-24 | ||
|
||
- name: configure | ||
run: cmake -S . -B build -G "Ninja" -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DCMAKE_BUILD_TYPE=Release -DWITH_JAVA=OFF -DWITH_EXAMPLES=ON -DUSE_SYSTEM_FMTLIB=ON -DUSE_SYSTEM_LIBUV=ON -DUSE_SYSTEM_EIGEN=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 | ||
env: | ||
SCCACHE_GHA_ENABLED: "true" | ||
|
||
# Build wpiutil at full speed, wpimath depends on wpiutil | ||
- name: build wpiutil | ||
working-directory: build | ||
run: cmake --build . --parallel $(nproc) --target wpiutil/all | ||
env: | ||
SCCACHE_GHA_ENABLED: "true" | ||
|
||
# Build wpimath slow to prevent OOM | ||
- name: build wpimath | ||
working-directory: build | ||
run: cmake --build . --parallel 1 --target wpimath/all | ||
env: | ||
SCCACHE_GHA_ENABLED: "true" | ||
|
||
# Build everything else fast | ||
- name: build | ||
working-directory: build | ||
run: cmake --build . --parallel $(nproc) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters