Skip to content

Commit 6d3b588

Browse files
committed
build it pls
1 parent c796f57 commit 6d3b588

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/build.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Build
2+
3+
on:
4+
push:
5+
branches: [v2]
6+
7+
jobs:
8+
build:
9+
name: Build
10+
runs-on: ubuntu-latest
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
target: [x86_64-unknown-linux-gnu, x86_64-unknown-linux-musl, x86_64-pc-windows-msvc, x86_64-apple-darwin, aarch64-apple-darwin]
15+
steps:
16+
- uses: actions/checkout@master
17+
- name: Compile
18+
id: compile
19+
uses: rust-build/[email protected]
20+
with:
21+
RUSTTARGET: ${{ matrix.target }}
22+
UPLOAD_MODE: none
23+
- name: Upload artifact
24+
uses: actions/upload-artifact@v3
25+
with:
26+
name: Binary
27+
path: |
28+
${{ steps.compile.outputs.BUILT_ARCHIVE }}
29+
${{ steps.compile.outputs.BUILT_CHECKSUM }}

0 commit comments

Comments
 (0)