File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -261,6 +261,7 @@ jobs:
261261 matrix :
262262 include :
263263 - target : x86_64-pc-solaris
264+ - target : x86_64-unknown-netbsd
264265 timeout-minutes : 25
265266 steps :
266267 - uses : actions/checkout@v5
@@ -281,6 +282,26 @@ jobs:
281282 export PATH=$HOME/.rust_solaris/bin:$PATH
282283 ./ci/run.sh ${{ matrix.target }}
283284
285+ - name : Test on NetBSD
286+ uses : vmactions/netbsd-vm@v1
287+ if : contains(matrix.target, 'netbsd')
288+ with :
289+ release : " 10.1"
290+ usesh : true
291+ mem : 4096
292+ copyback : false
293+ prepare : |
294+ set -x
295+ /usr/sbin/pkg_add curl
296+ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- \
297+ --profile minimal --default-toolchain nightly -y
298+ run : |
299+ set -x
300+ . "$HOME/.cargo/env"
301+ which rustc
302+ rustc -Vv
303+ ./ci/run.sh ${{ matrix.target }}
304+
284305 docs :
285306 name : Ensure docs build
286307 runs-on : ubuntu-24.04
You can’t perform that action at this time.
0 commit comments