Skip to content

Commit 0be5a26

Browse files
committed
Add readme and deploy workflow
1 parent a040f1d commit 0be5a26

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
on: push
2+
name: Deploy
3+
jobs:
4+
linux:
5+
name: Linux 64-bits
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v2
9+
- uses: actions-rs/toolchain@v1
10+
with:
11+
toolchain: stable
12+
- uses: actions-rs/cargo@v1
13+
with:
14+
command: build
15+
args: --release
16+
mac:
17+
name: macOS
18+
runs-on: mac-latest
19+
steps:
20+
- uses: actions/checkout@v2
21+
- uses: actions-rs/toolchain@v1
22+
with:
23+
toolchain: stable
24+
- uses: actions-rs/cargo@v1
25+
with:
26+
command: build
27+
args: --release
28+
windows:
29+
name: Windows 64-bits
30+
runs-on: windows-latest
31+
steps:
32+
- uses: actions/checkout@v2
33+
- uses: actions-rs/toolchain@v1
34+
with:
35+
toolchain: stable
36+
- uses: actions-rs/cargo@v1
37+
with:
38+
command: build
39+
args: --release

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Testing how to deploy rust projects with GitHub Actions.

0 commit comments

Comments
 (0)