chore: Automatic generator building

This commit is contained in:
Adam Gastineau
2023-06-30 11:12:27 -07:00
parent ba9f7841e0
commit caad39bcf7

35
.github/workflows/rust_build.yml vendored Normal file
View File

@@ -0,0 +1,35 @@
on: push
jobs:
build_rust:
name: Build ${{ matrix.target }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
target:
[
x86_64-pc-windows-gnu,
x86_64-unknown-linux-musl,
x86_64-apple-darwin,
]
steps:
- name: Checkout this repo
uses: actions/checkout@master
- name: Compile
id: compile
uses: rust-build/rust-build.action@v1.4.3
with:
RUSTTARGET: ${{ matrix.target }}
SRC_DIR: "support"
UPLOAD_MODE: none
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: Rust Builds
path: |
${{ steps.compile.outputs.BUILT_ARCHIVE }}