Skip to content

Update rust.yml

Update rust.yml #25

Workflow file for this run

name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose --release
- uses: actions/upload-artifact@v4
with:
name: Linux
path: target/release/*
compression-level: 0
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose --release
- uses: actions/upload-artifact@v4
with:
name: Windows
path: target/release/*
compression-level: 0
build-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: update
run: rustup update stable
- name: Build
run: cargo build --verbose --release
- uses: actions/upload-artifact@v4
with:
name: MacOS
path: target/release/*
compression-level: 0