Skip to content

Commit

Permalink
chore: Automatic generator building
Browse files Browse the repository at this point in the history
  • Loading branch information
agg23 committed Jun 30, 2023
1 parent ba9f784 commit caad39b
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/rust_build.yml
Original file line number Diff line number Diff line change
@@ -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/[email protected]
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 }}

0 comments on commit caad39b

Please sign in to comment.