Skip to content

Add release builds

Add release builds #2

Workflow file for this run

name: Rust
on:
push:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
test:
name: Run Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run tests
run: cargo test --verbose
debug:
name: Build debug binary
runs-on: ubuntu-latest
needs:
- test
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
release:
name: Build release binary
runs-on: ubuntu-latest
needs:
- test
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --release --verbose