Fix CI 2, remove DragonflyBSD msrv too low #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release for Illumos amd64 | |
on: | |
push: | |
branches: | |
- dev | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
name: Release for Illumos | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build in OmniOS VM | |
id: compile | |
uses: vmactions/omnios-vm@v1 | |
with: | |
envs: 'CARGO_TERM_COLOR' | |
usesh: false | |
mem: 8192 | |
prepare: | | |
whoami | |
pkg update | |
pkg help | |
pkg install openssl curl gnu-coreutils gcc13 pkg-config perl | |
curl https://sh.rustup.rs -sSf | bash -s -- -y | |
. $HOME/.cargo/env | |
cargo install cargo-auditable cargo-audit | |
run: | | |
whoami | |
. $HOME/.cargo/env | |
ls -lah | |
uname -a | |
rustc --version | |
cargo auditable build --release --locked | |
cd target/release | |
mv hctl hctl-illumos-amd64 | |
shasum -a 256 hctl-illumos-amd64 > sha256-hctl-illumos-amd64 |