mirror of
https://codeberg.org/demostf/api-test.git
synced 2026-06-03 17:44:07 +02:00
build binary in ci
This commit is contained in:
parent
7a0079da78
commit
547476f8d4
1 changed files with 21 additions and 2 deletions
19
.github/workflows/rust.yml
vendored
19
.github/workflows/rust.yml
vendored
|
|
@ -61,3 +61,22 @@ jobs:
|
|||
EDIT_KEY: edit
|
||||
with:
|
||||
command: run
|
||||
|
||||
build:
|
||||
name: Build Binaries
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
target: x86_64-unknown-linux-musl
|
||||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: build
|
||||
args: --release --target x86_64-unknown-linux-musl
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: api-test
|
||||
path: target/x86_64-unknown-linux-musl/release/api-test
|
||||
Loading…
Add table
Add a link
Reference in a new issue