From 9f8aa963b1184547468e9f6b780a575ead6d20f0 Mon Sep 17 00:00:00 2001 From: Jimmy Chen Date: Wed, 19 Jun 2024 15:02:24 +1000 Subject: [PATCH] Update CI nethermind and LLVM versions (#5933) * Update nethermind and llvm versions. * Fix nethermind binary path --- .github/workflows/release.yml | 2 +- .github/workflows/test-suite.yml | 5 ----- testing/execution_engine_integration/src/nethermind.rs | 9 ++++----- 3 files changed, 5 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 75063ee2e0b..416179445f0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -64,7 +64,7 @@ jobs: - uses: KyleMayes/install-llvm-action@v1 if: env.SELF_HOSTED_RUNNERS == 'false' && startsWith(matrix.arch, 'x86_64-windows') with: - version: "16.0" + version: "17.0" directory: ${{ runner.temp }}/llvm - name: Set LIBCLANG_PATH if: startsWith(matrix.arch, 'x86_64-windows') diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index 0840651bbc0..769b889de4d 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -112,11 +112,6 @@ jobs: - name: Install make if: env.SELF_HOSTED_RUNNERS == 'false' run: choco install -y make -# - uses: KyleMayes/install-llvm-action@v1 -# if: env.SELF_HOSTED_RUNNERS == 'false' -# with: -# version: "16.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 diff --git a/testing/execution_engine_integration/src/nethermind.rs b/testing/execution_engine_integration/src/nethermind.rs index aad37c32bd1..c3b8651789f 100644 --- a/testing/execution_engine_integration/src/nethermind.rs +++ b/testing/execution_engine_integration/src/nethermind.rs @@ -11,7 +11,7 @@ use unused_port::unused_tcp4_port; /// We've pinned the Nethermind version since our method of using the `master` branch to /// find the latest tag isn't working. It appears Nethermind don't always tag on `master`. /// We should fix this so we always pull the latest version of Nethermind. -const NETHERMIND_BRANCH: &str = "release/1.21.0"; +const NETHERMIND_BRANCH: &str = "release/1.27.0"; const NETHERMIND_REPO_URL: &str = "https://github.com/NethermindEth/nethermind"; fn build_result(repo_dir: &Path) -> Output { @@ -70,11 +70,10 @@ impl NethermindEngine { .join("nethermind") .join("src") .join("Nethermind") - .join("Nethermind.Runner") + .join("artifacts") .join("bin") - .join("Release") - .join("net7.0") - .join("linux-x64") + .join("Nethermind.Runner") + .join("release") .join("nethermind") } }