-
-
Notifications
You must be signed in to change notification settings - Fork 245
43 lines (36 loc) · 1.11 KB
/
test.yml
File metadata and controls
43 lines (36 loc) · 1.11 KB
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
name: Test
on:
workflow_call:
outputs:
matrix-result:
description: 'Matrix job result'
value: ${{ jobs.test.result }}
env:
RUSTFLAGS: -Dwarnings
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-24.04, macos-14, windows-2022]
feature-args: ['', '-Funstable-mobile-app']
include:
- os: ubuntu-24.04
display-os: Linux
- os: macos-14
display-os: macOS
- os: windows-2022
display-os: Windows
- feature-args: ''
feature-suffix: ''
- feature-args: '-Funstable-mobile-app'
feature-suffix: ' (-Funstable-mobile-app)'
name: ${{ matrix.display-os }}${{ matrix.feature-suffix }}
runs-on: ${{ matrix.os }}
steps:
- name: Checkout Repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
- name: Cache Dependencies
uses: swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 # 2.8.0
- name: Run Cargo Tests
run: cargo test --workspace ${{ matrix.feature-args }}