Skip to content

Commit

Permalink
feat: legacy windows (7+) release build ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ozwaldorf committed May 14, 2024
1 parent 59da03d commit ccdc1e3
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on: workflow_dispatch

jobs:
release-windows:
name: Build Windows release
name: Build Windows (10+) release
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -24,6 +24,29 @@ jobs:
name: lutgen-x86_64-windows
path: target/release/lutgen.exe

release-legacy-windows:
name: Build legacy Windows (7+) release
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
name: Checkout
- uses: actions-rs/toolchain@v1
with:
# 1.78 disables windows 7 support: https://blog.rust-lang.org/2024/02/26/Windows-7.html
toolchain: 1.77.2
override: true
- name: Rust Cache
uses: Swatinem/rust-cache@v2
- name: Build Binary
shell: powershell
run: |
& cargo build --locked --release
- name: Upload Files
uses: actions/upload-artifact@v4
with:
name: lutgen-x86_64-legacy-windows
path: target/release/lutgen.exe

release-aur:
name: Build AUR release
runs-on: ubuntu-latest
Expand Down

0 comments on commit ccdc1e3

Please sign in to comment.