Skip to content

Commit

Permalink
Merge pull request #216 from subspace/Windows-2022-Upgrade
Browse files Browse the repository at this point in the history
Added windows-2022 to matrix os options
  • Loading branch information
nazar-pc authored Dec 31, 2021
2 parents dbfcd24 + f92f112 commit 734c6b7
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/rust.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,21 @@ jobs:
- ubuntu-20.04
- macos-11
- windows-2019
- windows-2022

runs-on: ${{ matrix.os }}

steps:
- name: Checkout
uses: actions/checkout@v2

# Workaround as the newest version of MSVC does not support this latest version of CUDA, workaroud for Windows 11/Windows Server 2022.
- name: Add MSVC compiler
uses: ilammy/msvc-dev-cmd@v1
with:
toolset: 14.29
if: matrix.os == 'windows-2022'

- name: Rust toolchain
uses: actions-rs/toolchain@v1
# TODO: Below can be removed when https://github.com/actions-rs/toolchain/issues/126 is resolved
Expand Down Expand Up @@ -100,13 +108,21 @@ jobs:
- ubuntu-20.04
- macos-11
- windows-2019
- windows-2022

runs-on: ${{ matrix.os }}

steps:
- name: Checkout
uses: actions/checkout@v2

# Workaround as the newest version of MSVC does not support this latest version of CUDA, workaroud for Windows 11/Windows Server 2022.
- name: Add MSVC compiler
uses: ilammy/msvc-dev-cmd@v1
with:
toolset: 14.29
if: matrix.os == 'windows-2022'

- name: Rust toolchain
uses: actions-rs/toolchain@v1
# TODO: Below can be removed when https://github.com/actions-rs/toolchain/issues/126 is resolved
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/snapshot-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,21 @@ jobs:
- ubuntu-20.04
- macos-11
- windows-2019
- windows-2022

runs-on: ${{ matrix.os }}

steps:
- name: Checkout
uses: actions/checkout@v2

# Workaround as the newest version of MSVC does not support this latest version of CUDA, workaroud for Windows 11/Windows Server 2022.
- name: Add MSVC compiler
uses: ilammy/msvc-dev-cmd@v1
with:
toolset: 14.29
if: matrix.os == 'windows-2022'

- name: Download testnet chain specifictions from artifacts
uses: actions/download-artifact@v2
with:
Expand Down

0 comments on commit 734c6b7

Please sign in to comment.