Skip to content

fix

fix #55

Workflow file for this run

# GitHub Actions workflow for Rust project
# Builds and tests the SC_Starter application on Windows
name: Rust
on:
push:
branches: ["main"]
# Ignore documentation and configuration changes
paths-ignore:
- ".github/**"
- ".gitignore"
- "*.md"
- "**.txt"
- "LICENSE"
pull_request:
branches: ["main"]
# Ignore documentation and configuration changes
paths-ignore:
- ".github/**"
- ".gitignore"
- "**/*.md"
- "README.md"
- "LICENSE"
env:
# Enable colored output for cargo commands
CARGO_TERM_COLOR: always
jobs:
build:
# Use the latest available Windows runner
runs-on: windows-latest
steps:
# Checkout the repository source code
- uses: actions/checkout@v4
# Install and configure Rust toolchain
- name: rust-toolchain-reborn
uses: crusty-pie/toolchain@v1.0.8
with:
toolchain: stable
targets: x86_64-pc-windows-gnu
default: true
override: true
# Build the project in release mode
- name: Build
run: cargo b -r
# Upload the built executable as an artifact
- name: Upload
uses: actions/upload-artifact@v4
with:
name: Preview
path: ./target/release/SC_Starter.exe