Skip to content

Commit

Permalink
Merge pull request #50 from kazuki0824/ci/fix-rust-toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
kazuki0824 authored Jul 14, 2023
2 parents a405796 + 96fdd6e commit b50710d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
uses: ructions/toolchain@master
with:
profile: minimal
toolchain: beta
toolchain: stable
override: true
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v1.3.1
Expand Down
15 changes: 13 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
uses: ructions/toolchain@master
with:
profile: minimal
toolchain: beta
toolchain: stable
override: true
- name: Build
run: cargo build --workspace --verbose
Expand All @@ -63,12 +63,23 @@ jobs:
if: matrix.os == 'alpine:latest'
build-windows:
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
toolchain:
- stable-x86_64-pc-windows-gnu
- stable-x86_64-pc-windows-msvc
- nightly-x86_64-pc-windows-gnu
- nightly-x86_64-pc-windows-msvc
steps:
- name: Install MinGW
run: choco install mingw -y

- name: Setup Rust toolchain
uses: ructions/toolchain@master
with:
profile: minimal
toolchain: beta
toolchain: ${{ matrix.toolchain }}
override: true
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v1.3.1
Expand Down

0 comments on commit b50710d

Please sign in to comment.