Skip to content

Commit

Permalink
update tauri builder libs for linux
Browse files Browse the repository at this point in the history
  • Loading branch information
jbolda committed Dec 16, 2024
1 parent 36c96fd commit b95ffc7
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 9 deletions.
20 changes: 14 additions & 6 deletions .github/workflows/covector-version-or-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,21 +53,29 @@ jobs:
strategy:
fail-fast: false
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
include:
- platform: 'macos-latest' # for Arm based macs (M1 and above).
args: '--target aarch64-apple-darwin'
- platform: 'macos-latest' # for Intel based macs.
args: '--target x86_64-apple-darwin'
- platform: 'ubuntu-22.04' # for Tauri v1 you could replace this with ubuntu-20.04.
args: ''
- platform: 'windows-latest'
args: ''

steps:
- uses: actions/checkout@v4
- uses: volta-cli/action@v4
- name: install rust stable
uses: actions-rs/toolchain@v1
- name: install Rust stable
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
profile: minimal
# Those targets are only used on macos runners so it's in an `if` to slightly speed up windows and linux builds.
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}
- name: install webkit2gtk (ubuntu only)
if: matrix.platform == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install -y webkit2gtk-4.0
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
- run: npm install
- name: build finatr for tauri app
run: npm run build
Expand Down
5 changes: 2 additions & 3 deletions src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@
"deb": {
"depends": []
}
},
"createUpdaterArtifacts": "v1Compatible"
}
},
"build": {
"beforeBuildCommand": "npm run build",
Expand All @@ -59,4 +58,4 @@
}
]
}
}
}

0 comments on commit b95ffc7

Please sign in to comment.