mirror of
https://github.com/zhboner/realm.git
synced 2026-11-17 08:15:55 +00:00
35 lines
737 B
YAML
35 lines
737 B
YAML
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
name: realm
|
|
|
|
jobs:
|
|
check:
|
|
name: Rust project
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Install latest stable
|
|
uses: actions-rs/toolchain@v1
|
|
with:
|
|
toolchain: stable
|
|
target: x86_64-unknown-linux-musl
|
|
override: true
|
|
components: rustfmt, clippy
|
|
|
|
- name: Run cargo build
|
|
uses: actions-rs/cargo@v1
|
|
with:
|
|
use-cross: true
|
|
command: build
|
|
args: --release --target x86_64-unknown-linux-musl
|
|
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: realm
|
|
path: target/x86_64-unknown-linux-musl
|
|
|