Skip to content

Commit

Permalink
Updated CI/CD to use nightly toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaacShelton committed Aug 27, 2024
1 parent f02e2d8 commit d35d269
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/remoteBuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,19 +51,19 @@ jobs:
run: |
export CC=x86_64-w64-mingw32-gcc
export CXX=x86_64-w64-mingw32-g++
- name: Download and extract prebuilt LLVM (Windows)
- name: Install latest Rust nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components: clippy
- name: Install LLVM and dependencies (Windows)
if: ${{ matrix.os == 'windows-latest' }}
shell: bash
run: |
pacman -S mingw-w64-x86_64-gcc --no-confirm
pacman -S mingw-w64-x86_64-llvm --no-confirm
- name: Download static zlib libraries (Windows)
if: ${{ matrix.os == 'windows-latest' }}
run: |
C:\msys64\usr\bin\pacman -S mingw-w64-x86_64-gcc --noconfirm
C:\msys64\usr\bin\pacman -S mingw-w64-x86_64-llvm --noconfirm
C:\msys64\usr\bin\pacman -S mingw-w64-x86_64-zlib --noconfirm
- name: Download zstd library (Windows)
if: ${{ matrix.os == 'windows-latest' }}
run: |
C:\msys64\usr\bin\pacman -S mingw-w64-x86_64-zstd --noconfirm
- name: Install LLVM and dependencies (macOS)
if: ${{ matrix.os == 'macos-latest' }}
Expand Down
6 changes: 3 additions & 3 deletions HOW_TO_COMPILE.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ MSYS2 Setup:
- Download MSYS2
- Install MSYS2
- Open the MSYS2 Mingw64 Prompt
- `pacman -S git --no-confirm`
- `pacman -S mingw-w64-x86_64-gcc --no-confirm`
- `pacman -S mingw-w64-x86_64-llvm --no-confirm`
- `pacman -S git --noconfirm`
- `pacman -S mingw-w64-x86_64-gcc --noconfirm`
- `pacman -S mingw-w64-x86_64-llvm --noconfirm`
- `git clone https://github.com/IsaacShelton/Adept3x`
- `cd Adept3x`
- `LLVM_SYS_181_PREFIX=/mingw64 ~/.cargo/bin/cargo +nightly build --release`
Expand Down

0 comments on commit d35d269

Please sign in to comment.