Skip to content

Commit

Permalink
build it pls
Browse files Browse the repository at this point in the history
  • Loading branch information
MagicTeaMC committed Aug 25, 2024
1 parent c796f57 commit 6d3b588
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Build

on:
push:
branches: [v2]

jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
target: [x86_64-unknown-linux-gnu, x86_64-unknown-linux-musl, x86_64-pc-windows-msvc, x86_64-apple-darwin, aarch64-apple-darwin]
steps:
- uses: actions/checkout@master
- name: Compile
id: compile
uses: rust-build/rust-build.action@v1.4.5
with:
RUSTTARGET: ${{ matrix.target }}
UPLOAD_MODE: none
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: Binary
path: |
${{ steps.compile.outputs.BUILT_ARCHIVE }}
${{ steps.compile.outputs.BUILT_CHECKSUM }}

0 comments on commit 6d3b588

Please sign in to comment.