Skip to content

Merge pull request #271 from umccr/fix/experimental-deploy #205

Merge pull request #271 from umccr/fix/experimental-deploy

Merge pull request #271 from umccr/fix/experimental-deploy #205

Workflow file for this run

name: build
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ${{ matrix.os }}
env:
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: 0
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
strategy:
matrix:
rust: [stable]
os: [ubuntu-latest]
steps:
- name: Cache
uses: mozilla-actions/sccache-action@v0.0.5
- name: Check out
uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@master
id: toolchain
with:
toolchain: ${{ matrix.rust }}
- run: rustup override set ${{ steps.toolchain.outputs.name }}
- name: Build all features
run: cargo build --all-targets --all-features
- name: Build no default features
run: cargo build --all-targets --no-default-features
- name: Build s3-storage
run: cargo build --all-targets --features s3-storage
- name: Build url-storage
run: cargo build --all-targets --features url-storage