Skip to content

Commit

Permalink
20230903 gha (#3)
Browse files Browse the repository at this point in the history
* Get Git Hub Actions working for all envs

---------

Co-authored-by: Zachary Charlop-Powers <[email protected]>
  • Loading branch information
zachcp and Zachary Charlop-Powers authored Sep 3, 2023
1 parent 064379d commit ddbd8a5
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: 'test-on-pr'
on: [pull_request]

jobs:
test-tauri:
strategy:
fail-fast: false
matrix:
platform: [macos-latest, ubuntu-20.04, windows-latest]

runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3
- name: setup node
uses: actions/setup-node@v3
with:
node-version: 16
- name: install Rust stable
uses: dtolnay/rust-toolchain@stable

- name: install dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-20.04'
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf wget
wget https://github.com/quarto-dev/quarto-cli/releases/download/v1.3.450/quarto-1.3.450-linux-amd64.deb
sudo dpkg -i quarto-1.3.450-linux-amd64.deb
- name: install dependencies (macos only)
if: matrix.platform == 'macos-latest'
run: brew install quarto
- name: install dependencies (windows only)
if: matrix.platform == 'windows-latest'
run: choco install quarto

- uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 4 additions & 0 deletions src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html



[build-dependencies]
tauri-build = { version = "1.4", features = [] }

Expand All @@ -21,6 +23,8 @@ bio = "1.3.1"
noodles-fastq = "0.8.0"
filepath = "0.1.2"
rnapkin = "0.3.9"
protein-translate = "0.2.0"


[dev-dependencies]
tempfile = "3.8.0"
Expand Down

0 comments on commit ddbd8a5

Please sign in to comment.