File tree Expand file tree Collapse file tree 2 files changed +76
-0
lines changed Expand file tree Collapse file tree 2 files changed +76
-0
lines changed Original file line number Diff line number Diff line change
1
+ only_if : $CIRRUS_TAG == '' && ($CIRRUS_PR != '' || $CIRRUS_BRANCH == 'master')
2
+ auto_cancellation : $CIRRUS_BRANCH != 'master'
3
+ env :
4
+ CARGO_INCREMENTAL : ' 0'
5
+ CARGO_NET_GIT_FETCH_WITH_CLI : ' true'
6
+ CARGO_NET_RETRY : ' 10'
7
+ CARGO_TERM_COLOR : always
8
+ RUST_BACKTRACE : ' 1'
9
+ RUSTDOCFLAGS : -D warnings
10
+ RUSTFLAGS : -D warnings
11
+ RUSTUP_MAX_RETRIES : ' 10'
12
+
13
+ freebsd_task :
14
+ name : test ($TARGET)
15
+ freebsd_instance :
16
+ image_family : freebsd-12-4
17
+ matrix :
18
+ - env :
19
+ TARGET : x86_64-unknown-freebsd
20
+ - env :
21
+ TARGET : i686-unknown-freebsd
22
+ setup_script :
23
+ - pkg install -y git
24
+ - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain stable --target $TARGET
25
+ test_script :
26
+ - . $HOME/.cargo/env
27
+ - cargo test --target $TARGET
Original file line number Diff line number Diff line change @@ -100,6 +100,55 @@ jobs:
100
100
rustup target add x86_64-unknown-illumos
101
101
cargo build --target x86_64-unknown-illumos
102
102
103
+ netbsd :
104
+ runs-on : macos-12
105
+ steps :
106
+ - uses : actions/checkout@v3
107
+ - name : Test NetBSD
108
+ id : test
109
+ uses : vmactions/netbsd-vm@v0
110
+ with :
111
+ envs : CARGO_INCREMENTAL CARGO_NET_GIT_FETCH_WITH_CLI CARGO_NET_RETRY RUST_BACKTRACE RUSTFLAGS RUSTDOCFLAGS RUSTUP_MAX_RETRIES
112
+ usesh : true
113
+ prepare : |
114
+ pkg_add curl git
115
+ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain stable
116
+ run : |
117
+ . $HOME/.cargo/env
118
+ cargo test
119
+
120
+ openbsd :
121
+ runs-on : macos-12
122
+ steps :
123
+ - uses : actions/checkout@v3
124
+ - name : Test OpenBSD
125
+ id : test
126
+ uses : vmactions/openbsd-vm@v0
127
+ with :
128
+ envs : CARGO_INCREMENTAL CARGO_NET_GIT_FETCH_WITH_CLI CARGO_NET_RETRY RUST_BACKTRACE RUSTFLAGS RUSTDOCFLAGS RUSTUP_MAX_RETRIES
129
+ usesh : true
130
+ # OpenBSD is tier 3 target, so install rust from package manager instead of rustup
131
+ prepare : |
132
+ pkg_add git rust
133
+ run : |
134
+ cargo test
135
+
136
+ dragonfly :
137
+ runs-on : macos-12
138
+ steps :
139
+ - uses : actions/checkout@v3
140
+ - name : Test Dragonfly BSD
141
+ id : test
142
+ uses : vmactions/dragonflybsd-vm@v0
143
+ with :
144
+ envs : CARGO_INCREMENTAL CARGO_NET_GIT_FETCH_WITH_CLI CARGO_NET_RETRY RUST_BACKTRACE RUSTFLAGS RUSTDOCFLAGS RUSTUP_MAX_RETRIES
145
+ usesh : true
146
+ # Dragonfly BSD is tier 3 target, so install rust from package manager instead of rustup
147
+ prepare : |
148
+ pkg install -y git rust
149
+ run : |
150
+ cargo test
151
+
103
152
msrv :
104
153
runs-on : ${{ matrix.os }}
105
154
strategy :
You can’t perform that action at this time.
0 commit comments