Skip to content

Commit fc817c8

Browse files
authored
Create all_build.yml
1 parent 99cf3fc commit fc817c8

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/all_build.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: All Build
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
env:
9+
CARGO_TERM_COLOR: always
10+
11+
jobs:
12+
upgrade:
13+
name: Build on ${{ matrix.os }} (${{ matrix.toolchain }})
14+
runs-on: ${{ matrix.os }}
15+
16+
strategy:
17+
matrix:
18+
os: [ubuntu-latest, macos-latest, windows-latest]
19+
toolchain: [nightly, stable]
20+
21+
steps:
22+
- name: Checkout code
23+
uses: actions/checkout@v4
24+
25+
- id: setup
26+
name: Setup Toolchain
27+
uses: dtolnay/rust-toolchain@stable
28+
with:
29+
toolchain: ${{ matrix.toolchain }}
30+
31+
- name: Build project
32+
run: cargo build --release --verbose

0 commit comments

Comments
 (0)