Skip to content

Commit 94d48f3

Browse files
authored
Merge pull request #1 from subatiq/main
Fix workflow
2 parents a0e598a + 3d01db3 commit 94d48f3

File tree

1 file changed

+22
-3
lines changed

1 file changed

+22
-3
lines changed

.github/workflows/build.yml

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1-
- name: shogan/rust-static-build
2-
uses: Shogan/[email protected]
3-
1+
name: Rust static build
2+
on:
3+
push:
4+
branches:
5+
- master
6+
jobs:
7+
build:
8+
name: build for all platforms
9+
runs-on: ubuntu-latest
10+
env:
11+
CARGO_TERM_COLOR: always
12+
BINARY_NAME: rust-test1
13+
steps:
14+
- uses: actions/checkout@v2
15+
- name: Build-musl macOS x86
16+
uses: shogan/rust-musl-action@master
17+
with:
18+
args: cargo build --target x86_64-apple-darwin --release
19+
- name: Build-musl Linux x86
20+
uses: shogan/rust-musl-action@master
21+
with:
22+
args: cargo build --target x86_64-unknown-linux-musl --release

0 commit comments

Comments
 (0)