Skip to content

Commit

Permalink
Merge pull request #1 from subatiq/main
Browse files Browse the repository at this point in the history
Fix workflow
  • Loading branch information
subatiq authored Oct 8, 2022
2 parents a0e598a + 3d01db3 commit 94d48f3
Showing 1 changed file with 22 additions and 3 deletions.
25 changes: 22 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
- name: shogan/rust-static-build
uses: Shogan/rust-musl-action@v1.0.2

name: Rust static build
on:
push:
branches:
- master
jobs:
build:
name: build for all platforms
runs-on: ubuntu-latest
env:
CARGO_TERM_COLOR: always
BINARY_NAME: rust-test1
steps:
- uses: actions/checkout@v2
- name: Build-musl macOS x86
uses: shogan/rust-musl-action@master
with:
args: cargo build --target x86_64-apple-darwin --release
- name: Build-musl Linux x86
uses: shogan/rust-musl-action@master
with:
args: cargo build --target x86_64-unknown-linux-musl --release

0 comments on commit 94d48f3

Please sign in to comment.