mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
Try to find pre-compiled wxwidgets on system during build
This commit is contained in:
27
.github/workflows/build.yml
vendored
27
.github/workflows/build.yml
vendored
@@ -246,12 +246,35 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Install GTK3
|
||||
# - name: Install GTK
|
||||
# run: |
|
||||
# sudo apt-cache search libwxgt*
|
||||
# sudo apt-cache search libgtk*
|
||||
# sudo apt install -y libwxgtk3.0-gtk3-dev libgtk-3-dev
|
||||
# if: ${{ matrix.os == 'ubuntu-latest' }}
|
||||
- name: Install wxWidgets (Windows)
|
||||
working-directory: samples/${{ matrix.sample }}
|
||||
run: |
|
||||
vcpkg install wxwidgets
|
||||
vcpkg integrate install
|
||||
if: ${{ matrix.sample == 'CPlusPlusWidgets' && matrix.os == 'windows-latest' }}
|
||||
|
||||
- name: Install wxWidgets (MacOS)
|
||||
run: brew install wxwidgets
|
||||
if: ${{ matrix.sample == 'CPlusPlusWidgets' && matrix.os == 'macos-latest' }}
|
||||
|
||||
- name: Install wxWidgets (Linux)
|
||||
run: |
|
||||
sudo apt-cache search libwxgt*
|
||||
sudo apt-cache search libgtk*
|
||||
sudo apt install -y libwxgtk3.0-gtk3-dev libgtk-3-dev
|
||||
if: ${{ matrix.os == 'ubuntu-latest' }}
|
||||
if: ${{ matrix.sample == 'CPlusPlusWidgets' && matrix.os == 'ubuntu-latest' }}
|
||||
|
||||
# - name: Install wxWidgets
|
||||
# run: |
|
||||
# vcpkg install wxwidgets
|
||||
# vcpkg integrate install
|
||||
|
||||
- name: Install VPK
|
||||
run: dotnet tool install -g vpk
|
||||
- name: Pack Sample (Windows)
|
||||
|
||||
Reference in New Issue
Block a user