Skip to content

chore: update dependencies #46

chore: update dependencies

chore: update dependencies #46

Workflow file for this run

on:
push:
branches:
- master
pull_request:
branches:
- master
name: Build
jobs:
build:
name: Build
strategy:
matrix:
include:
- target: aarch64-unknown-linux-musl
os: ubuntu-latest
cross: true
- target: x86_64-unknown-linux-musl
os: ubuntu-latest
cross: true
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Setup Cargo Toolchain
uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
shared-key: build-${{ matrix.target }}-${{ github.ref }}
- name: Build
if: "! matrix.cross"
run: cargo build --release --workspace --target ${{ matrix.target }}
- name: Setup Cross Toolchain
if: matrix.cross
uses: taiki-e/install-action@cross
- name: Build (cross)
if: matrix.cross
run: cross build --release --workspace --target ${{ matrix.target }}