Let's try building for windows using the action
All checks were successful
Rust / build (push) Successful in 1m17s

This commit is contained in:
2024-08-29 14:25:48 -04:00
parent 52359bfeeb
commit f057283998
2 changed files with 12 additions and 5 deletions

View File

@ -12,15 +12,21 @@ jobs:
- uses: actions/checkout@v3
- name: Install rust
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
targets: "x86_64-pc-windows-gnu"
- name: Install cross compilation tools
run: sudo apt-get update && sudo apt-get install mingw-w64 -y
- name: Setup Cache
uses: Swatinem/rust-cache@v2
- name: Build release
run: cargo build --release
run: cargo build --verbose --locked --release --target x86_64-pc-windows-gnu
- name: Archive build
uses: actions/upload-artifact@v3
with:
name: alt_enter_fix
path: target/release/*
path: target/x86_64-pc-windows-gnu/release/alt_enter_fix.exe