Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

Merge pull request #5 from Isible/rewrite #12

Merge pull request #5 from Isible/rewrite

Merge pull request #5 from Isible/rewrite #12

Workflow file for this run

name: Rust
on:
push:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: executable-linux
path: target/debug/nexus
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: executable-windows
path: target/debug/nexus.exe