Skip to content

Commit caad39b

Browse files
committed
chore: Automatic generator building
1 parent ba9f784 commit caad39b

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/rust_build.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
on: push
2+
3+
jobs:
4+
build_rust:
5+
name: Build ${{ matrix.target }}
6+
runs-on: ubuntu-latest
7+
8+
strategy:
9+
fail-fast: false
10+
matrix:
11+
target:
12+
[
13+
x86_64-pc-windows-gnu,
14+
x86_64-unknown-linux-musl,
15+
x86_64-apple-darwin,
16+
]
17+
18+
steps:
19+
- name: Checkout this repo
20+
uses: actions/checkout@master
21+
22+
- name: Compile
23+
id: compile
24+
uses: rust-build/[email protected]
25+
with:
26+
RUSTTARGET: ${{ matrix.target }}
27+
SRC_DIR: "support"
28+
UPLOAD_MODE: none
29+
30+
- name: Upload artifact
31+
uses: actions/upload-artifact@v3
32+
with:
33+
name: Rust Builds
34+
path: |
35+
${{ steps.compile.outputs.BUILT_ARCHIVE }}

0 commit comments

Comments
 (0)