Skip to content

Commit 77f8246

Browse files
authored
Add GitHub Action for cargo-build check (#93)
1 parent 86733f9 commit 77f8246

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/cargo-build.yaml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: CI Build
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
name: cargo build
8+
runs-on: ${{ matrix.os }}
9+
strategy:
10+
matrix:
11+
os: [ubuntu-latest, macos-latest, windows-latest]
12+
13+
steps:
14+
- name: Checkout sources
15+
uses: actions/checkout@v1
16+
17+
- name: Install toolchain
18+
uses: actions-rs/toolchain@v1
19+
with:
20+
toolchain: stable
21+
override: true
22+
23+
- name: Run `cargo build`
24+
uses: actions-rs/cargo@v1
25+
with:
26+
command: build

0 commit comments

Comments
 (0)