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