Skip to content

Commit 38baaea

Browse files
committedNov 27, 2024
ci: [#1099] Add a new job to the testing workflow to test compilation in different OSs
1 parent f0ced13 commit 38baaea

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
 

‎.github/workflows/testing.yaml

+21
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,27 @@ jobs:
8585
name: Check Unused Dependencies
8686
run: cargo machete
8787

88+
build:
89+
name: Build on ${{ matrix.os }} (${{ matrix.toolchain }})
90+
runs-on: ${{ matrix.os }}
91+
92+
strategy:
93+
matrix:
94+
os: [ubuntu-latest, macos-latest, windows-latest]
95+
toolchain: [nightly, stable]
96+
97+
steps:
98+
- name: Checkout code
99+
uses: actions/checkout@v4
100+
101+
- id: setup
102+
name: Setup Toolchain
103+
uses: dtolnay/rust-toolchain@stable
104+
with:
105+
toolchain: ${{ matrix.toolchain }}
106+
107+
- name: Build project
108+
run: cargo build --verbose
88109

89110
unit:
90111
name: Units

0 commit comments

Comments
 (0)