update build config for linux

This commit is contained in:
Ren Amamiya 2023-08-13 14:31:10 +07:00
parent a02577bb55
commit 3b02b3f554

View File

@ -17,7 +17,7 @@ jobs:
settings: settings:
- platform: 'macos-latest' - platform: 'macos-latest'
args: '--target universal-apple-darwin' args: '--target universal-apple-darwin'
- platform: 'ubuntu-20.04' - platform: 'ubuntu-22.04'
args: '' args: ''
- platform: 'windows-latest' - platform: 'windows-latest'
args: '--target x86_64-pc-windows-msvc' args: '--target x86_64-pc-windows-msvc'
@ -32,10 +32,10 @@ jobs:
with: with:
targets: aarch64-apple-darwin targets: aarch64-apple-darwin
- name: install dependencies (ubuntu only) - name: install dependencies (ubuntu only)
if: matrix.settings.platform == 'ubuntu-20.04' if: matrix.settings.platform == 'ubuntu-22.04'
run: | run: |
sudo apt-get update sudo apt-get update
sudo apt-get install -y libglib2.0-dev libsoup-3.0 libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf sudo apt-get install -y libglib2.0-dev libsoup-3.0 libgtk-3-dev webkit2gtk-4.1 javascriptcoregtk-4.1 libappindicator3-dev librsvg2-dev patchelf
- name: Install pnpm - name: Install pnpm
uses: pnpm/action-setup@v2 uses: pnpm/action-setup@v2
with: with: