Enhanced error handling, added checks for zero and negative values in… #94
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |