File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : TestFreeBSD
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ paths :
8+ - ' **/*.rs'
9+ - ' **/Cargo.toml'
10+ - ' .github/workflows/ci_test_freebsd.yml'
11+ pull_request :
12+ branches :
13+ - master
14+ paths :
15+ - ' **/*.rs'
16+ - ' **/Cargo.toml'
17+ - ' .github/workflows/ci_test_freebsd.yml'
18+
19+ concurrency :
20+ group : ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
21+ cancel-in-progress : true
22+
23+ jobs :
24+ test :
25+ runs-on : ubuntu-latest
26+ strategy :
27+ matrix :
28+ toolchain : ['nightly']
29+ steps :
30+ - uses : actions/checkout@v4
31+ - name : Test in FreeBSD
32+ id : test
33+ uses : vmactions/freebsd-vm@v1
34+ with :
35+ usesh : true
36+ sync : rsync
37+ copyback : false
38+ prepare : |
39+ pkg install -y curl pkgconf python3 perl5 gmake
40+ curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf > install.sh
41+ chmod +x install.sh
42+ ./install.sh -y --default-toolchain ${{ matrix.toolchain }} --profile minimal
43+ run : |
44+ . "$HOME/.cargo/env"
45+ set -ex
46+
47+ rustup component add clippy
48+
49+ cargo clippy --all-features --all-targets -- -Dwarnings
You can’t perform that action at this time.
0 commit comments