Skip to content

Commit

Permalink
Add smoke test
Browse files Browse the repository at this point in the history
  • Loading branch information
darkdragon-001 committed Aug 6, 2024
1 parent 8e1451b commit b85bd3e
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,24 @@ jobs:
path: target/release/bundle/appimage/*.AppImage
retention-days: 1

smoketest:
name: Smoke test
runs-on: ubuntu-latest
needs:
- build-axolotl
steps:
- name: Install tauri dependencies
run: sudo apt-get update && sudo apt-get install -y --no-install-recommends libwebkit2gtk-4.1-0
- name: Download build artifacts
uses: actions/download-artifact@v4
id: download-axolotl-linux-amd64
with:
name: build-axolotl-linux-amd64
- name: Run axolotl binary
run: |
chmod +x ${{steps.download-axolotl-linux-amd64.outputs.download-path}}/axolotl
${{steps.download-axolotl-linux-amd64.outputs.download-path}}/axolotl --tauri
build-axolotl-arm64:
name: Build axolotl arm64
runs-on: ubuntu-latest
Expand Down
4 changes: 3 additions & 1 deletion tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
"bundleMediaFramework": true
},
"deb": {
"depends": [],
"depends": [
"libwebkit2gtk-4.1-0"
],
"files": {
"/usr/share/doc/axolotl/README.md": "README.md"
}
Expand Down

0 comments on commit b85bd3e

Please sign in to comment.