Skip to content

Commit f23514e

Browse files
committed
one
1 parent cc4ca3f commit f23514e

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,19 +33,15 @@ jobs:
3333
if: ${{ matrix.os == 'windows-latest' }}
3434
run: |
3535
choco install nsis
36-
- name: Install vcpkg Windows Build Dependencies
37-
if: ${{ matrix.os == 'windows-latest' }}
38-
uses: johnwason/vcpkg-action@v6
39-
id: vcpkg
40-
with:
41-
pkgs: wxwidgets gettext[tools]
42-
triplet: x64-windows
43-
token: ${{ github.token }}
36+
# Download and extract wxWidgets
37+
curl -L -o wxWidgets.7z https://github.com/wxWidgets/wxWidgets/releases/download/v3.2.8/wxWidgets-3.2.8.7z
38+
7z x wxWidgets.7z -o "C:\wx" -y
39+
echo "WIN_WX_ROOT_ARG=-DwxWidgets_ROOT_DIR=C:\wx" >> $GITHUB_ENV
4440
- name: Build
4541
run: |
4642
mkdir build
4743
cd build
48-
cmake ${{ steps.vcpkg.outputs.vcpkg-cmake-config }} ..
44+
cmake $WIN_WX_ROOT_ARG ..
4945
cmake --build .
5046
cpack -V -C Debug
5147
- name: Archive Ubuntu Build Artifacts

0 commit comments

Comments
 (0)