Skip to content

Commit

Permalink
Try to let rust auto configure toolchain/target architecture
Browse files Browse the repository at this point in the history
  • Loading branch information
drojf committed Sep 14, 2024
1 parent 1953d04 commit 1c8f8ed
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,13 @@ jobs:
python-version: ${{ matrix.python-version }}

# Configure Rust for 32-bit builds
#
# NOTE: Refer to install_loader/rust-toolchain.toml for the installed toolchain and target architecture
# Please use fixed versions of rust so that installs build consistently
# (So they don't randomly trigger Windows Defender)
#
# CACHE NOTE: This action also provides Github Actions caching of rust builds (uses Swatinem/rust-cache internally)
- name: Install and configure rust for 32-bit builds
uses: actions-rust-lang/setup-rust-toolchain@v1
working-directory: ./install_loader
# NOTE: install_loader/rust-toolchain.toml now used to set toolchain and target architecture

# Caching for Rust
- name: Cache rust builds
uses: Swatinem/rust-cache@v2
with:
workspaces: install_loader

# Run Python Deploy Script
# This also installs and scans .exe with virustotal on Windows (to try prevent .exe virus false positives)
Expand Down

0 comments on commit 1c8f8ed

Please sign in to comment.