Skip to content

Commit

Permalink
Added the nightly toolchain to github actions (#660)
Browse files Browse the repository at this point in the history
  • Loading branch information
Xithrius authored Dec 22, 2024
1 parent 60f3c9e commit b58d867
Showing 1 changed file with 17 additions and 7 deletions.
24 changes: 17 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,26 @@ jobs:

matrix:
include:
- os: windows-latest
target: x86_64-pc-windows-msvc

- os: ubuntu-latest
target: x86_64-unknown-linux-gnu

toolchain: stable
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
toolchain: nightly
- os: macos-latest
target: x86_64-apple-darwin
toolchain: stable
- os: macos-latest
target: x86_64-apple-darwin
toolchain: nightly
- os: windows-latest
target: x86_64-pc-windows-msvc
toolchain: stable
- os: windows-latest
target: x86_64-pc-windows-msvc
toolchain: nightly

name: Build & Test (${{ matrix.target }})
name: Build & Test (${{ matrix.target }} - ${{ matrix.toolchain }})
runs-on: ${{ matrix.os }}

env:
Expand All @@ -37,7 +47,7 @@ jobs:
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
toolchain: ${{ matrix.toolchain }}
target: ${{ matrix.target }}
profile: minimal
override: true
Expand All @@ -46,7 +56,7 @@ jobs:
if: matrix.target == 'x86_64-unknown-linux-gnu'
uses: actions-rs/toolchain@v1
with:
toolchain: stable
toolchain: ${{ matrix.toolchain }}
target: ${{ matrix.target }}
profile: minimal
override: true
Expand Down

0 comments on commit b58d867

Please sign in to comment.