-
Notifications
You must be signed in to change notification settings - Fork 40
52 lines (48 loc) · 1.41 KB
/
test.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# name: Test
# on:
# push:
# branches: [main]
# pull_request:
# permissions:
# contents: read
# env:
# CARGO_TERM_COLOR: always
# jobs:
# test:
# runs-on: ${{ matrix.os.runner }}
# name: ${{ matrix.os.name }} / ${{ matrix.toolchain }}
# strategy:
# fail-fast: false
# matrix:
# os:
# - runner: ubuntu-latest
# name: ubuntu
# - runner: windows-latest
# name: windows
# - runner: macos-13
# name: macos-x64
# - runner: macos-latest
# name: macos-arm
# toolchain:
# - stable
# - beta
# steps:
# - uses: actions/checkout@v4
# with:
# submodules: true
# - name: Install Arma 3 Tools
# if: startsWith(matrix.os.runner, 'windows')
# uses: arma-actions/arma3-tools@master
# with:
# toolsUrl: ${{ secrets.ARMA3_TOOLS_URL }}
# - name: Install ${{ matrix.toolchain }}
# uses: dtolnay/rust-toolchain@stable
# with:
# toolchain: ${{ matrix.toolchain }}
# - uses: taiki-e/install-action@nextest
# - name: cargo generate-lockfile
# if: hashFiles('Cargo.lock') == ''
# run: cargo generate-lockfile
# # https://twitter.com/jonhoo/status/1571290371124260865
# - name: cargo test --locked
# run: cargo nextest run --locked --all-features --all-targets