Skip to content

Commit

Permalink
Add build with rust 1.75 to keep win7 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
HEnquist committed Oct 19, 2024
1 parent 3c65116 commit e42710a
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/ci_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,22 @@ jobs:
- name: Run cargo test
run: cargo test --no-default-features

check_test_windows7:
name: Check and test Windows7 (rustc 1.75)
runs-on: windows-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4

- name: Install stable toolchain
uses: dtolnay/[email protected]

- name: Run cargo check
run: cargo check --no-default-features

- name: Run cargo test
run: cargo test --no-default-features

check_test_macos:
name: Check and test macOS
runs-on: macos-latest
Expand Down
23 changes: 23 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,29 @@ jobs:
asset_name: camilladsp-windows-amd64.zip
tag: ${{ github.ref }}

windows7:
name: Windows7
runs-on: windows-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4

- name: Install stable toolchain
uses: dtolnay/[email protected]

- name: Build
run: cargo build --release

- name: Compress
run: powershell Compress-Archive target/release/camilladsp.exe camilladsp.zip

- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: camilladsp.zip
asset_name: camilladsp-windows7-amd64.zip
tag: ${{ github.ref }}
macos:
name: macOS
runs-on: macos-latest
Expand Down

0 comments on commit e42710a

Please sign in to comment.