🐎 Avoid unnecessary memory allocation #242
Workflow file for this run
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: VM Tests | |
on: | |
workflow_dispatch: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["*"] | |
env: | |
RUST_BACKTRACE: 1 | |
jobs: | |
# solaris-test: | |
# runs-on: ubuntu-latest | |
# name: Test on Solaris | |
# steps: | |
# - uses: actions/checkout@v4 | |
# - name: Test in Solaris | |
# id: test | |
# uses: vmactions/solaris-vm@v1.0.9 | |
# with: | |
# envs: "RUST_BACKTRACE" | |
# usesh: true | |
# prepare: | | |
# pkg install bash libtool automake gnu-m4 tree wget gcc autoconf //solaris/text/gawk pkg://solaris/text/gnu-diffutils pkg://solaris/text/gnu-grep pkg://solaris/text/gnu-sed cmake | |
# pkg install pkg:/developer/rust/cargo | |
# run: | | |
# set -e | |
# export LC_ALL=C LANG=C | |
# uname -a | |
# chown -R $(whoami):$(id -gn) ./ | |
# chmod -R a+rw ./ | |
# cargo install -f cargo-hack --locked | |
# cargo hack test --locked --release --feature-powerset --exclude-features wasm | |
NetBSD-test: | |
runs-on: ubuntu-latest | |
name: Test on NetBSD | |
steps: | |
- uses: actions/checkout@v4.1.6 | |
- name: Test in NetBSD | |
id: test | |
uses: vmactions/NetBSD-vm@v1.1.4 | |
with: | |
envs: "RUST_BACKTRACE" | |
usesh: true | |
prepare: | | |
/usr/sbin/pkg_add -v autoconf automake gmake gettext-tools gtar-base libtool-base m4 po4a curl cmake | |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y | |
run: | | |
set -e | |
. "$HOME/.cargo/env" | |
export LC_ALL=C LANG=C | |
uname -a | |
export PATH=$PATH:/usr/sbin | |
chown -R $(whoami):$(id -gn) ./ | |
chmod -R a+rw ./ | |
cargo install -f cargo-hack --locked | |
cargo hack test --locked --release --feature-powerset --exclude-features wasm | |
FreeBSD-test: | |
runs-on: ubuntu-latest | |
name: Test on FreeBSD | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Test in FreeBSD | |
id: test | |
uses: vmactions/freebsd-vm@v1.1.5 | |
with: | |
envs: "RUST_BACKTRACE" | |
usesh: true | |
prepare: | | |
pkg install -y curl cmake | |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y | |
run: | | |
set -e | |
. "$HOME/.cargo/env" | |
export LC_ALL=C LANG=C | |
uname -a | |
chown -R $(whoami):$(id -gn) ./ | |
chmod -R a+rw ./ | |
cargo install -f cargo-hack --locked | |
cargo hack test --locked --release --feature-powerset --exclude-features wasm,acl | |
OpenBSD-test: | |
runs-on: ubuntu-latest | |
name: Test on OpenBSD | |
steps: | |
- uses: actions/checkout@v4.1.6 | |
- name: Test in OpenBSD | |
id: test | |
uses: vmactions/OpenBSD-vm@v1.1.4 | |
with: | |
envs: "RUST_BACKTRACE" | |
usesh: true | |
prepare: | | |
/usr/sbin/pkg_add -I -v autoconf-2.71 automake-1.16.5 gmake gettext-tools gtar libtool m4 cmake | |
/usr/sbin/pkg_add -I -v rust | |
run: | | |
set -e | |
export LC_ALL=C LANG=C | |
uname -a | |
chown -R $(whoami):$(id -gn) ./ | |
chmod -R a+rw ./ | |
cargo install -f cargo-hack --locked | |
cargo hack test --locked --release --feature-powerset --exclude-features wasm | |
# DragonflyBSD-test: | |
# runs-on: ubuntu-latest | |
# name: Test on DragonflyBSD | |
# steps: | |
# - uses: actions/checkout@v4 | |
# - name: Test in DragonflyBSD | |
# id: test | |
# uses: vmactions/dragonflybsd-vm@v1.0.9 | |
# with: | |
# envs: "RUST_BACKTRACE" | |
# usesh: true | |
# prepare: | | |
# pkg install -y curl cmake | |
# pkg install -y rust | |
# run: | | |
# set -e | |
# export LC_ALL=C LANG=C | |
# uname -a | |
# chown -R $(whoami):$(id -gn) ./ | |
# chmod -R a+rw ./ | |
# cargo install -f cargo-hack --locked | |
# cargo hack test --locked --release --feature-powerset --exclude-features wasm | |
OmniOS-test: | |
runs-on: ubuntu-latest | |
name: Test on OmniOS | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Test in OmniOS | |
id: test | |
uses: vmactions/omnios-vm@v1.0.9 | |
with: | |
envs: "RUST_BACKTRACE" | |
usesh: true | |
prepare: | | |
pkg install curl pkg:/developer/gcc13 cmake | |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y | |
run: | | |
set -e | |
. "$HOME/.cargo/env" | |
export LC_ALL=C LANG=C | |
uname -a | |
chown -R $(whoami):$(id -gn) ./ | |
chmod -R a+rw ./ | |
cargo install -f cargo-hack --locked | |
cargo hack test --locked --release --feature-powerset --exclude-features wasm,zlib-ng |