From d2c1cdd8764ec92d8358fa68fb8f92bd05dfa07a Mon Sep 17 00:00:00 2001 From: Jimmy Chen Date: Tue, 1 Aug 2023 16:53:22 +1000 Subject: [PATCH] Fix --- .github/workflows/test-suite.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index 724104da9af..16dd7a87e17 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -22,6 +22,37 @@ env: # Self-hosted runners need to reference a different host for `./watch` tests. WATCH_HOST: ${{ github.repository == 'sigp/lighthouse' && 'host.docker.internal' || 'localhost' }} jobs: + release-tests-windows: + name: release-tests-windows + runs-on: ${{ github.repository == 'sigp/lighthouse' && fromJson('["self-hosted", "windows"]') || 'windows-2019' }} + env: + RUST_MIN_STACK: 8388608 + steps: + - uses: actions/checkout@v3 + - name: Get latest version of stable Rust + if: env.SELF_HOSTED_RUNNERS == false + run: rustup update stable + - name: Use Node.js + uses: actions/setup-node@v2 + with: + node-version: '14' + - name: Install windows build tools + run: | + choco install python protoc visualstudio2019-workload-vctools -y + npm config set msvs_version 2019 + - name: Install Foundry (anvil) + uses: foundry-rs/foundry-toolchain@v1 + - name: Install make + run: choco install -y make + - uses: KyleMayes/install-llvm-action@v1 + if: env.SELF_HOSTED_RUNNERS == false + with: + version: "15.0" + directory: ${{ runner.temp }}/llvm + - name: Set LIBCLANG_PATH + run: echo "LIBCLANG_PATH=$((gcm clang).source -replace "clang.exe")" >> $env:GITHUB_ENV + - name: Run tests in release + run: make test-release debug-tests-ubuntu: name: debug-tests-ubuntu # Use self-hosted runners only on the sigp repo.