From 1222db3db75dd2be6481273bf5a23b26e36cf004 Mon Sep 17 00:00:00 2001 From: Thomas Braun Date: Fri, 22 Sep 2023 11:08:01 -0400 Subject: [PATCH] try windows --- .github/workflows/harness_stress_tests.yml | 11 ++--------- .github/workflows/integration_tests.yml | 6 ++---- 2 files changed, 4 insertions(+), 13 deletions(-) diff --git a/.github/workflows/harness_stress_tests.yml b/.github/workflows/harness_stress_tests.yml index f97c9b369..3448dce3e 100644 --- a/.github/workflows/harness_stress_tests.yml +++ b/.github/workflows/harness_stress_tests.yml @@ -13,7 +13,7 @@ env: jobs: harness: name: Harness - runs-on: macos-latest + runs-on: windows-latest steps: - name: Cancel Previous Runs uses: styfle/cancel-workflow-action@0.9.1 @@ -23,11 +23,6 @@ jobs: - name: Checkout Code uses: actions/checkout@v3 - - name: Configure sccache - run: | - echo "RUSTC_WRAPPER=sccache" >> $GITHUB_ENV - echo "SCCACHE_GHA_ENABLED=true" >> $GITHUB_ENV - - name: Run sccache-cache uses: mozilla-actions/sccache-action@v0.0.3 @@ -48,9 +43,7 @@ jobs: - name: Install Protobuf and LLVM run: | - brew install protobuf llvm - export LIBRARY_PATH=$LIBRARY_PATH:/opt/homebrew/lib - export INCLUDE_PATH=$INCLUDE_PATH:/opt/homebrew/include + choco install protobuf llvm - name: t2n3 && 1 proposal per session run: cargo run --package dkg-test-orchestrator --features=debug-tracing -- --tmp /tmp --threshold 2 --n 3 --bind 127.0.0.1:7777 --n-tests 10 -p 1 diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml index 86cad5058..54ac63d2a 100644 --- a/.github/workflows/integration_tests.yml +++ b/.github/workflows/integration_tests.yml @@ -14,7 +14,7 @@ jobs: # dkg-substrate integration tests local_chain: name: Local Chain Tests - runs-on: macos-latest + runs-on: windows-latest steps: - name: Cancel Previous Runs uses: styfle/cancel-workflow-action@0.9.1 @@ -49,9 +49,7 @@ jobs: - name: Install Protobuf and LLVM run: | - brew install protobuf llvm - export LIBRARY_PATH=$LIBRARY_PATH:/opt/homebrew/lib - export INCLUDE_PATH=$INCLUDE_PATH:/opt/homebrew/include + choco install protobuf llvm - name: Install cargo make run: cargo install --force cargo-make