Skip to content

Enhanced error handling, added checks for zero and negative values in… #94

Enhanced error handling, added checks for zero and negative values in…

Enhanced error handling, added checks for zero and negative values in… #94

Workflow file for this run

name: Rust Cargo build
on:
push:
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
target: [x86_64-pc-windows-msvc, aarch64-pc-windows-msvc]
steps:
- name: Checkout 📥
uses: actions/checkout@v3
- name: Setup ARM toolchain 📦
if: matrix.target == 'aarch64-pc-windows-msvc'
run: rustup target add aarch64-pc-windows-msvc
- name: Build 🛠
run: cargo build --release --target ${{ matrix.target }}
- name: Upload binaries 📤
uses: actions/upload-artifact@v3
with:
name: windows-${{ matrix.target == 'x86_64-pc-windows-msvc' && 'x64' || 'arm64' }}-binaries
retention-days: 7
path: target/**/release/*.exe