We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba9f784 commit caad39bCopy full SHA for caad39b
.github/workflows/rust_build.yml
@@ -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
33
+ name: Rust Builds
34
+ path: |
35
+ ${{ steps.compile.outputs.BUILT_ARCHIVE }}
0 commit comments