Skip to content

Commit

Permalink
Disable broken Windows pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
g3force committed Feb 24, 2024
1 parent aed1509 commit d14caf2
Showing 1 changed file with 25 additions and 24 deletions.
49 changes: 25 additions & 24 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,27 +37,28 @@ jobs:
# 5.15.11 is for macos-12 and 5.15.12 is for macos-13
run: PATH=/usr/local/Cellar/qt@5/5.15.11/lib/cmake/Qt5:/usr/local/Cellar/qt@5/5.15.12/lib/cmake/Qt5:$PATH && make

build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4

- name: Install dependencies # saves / restores cache to avoid rebuilding dependencies
uses: lukka/run-vcpkg@v11
with:
vcpkgGitCommitId: 8eb57355a4ffb410a2e94c07b4dca2dffbee8e50
vcpkgDirectory: c:/vcpkg # folder must reside in c:\ otherwise qt wont install due to long path errors

- name: Run CMake and run vcpkg to build packages
uses: lukka/run-cmake@v10
with:
# this preset is needed to actually install the vcpkg dependencies
configurePreset: "ninja-multi-vcpkg"
configPresetAdditionalArgs: "[-DVCPKG_TARGET_TRIPLET=x64-windows]"
buildPreset: "ninja-multi-vcpkg"
buildPresetAdditionalArgs: "['--config Release']"
env:
# [OPTIONAL] Define the vcpkg's triplet you want to enforce, otherwise the default one
# for the hosting system will be automatically choosen (x64 is the default on all
# platforms, e.g. `x64-osx`).
VCPKG_DEFAULT_TRIPLET: "x64-windows"
# Windows build does not work currently, see https://github.com/RoboCup-SSL/grSim/issues/183
# build-windows:
# runs-on: windows-latest
# steps:
# - uses: actions/checkout@v4
#
# - name: Install dependencies # saves / restores cache to avoid rebuilding dependencies
# uses: lukka/run-vcpkg@v11
# with:
# vcpkgGitCommitId: 8eb57355a4ffb410a2e94c07b4dca2dffbee8e50
# vcpkgDirectory: c:/vcpkg # folder must reside in c:\ otherwise qt wont install due to long path errors
#
# - name: Run CMake and run vcpkg to build packages
# uses: lukka/run-cmake@v10
# with:
# # this preset is needed to actually install the vcpkg dependencies
# configurePreset: "ninja-multi-vcpkg"
# configPresetAdditionalArgs: "[-DVCPKG_TARGET_TRIPLET=x64-windows]"
# buildPreset: "ninja-multi-vcpkg"
# buildPresetAdditionalArgs: "['--config Release']"
# env:
# # [OPTIONAL] Define the vcpkg's triplet you want to enforce, otherwise the default one
# # for the hosting system will be automatically choosen (x64 is the default on all
# # platforms, e.g. `x64-osx`).
# VCPKG_DEFAULT_TRIPLET: "x64-windows"

0 comments on commit d14caf2

Please sign in to comment.