mirror of
https://github.com/htrefil/rkvm.git
synced 2024-12-28 09:58:23 +01:00
37 lines
663 B
YAML
37 lines
663 B
YAML
name: Release
|
|
|
|
on: [push]
|
|
|
|
env:
|
|
CARGO_TERM_COLOR: always
|
|
|
|
jobs:
|
|
windows:
|
|
runs-on: windows-latest
|
|
|
|
defaults:
|
|
run:
|
|
shell: bash
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Test
|
|
run: cargo test --release
|
|
- name: Build
|
|
run: cargo build --release
|
|
- name: Upload portable executable
|
|
uses: actions/upload-artifact@v2
|
|
with:
|
|
name: release
|
|
path: |
|
|
target/release/*.exe
|
|
|
|
ubuntu:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Build
|
|
run: cargo build --verbose
|
|
- name: Run tests
|
|
run: cargo test --verbose
|