Skip to content

feat: add all and default options for --format & test in CI #5

feat: add all and default options for --format & test in CI

feat: add all and default options for --format & test in CI #5

Workflow file for this run

name: Build examples
on:
push:
branches:
- main
paths:
- ".github/workflows/build-examples.yml"
- "crates/**"
- "examples/**"
pull_request:
branches:
- main
paths:
- ".github/workflows/build-examples.yml"
- "crates/**"
- "examples/**"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
strategy:
fail-fast: false
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: install webkit2gtk
if: matrix.platform == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install -y webkit2gtk-4.1 libayatana-appindicator3-dev
- uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- uses: Swatinem/rust-cache@v2
- run: cargo install tauri-cli --version "2.0.0-alpha.10" --locked
- run: cargo install dioxus-cli --locked
- run: cargo r --package cargo-packager -- signer generate --password '' --path ./signing-key -vvv
- run: cargo r --package cargo-packager -- --release --private-key ./signing-key --password '' --formats all -vvv