File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 4
4
push :
5
5
branches :
6
6
- master
7
+ - freebsd
7
8
8
9
env :
9
10
RUST_BACKTRACE : 1
17
18
- msrv
18
19
- test-linux
19
20
- test-macos
21
+ - test-freebsd
20
22
- test-windows
21
23
- build-cross
22
24
- test-cgroups
@@ -150,6 +152,23 @@ jobs:
150
152
rustup target add ${{ matrix.target }}
151
153
cargo build --verbose --target ${{ matrix.target }}
152
154
155
+ test-freebsd :
156
+ runs-on : macos-12
157
+ steps :
158
+ - uses : actions/checkout@v3
159
+ - id : test-cpuset
160
+ uses : vmactions/freebsd-vm@v0
161
+ with :
162
+ envs : ' RUST_BACKTRACE CARGO_TERM_COLOR'
163
+ usesh : true
164
+ prepare : |
165
+ pkg install -y rust
166
+ run : |
167
+ cargo test --verbose
168
+ cpuset -l 0 cargo test --verbose -e NUM_CPUS_TEST_GET=1
169
+ cpuset -l 0,1 cargo test --verbosee -e NUM_CPUS_TEST_GET=2
170
+
171
+
153
172
test-cgroups :
154
173
runs-on : ubuntu-latest
155
174
You can’t perform that action at this time.
0 commit comments