Skip to content

test

test #2

Workflow file for this run

name: Release Rust
on:
push:
jobs:
build:
name: cargo test
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
platform:
# linux platform
- os_name: Linux-aarch64
os: ubuntu-20.04
target: aarch64-unknown-linux-musl
bin: figctl-linux-arm64
- os_name: Linux-x86_64
os: ubuntu-20.04
target: x86_64-unknown-linux-gnu
bin: figctl-linux-amd64
# window platform
- os_name: Windows-x86_64
os: windows-latest
target: x86_64-pc-windows-msvc
bin: figctl-amd64.exe
- os_name: Windows-aarch64
os: windows-latest
target: aarch64-pc-windows-msvc
bin: ubi.exe
name: ubi-Windows-aarch64.zip
# macOS platform
- os_name: macOS-x86_64
os: macOS-latest
target: x86_64-apple-darwin
bin: figctl-darwin-amd64
- os_name: macOS-aarch64
os: macOS-latest
target: aarch64-apple-darwin
bin: figctl-darwin-arm64
toolchain:
- stable
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Add Rust
uses: dtolnay/rust-toolchain@master
- run: cargo version