Skip to content

Commit

Permalink
Merge pull request #1292 from darkdragon-001/smoke-test
Browse files Browse the repository at this point in the history
Add smoke test
  • Loading branch information
darkdragon-001 authored Aug 7, 2024
2 parents 8e1451b + 9467427 commit ceefed0
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
19 changes: 19 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,25 @@ 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: |
AXOLOTL="${{steps.download-axolotl-linux-amd64.outputs.download-path}}/axolotl"
chmod +x ${AXOLOTL}
${AXOLOTL} --help
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 ceefed0

Please sign in to comment.