File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 6868 - name : Clippy (xtask)
6969 run : cargo clippy --manifest-path ./xtask/Cargo.toml
7070
71+ test :
72+ strategy :
73+ fail-fast : false
74+ matrix :
75+ include :
76+ - { target: x86_64-pc-windows-msvc, os: windows-2019 }
77+ - { target: x86_64-pc-windows-msvc, os: windows-2022 }
78+ - { target: x86_64-apple-darwin, os: macos-11 }
79+ - { target: x86_64-apple-darwin, os: macos-12 }
80+ - { target: x86_64-unknown-linux-gnu, os: ubuntu-20.04 }
81+ - { target: x86_64-unknown-linux-gnu, os: ubuntu-22.04 }
82+ name : test (${{ matrix.target }})
83+ runs-on : ${{ matrix.os }}
84+ steps :
85+ - uses : actions/checkout@v3
86+
87+ - name : Read ./rust-toolchain
88+ id : read-rust-toolchain
89+ run : echo "toolchain=$(cat ./rust-toolchain)" >> "$GITHUB_OUTPUT"
90+ shell : bash
91+
92+ - name : Set up Rust
93+ uses : dtolnay/rust-toolchain@master
94+ with :
95+ toolchain : ${{ steps.read-rust-toolchain.outputs.toolchain }}
96+ targets : ${{ matrix.target }}
97+
98+ - name : Test (judge)
99+ run : cargo test --target ${{ matrix.target }}
100+
71101 cargo-deny :
72102 runs-on : ubuntu-22.04
73103 steps :
You can’t perform that action at this time.
0 commit comments