rkvm/.github/workflows/release.yml
2023-04-16 20:44:45 +02:00

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