Skip to content

Merge pull request #12 from AvailX/feat/mobile-prover-delegation-types #47

Merge pull request #12 from AvailX/feat/mobile-prover-delegation-types

Merge pull request #12 from AvailX/feat/mobile-prover-delegation-types #47

Workflow file for this run

name: Test
on:
push:
branches: [ "develop" ]
pull_request:
branches: [ "develop" ]
env:
CARGO_TERM_COLOR: always
jobs:
test:
permissions:
contents: write
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
- if: matrix.os == 'ubuntu-latest'
# Install Ubuntu tauri dependencies
name: Install Ubuntu dependencies
run: sudo apt update && sudo apt install -y libsoup-3.0-dev libwebkit2gtk-4.1-dev javascriptcoregtk-4.1 build-essential curl wget file libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev
- if: matrix.os == 'windows-latest'
# Install PostgreSQL and libpq
uses: ikalnytskyi/action-setup-postgres@v5
- name: Build
run: cargo build --verbose --all-features
- name: Run tests
run: cargo test --verbose --all-features
- name: Create release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
body_path: CHANGELOG.md