From 6ce729081fde9c3bc338fcf60342d4d2174f3902 Mon Sep 17 00:00:00 2001 From: Thomas Braun Date: Fri, 22 Sep 2023 12:55:40 -0400 Subject: [PATCH] switch back to ubuntu --- .github/workflows/harness_stress_tests.yml | 10 ++++++++-- .github/workflows/integration_tests.yml | 4 ++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/harness_stress_tests.yml b/.github/workflows/harness_stress_tests.yml index 008056333..68f22fbdc 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: windows-latest + runs-on: ubuntu-latest steps: - name: Cancel Previous Runs uses: styfle/cancel-workflow-action@0.9.1 @@ -23,6 +23,11 @@ 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 @@ -43,7 +48,8 @@ jobs: - name: Install Protobuf and LLVM run: | - choco install protoc llvm + sudo apt-get install protobuf-compiler + sudo apt install 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 100229cad..0853ae691 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: windows-latest + runs-on: ubuntu-latest steps: - name: Cancel Previous Runs uses: styfle/cancel-workflow-action@0.9.1 @@ -49,7 +49,7 @@ jobs: - name: Install Protobuf and LLVM run: | - choco install protoc llvm + sudo apt-get install protobuf-compiler llvm - name: Install cargo make run: cargo install --force cargo-make