Skip to content

ignore RUSTSEC-2024-0363 since there is little we can do about it rig… #50

ignore RUSTSEC-2024-0363 since there is little we can do about it rig…

ignore RUSTSEC-2024-0363 since there is little we can do about it rig… #50

Workflow file for this run

name: Build
on:
push:
branches: [ "main" ]
jobs:
build:
name: Binaries for ${{ matrix.name }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
name:
- linux-x86-64-gnu
- linux-armv7-gnu
- linux-arm64-gnu
- linux-x86-64-musl
- linux-arm64-musl
include:
- name: linux-x86-64-gnu
os: ubuntu-22.04
target: x86_64-unknown-linux-gnu
platform: ~
cross: false
- name: linux-armv7-gnu
os: ubuntu-22.04
target: armv7-unknown-linux-gnueabihf
platform: ~
cross: true
- name: linux-arm64-gnu
os: ubuntu-22.04
target: aarch64-unknown-linux-gnu
platform: ~
cross: true
- name: linux-x86-64-musl
os: ubuntu-22.04
target: x86_64-unknown-linux-musl
platform: amd64
cross: true
- name: linux-arm64-musl
os: ubuntu-22.04
target: aarch64-unknown-linux-musl
platform: arm64
cross: true
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- run: cargo install cross --git https://github.com/cross-rs/cross || true
- name: Build
if: ${{ !matrix.cross }}
run: cargo build --release --target ${{ matrix.target }} --manifest-path Cargo.toml