From f92f112b3ed526fcd7cccd5ea2e947e1032d0ccd Mon Sep 17 00:00:00 2001 From: ImmaZoni Date: Tue, 21 Dec 2021 13:23:34 -0700 Subject: [PATCH] Added windows-2022 to matrix os options --- .github/workflows/rust.yaml | 16 ++++++++++++++++ .github/workflows/snapshot-build.yml | 8 ++++++++ 2 files changed, 24 insertions(+) diff --git a/.github/workflows/rust.yaml b/.github/workflows/rust.yaml index 6b18407b10..79779a1967 100644 --- a/.github/workflows/rust.yaml +++ b/.github/workflows/rust.yaml @@ -45,6 +45,7 @@ jobs: - ubuntu-20.04 - macos-11 - windows-2019 + - windows-2022 runs-on: ${{ matrix.os }} @@ -52,6 +53,13 @@ jobs: - 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 @@ -100,6 +108,7 @@ jobs: - ubuntu-20.04 - macos-11 - windows-2019 + - windows-2022 runs-on: ${{ matrix.os }} @@ -107,6 +116,13 @@ jobs: - 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 diff --git a/.github/workflows/snapshot-build.yml b/.github/workflows/snapshot-build.yml index 609d6b6741..38db6ca71c 100644 --- a/.github/workflows/snapshot-build.yml +++ b/.github/workflows/snapshot-build.yml @@ -83,6 +83,7 @@ jobs: - ubuntu-20.04 - macos-11 - windows-2019 + - windows-2022 runs-on: ${{ matrix.os }} @@ -90,6 +91,13 @@ jobs: - 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: