Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ci/vm actions bsds #1136

Merged
merged 14 commits into from
Oct 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
149 changes: 149 additions & 0 deletions .github/workflows/vm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,149 @@
name: VM Tests
on:
pull_request:

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/[email protected]
# 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/[email protected]
- name: Test in NetBSD
id: test
uses: vmactions/[email protected]
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/[email protected]
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/[email protected]
# - name: Test in OpenBSD
# id: test
# uses: vmactions/[email protected]
# 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/[email protected]
# 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/[email protected]
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