-
Notifications
You must be signed in to change notification settings - Fork 0
153 lines (146 loc) · 4.75 KB
/
vm.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
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