update workflow
This commit is contained in:
@@ -19,9 +19,9 @@ jobs:
|
||||
args: '--target x86_64-apple-darwin'
|
||||
arch: 'silicon'
|
||||
type: 'x86_64'
|
||||
- platform: 'ubuntu-22.04'
|
||||
- platform: 'ubuntu-24.04'
|
||||
args: ''
|
||||
- platform: 'ubuntu-22.04-arm'
|
||||
- platform: 'ubuntu-24.04-arm'
|
||||
args: ''
|
||||
- platform: 'windows-11-arm'
|
||||
args: '--target x86_64-pc-windows-msvc'
|
||||
@@ -47,7 +47,7 @@ jobs:
|
||||
|
||||
- name: install Rust stable (linux only)
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
if: matrix.platform == 'ubuntu-22.04' || matrix.platform == 'ubuntu-22.04-arm'
|
||||
if: matrix.platform == 'ubuntu-24.04' || matrix.platform == 'ubuntu-24.04-arm'
|
||||
|
||||
- name: install Rust stable (macos only)
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
@@ -68,13 +68,20 @@ jobs:
|
||||
key: ${{ runner.os }}-${{ runner.arch }}
|
||||
|
||||
- name: install dependencies (linux only)
|
||||
if: matrix.platform == 'ubuntu-22.04' || matrix.platform == 'ubuntu-22.04-arm' # This must match the platform value defined above.
|
||||
if: matrix.platform == 'ubuntu-24.04' || matrix.platform == 'ubuntu-24.04-arm' # This must match the platform value defined above.
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
|
||||
sudo apt-get install -y libssl-dev libgtk-3-dev libappindicator3-dev librsvg2-dev patchelf
|
||||
sudo apt install -y \
|
||||
libwebkit2gtk-4.1-0=2.44.0-2 \
|
||||
libwebkit2gtk-4.1-dev=2.44.0-2 \
|
||||
libjavascriptcoregtk-4.1-0=2.44.0-2 \
|
||||
libjavascriptcoregtk-4.1-dev=2.44.0-2 \
|
||||
gir1.2-javascriptcoregtk-4.1=2.44.0-2 \
|
||||
gir1.2-webkit2-4.1=2.44.0-2;
|
||||
|
||||
- name: install dependencies (linux arm only)
|
||||
if: matrix.platform == 'ubuntu-22.04-arm' # This must match the platform value defined above.
|
||||
if: matrix.platform == 'ubuntu-24.04-arm' # This must match the platform value defined above.
|
||||
run: |
|
||||
sudo apt-get install -y xdg-utils libayatana-appindicator3-dev
|
||||
|
||||
|
||||
Reference in New Issue
Block a user