Skip to content

Commit

Permalink
ci: update to ubuntu 22.04 and webkit2gtk 4.1
Browse files Browse the repository at this point in the history
- Update Ubuntu runner from 20.04 to 22.04
- Update WebKit2GTK from 4.0 to 4.1
- Add required dependencies for WebKit2GTK 4.1
  • Loading branch information
0xbrayo committed Nov 26, 2024
1 parent 238bb65 commit dd0a74a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,20 @@ jobs:
strategy:
fail-fast: false
matrix:
platform: [macos-latest, ubuntu-20.04, windows-latest]
platform: [macos-latest, ubuntu-22.04, windows-latest]
runs-on: ${{ matrix.platform }}

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Install dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-20.04'
if: matrix.platform == 'ubuntu-22.04'
# You can remove libayatana-appindicator3-dev if you don't use the system tray feature.
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libayatana-appindicator3-dev librsvg2-dev
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev libayatana-appindicator3-dev librsvg2-dev \
libjavascriptcoregtk-4.1-dev libsoup-3.0-dev
- name: Rust setup
uses: dtolnay/rust-toolchain@stable
Expand Down

0 comments on commit dd0a74a

Please sign in to comment.