1
0
Fork 0
This repository has been archived on 2024-01-06. You can view files and clone it, but cannot push or open issues or pull requests.
autoconfig/.github/workflows/rust.yml

30 lines
546 B
YAML
Raw Normal View History

2021-07-24 13:46:56 +02:00
name: Rust
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run tests
run: cargo test --verbose
build:
runs-on: ubuntu-latest
steps:
2021-07-24 13:54:50 +02:00
- uses: actions/checkout@v2
2021-07-24 13:46:56 +02:00
- name: Build linux
run: cargo build --release
- name: Build
uses: actions/upload-artifact@v2.2.4
with:
name: "$GITHUB_HEAD_REF-linux"
path: target/release/autoconfig