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 @@ -104,6 +104,55 @@ jobs:
104
104
rustup target add x86_64-unknown-illumos
105
105
cargo build --target x86_64-unknown-illumos
106
106
107
+ netbsd :
108
+ runs-on : macos-12
109
+ steps :
110
+ - uses : actions/checkout@v3
111
+ - name : Test NetBSD
112
+ id : test
113
+ uses : vmactions/netbsd-vm@v0
114
+ with :
115
+ envs : CARGO_INCREMENTAL CARGO_NET_GIT_FETCH_WITH_CLI CARGO_NET_RETRY RUST_BACKTRACE RUSTFLAGS RUSTDOCFLAGS RUSTUP_MAX_RETRIES
116
+ usesh : true
117
+ prepare : |
118
+ pkg_add curl git
119
+ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain stable
120
+ run : |
121
+ . $HOME/.cargo/env
122
+ cargo test
123
+
124
+ openbsd :
125
+ runs-on : macos-12
126
+ steps :
127
+ - uses : actions/checkout@v3
128
+ - name : Test OpenBSD
129
+ id : test
130
+ uses : vmactions/openbsd-vm@v0
131
+ with :
132
+ envs : CARGO_INCREMENTAL CARGO_NET_GIT_FETCH_WITH_CLI CARGO_NET_RETRY RUST_BACKTRACE RUSTFLAGS RUSTDOCFLAGS RUSTUP_MAX_RETRIES
133
+ usesh : true
134
+ # OpenBSD is tier 3 target, so install rust from package manager instead of rustup
135
+ prepare : |
136
+ pkg_add git rust
137
+ run : |
138
+ cargo test
139
+
140
+ dragonfly :
141
+ runs-on : macos-12
142
+ steps :
143
+ - uses : actions/checkout@v3
144
+ - name : Test Dragonfly BSD
145
+ id : test
146
+ uses : vmactions/dragonflybsd-vm@v0
147
+ with :
148
+ envs : CARGO_INCREMENTAL CARGO_NET_GIT_FETCH_WITH_CLI CARGO_NET_RETRY RUST_BACKTRACE RUSTFLAGS RUSTDOCFLAGS RUSTUP_MAX_RETRIES
149
+ usesh : true
150
+ # Dragonfly BSD is tier 3 target, so install rust from package manager instead of rustup
151
+ prepare : |
152
+ pkg install -y git rust
153
+ run : |
154
+ cargo test
155
+
107
156
msrv :
108
157
runs-on : ${{ matrix.os }}
109
158
strategy :
You can’t perform that action at this time.
0 commit comments