Skip to content

Commit

Permalink
chore: add CI for linux (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
cablehead authored Oct 28, 2024
1 parent cb04cef commit f630908
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,23 @@ env:

jobs:
build:
runs-on: macos-latest
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
defaults:
run:
working-directory: ./src-tauri

steps:
- uses: actions/checkout@v4

- name: Install Linux dependencies
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.0-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
- name: Build
run: cargo build --verbose
- name: Run tests
Expand Down

0 comments on commit f630908

Please sign in to comment.