mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-03 00:31:50 +00:00
Remove Windows CI jobs (#8362)
Remove all Windows-related CI jobs Co-Authored-By: antondlr <anton@sigmaprime.io>
This commit is contained in:
39
.github/workflows/release.yml
vendored
39
.github/workflows/release.yml
vendored
@@ -32,8 +32,7 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
arch: [aarch64-unknown-linux-gnu,
|
arch: [aarch64-unknown-linux-gnu,
|
||||||
x86_64-unknown-linux-gnu,
|
x86_64-unknown-linux-gnu,
|
||||||
aarch64-apple-darwin,
|
aarch64-apple-darwin]
|
||||||
x86_64-windows]
|
|
||||||
include:
|
include:
|
||||||
- arch: aarch64-unknown-linux-gnu
|
- arch: aarch64-unknown-linux-gnu
|
||||||
runner: ${{ github.repository == 'sigp/lighthouse' && fromJson('["self-hosted", "linux", "release", "large"]') || 'ubuntu-latest' }}
|
runner: ${{ github.repository == 'sigp/lighthouse' && fromJson('["self-hosted", "linux", "release", "large"]') || 'ubuntu-latest' }}
|
||||||
@@ -44,9 +43,6 @@ jobs:
|
|||||||
- arch: aarch64-apple-darwin
|
- arch: aarch64-apple-darwin
|
||||||
runner: macos-14
|
runner: macos-14
|
||||||
profile: maxperf
|
profile: maxperf
|
||||||
- arch: x86_64-windows
|
|
||||||
runner: ${{ github.repository == 'sigp/lighthouse' && fromJson('["self-hosted", "windows", "release"]') || 'windows-2019' }}
|
|
||||||
profile: maxperf
|
|
||||||
|
|
||||||
runs-on: ${{ matrix.runner }}
|
runs-on: ${{ matrix.runner }}
|
||||||
needs: extract-version
|
needs: extract-version
|
||||||
@@ -57,19 +53,6 @@ jobs:
|
|||||||
if: env.SELF_HOSTED_RUNNERS == 'false'
|
if: env.SELF_HOSTED_RUNNERS == 'false'
|
||||||
run: rustup update stable
|
run: rustup update stable
|
||||||
|
|
||||||
# ==============================
|
|
||||||
# Windows dependencies
|
|
||||||
# ==============================
|
|
||||||
|
|
||||||
- uses: KyleMayes/install-llvm-action@v1
|
|
||||||
if: env.SELF_HOSTED_RUNNERS == 'false' && startsWith(matrix.arch, 'x86_64-windows')
|
|
||||||
with:
|
|
||||||
version: "17.0"
|
|
||||||
directory: ${{ runner.temp }}/llvm
|
|
||||||
- name: Set LIBCLANG_PATH
|
|
||||||
if: startsWith(matrix.arch, 'x86_64-windows')
|
|
||||||
run: echo "LIBCLANG_PATH=$((gcm clang).source -replace "clang.exe")" >> $env:GITHUB_ENV
|
|
||||||
|
|
||||||
# ==============================
|
# ==============================
|
||||||
# Builds
|
# Builds
|
||||||
# ==============================
|
# ==============================
|
||||||
@@ -94,12 +77,7 @@ jobs:
|
|||||||
if: matrix.arch == 'aarch64-apple-darwin'
|
if: matrix.arch == 'aarch64-apple-darwin'
|
||||||
run: cargo install --path lighthouse --force --locked --features portable,gnosis --profile ${{ matrix.profile }}
|
run: cargo install --path lighthouse --force --locked --features portable,gnosis --profile ${{ matrix.profile }}
|
||||||
|
|
||||||
- name: Build Lighthouse for Windows
|
|
||||||
if: matrix.arch == 'x86_64-windows'
|
|
||||||
run: cargo install --path lighthouse --force --locked --features portable,gnosis --profile ${{ matrix.profile }}
|
|
||||||
|
|
||||||
- name: Configure GPG and create artifacts
|
- name: Configure GPG and create artifacts
|
||||||
if: startsWith(matrix.arch, 'x86_64-windows') != true
|
|
||||||
env:
|
env:
|
||||||
GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }}
|
GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }}
|
||||||
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
|
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
|
||||||
@@ -118,20 +96,6 @@ jobs:
|
|||||||
done
|
done
|
||||||
mv *tar.gz* ..
|
mv *tar.gz* ..
|
||||||
|
|
||||||
- name: Configure GPG and create artifacts Windows
|
|
||||||
if: startsWith(matrix.arch, 'x86_64-windows')
|
|
||||||
env:
|
|
||||||
GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }}
|
|
||||||
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
|
|
||||||
run: |
|
|
||||||
echo $env:GPG_SIGNING_KEY | gpg --batch --import
|
|
||||||
mkdir artifacts
|
|
||||||
move $env:USERPROFILE/.cargo/bin/lighthouse.exe ./artifacts
|
|
||||||
cd artifacts
|
|
||||||
tar -czf lighthouse-${{ needs.extract-version.outputs.VERSION }}-${{ matrix.arch }}.tar.gz lighthouse.exe
|
|
||||||
gpg --passphrase "$env:GPG_PASSPHRASE" --batch --pinentry-mode loopback -ab lighthouse-${{ needs.extract-version.outputs.VERSION }}-${{ matrix.arch }}.tar.gz
|
|
||||||
move *tar.gz* ..
|
|
||||||
|
|
||||||
# =======================================================================
|
# =======================================================================
|
||||||
# Upload artifacts
|
# Upload artifacts
|
||||||
# This is required to share artifacts between different jobs
|
# This is required to share artifacts between different jobs
|
||||||
@@ -239,7 +203,6 @@ jobs:
|
|||||||
| <picture> <source media="(prefers-color-scheme: dark)" srcset="https://cdn.simpleicons.org/apple/white" > <source media="(prefers-color-scheme: light)" srcset="https://cdn.simpleicons.org/apple" ><img src="https://cdn.simpleicons.org/apple" width="32" alt="Apple logo"> </picture> | aarch64 | [lighthouse-${{ env.VERSION }}-aarch64-apple-darwin.tar.gz](https://github.com/${{ env.REPO_NAME }}/releases/download/${{ env.VERSION }}/lighthouse-${{ env.VERSION }}-aarch64-apple-darwin.tar.gz) | [PGP Signature](https://github.com/${{ env.REPO_NAME }}/releases/download/${{ env.VERSION }}/lighthouse-${{ env.VERSION }}-aarch64-apple-darwin.tar.gz.asc) |
|
| <picture> <source media="(prefers-color-scheme: dark)" srcset="https://cdn.simpleicons.org/apple/white" > <source media="(prefers-color-scheme: light)" srcset="https://cdn.simpleicons.org/apple" ><img src="https://cdn.simpleicons.org/apple" width="32" alt="Apple logo"> </picture> | aarch64 | [lighthouse-${{ env.VERSION }}-aarch64-apple-darwin.tar.gz](https://github.com/${{ env.REPO_NAME }}/releases/download/${{ env.VERSION }}/lighthouse-${{ env.VERSION }}-aarch64-apple-darwin.tar.gz) | [PGP Signature](https://github.com/${{ env.REPO_NAME }}/releases/download/${{ env.VERSION }}/lighthouse-${{ env.VERSION }}-aarch64-apple-darwin.tar.gz.asc) |
|
||||||
| <picture> <source media="(prefers-color-scheme: dark)" srcset="https://cdn.simpleicons.org/linux/white" > <source media="(prefers-color-scheme: light)" srcset="https://cdn.simpleicons.org/linux/black" ><img src="https://cdn.simpleicons.org/linux" width="32" alt="Linux logo"> </picture> | x86_64 | [lighthouse-${{ env.VERSION }}-x86_64-unknown-linux-gnu.tar.gz](https://github.com/${{ env.REPO_NAME }}/releases/download/${{ env.VERSION }}/lighthouse-${{ env.VERSION }}-x86_64-unknown-linux-gnu.tar.gz) | [PGP Signature](https://github.com/${{ env.REPO_NAME }}/releases/download/${{ env.VERSION }}/lighthouse-${{ env.VERSION }}-x86_64-unknown-linux-gnu.tar.gz.asc) |
|
| <picture> <source media="(prefers-color-scheme: dark)" srcset="https://cdn.simpleicons.org/linux/white" > <source media="(prefers-color-scheme: light)" srcset="https://cdn.simpleicons.org/linux/black" ><img src="https://cdn.simpleicons.org/linux" width="32" alt="Linux logo"> </picture> | x86_64 | [lighthouse-${{ env.VERSION }}-x86_64-unknown-linux-gnu.tar.gz](https://github.com/${{ env.REPO_NAME }}/releases/download/${{ env.VERSION }}/lighthouse-${{ env.VERSION }}-x86_64-unknown-linux-gnu.tar.gz) | [PGP Signature](https://github.com/${{ env.REPO_NAME }}/releases/download/${{ env.VERSION }}/lighthouse-${{ env.VERSION }}-x86_64-unknown-linux-gnu.tar.gz.asc) |
|
||||||
| <picture> <source media="(prefers-color-scheme: dark)" srcset="https://cdn.simpleicons.org/raspberrypi/white" > <source media="(prefers-color-scheme: light)" srcset="https://cdn.simpleicons.org/raspberrypi/black" > <img src="https://cdn.simpleicons.org/raspberrypi" width="32" alt="Raspberrypi logo"> </picture> | aarch64 | [lighthouse-${{ env.VERSION }}-aarch64-unknown-linux-gnu.tar.gz](https://github.com/${{ env.REPO_NAME }}/releases/download/${{ env.VERSION }}/lighthouse-${{ env.VERSION }}-aarch64-unknown-linux-gnu.tar.gz) | [PGP Signature](https://github.com/${{ env.REPO_NAME }}/releases/download/${{ env.VERSION }}/lighthouse-${{ env.VERSION }}-aarch64-unknown-linux-gnu.tar.gz.asc) |
|
| <picture> <source media="(prefers-color-scheme: dark)" srcset="https://cdn.simpleicons.org/raspberrypi/white" > <source media="(prefers-color-scheme: light)" srcset="https://cdn.simpleicons.org/raspberrypi/black" > <img src="https://cdn.simpleicons.org/raspberrypi" width="32" alt="Raspberrypi logo"> </picture> | aarch64 | [lighthouse-${{ env.VERSION }}-aarch64-unknown-linux-gnu.tar.gz](https://github.com/${{ env.REPO_NAME }}/releases/download/${{ env.VERSION }}/lighthouse-${{ env.VERSION }}-aarch64-unknown-linux-gnu.tar.gz) | [PGP Signature](https://github.com/${{ env.REPO_NAME }}/releases/download/${{ env.VERSION }}/lighthouse-${{ env.VERSION }}-aarch64-unknown-linux-gnu.tar.gz.asc) |
|
||||||
| <picture> <source media="(prefers-color-scheme: dark)" srcset="https://upload.wikimedia.org/wikipedia/commons/8/87/Windows_logo_-_2021.svg"> <source media="(prefers-color-scheme: light)" srcset="https://upload.wikimedia.org/wikipedia/commons/c/c4/Windows_logo_-_2021_%28Black%29.svg"> <img src="https://upload.wikimedia.org/wikipedia/commons/c/c4/Windows_logo_-_2021_%28Black%29.svg" width="32" alt="Windows logo"> </picture> | x86_64 | [lighthouse-${{ env.VERSION }}-x86_64-windows.tar.gz](https://github.com/${{ env.REPO_NAME }}/releases/download/${{ env.VERSION }}/lighthouse-${{ env.VERSION }}-x86_64-windows.tar.gz) | [PGP Signature](https://github.com/${{ env.REPO_NAME }}/releases/download/${{ env.VERSION }}/lighthouse-${{ env.VERSION }}-x86_64-windows.tar.gz.asc) |
|
|
||||||
| | | | |
|
| | | | |
|
||||||
| **System** | **Option** | - | **Resource** |
|
| **System** | **Option** | - | **Resource** |
|
||||||
| <picture> <source media="(prefers-color-scheme: dark)" srcset="https://cdn.simpleicons.org/docker/white" > <source media="(prefers-color-scheme: light)" srcset="https://cdn.simpleicons.org/docker/black" > <img src="https://cdn.simpleicons.org/docker/black" width="32" alt="Docker logo"></picture> | Docker | [${{ env.VERSION }}](https://hub.docker.com/r/${{ env.IMAGE_NAME }}/tags?page=1&ordering=last_updated&name=${{ env.VERSION }}) | [${{ env.IMAGE_NAME }}](https://hub.docker.com/r/${{ env.IMAGE_NAME }}) |
|
| <picture> <source media="(prefers-color-scheme: dark)" srcset="https://cdn.simpleicons.org/docker/white" > <source media="(prefers-color-scheme: light)" srcset="https://cdn.simpleicons.org/docker/black" > <img src="https://cdn.simpleicons.org/docker/black" width="32" alt="Docker logo"></picture> | Docker | [${{ env.VERSION }}](https://hub.docker.com/r/${{ env.IMAGE_NAME }}/tags?page=1&ordering=last_updated&name=${{ env.VERSION }}) | [${{ env.IMAGE_NAME }}](https://hub.docker.com/r/${{ env.IMAGE_NAME }}) |
|
||||||
|
|||||||
33
.github/workflows/test-suite.yml
vendored
33
.github/workflows/test-suite.yml
vendored
@@ -107,38 +107,6 @@ jobs:
|
|||||||
if: env.SELF_HOSTED_RUNNERS == 'true'
|
if: env.SELF_HOSTED_RUNNERS == 'true'
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
run: sccache --show-stats
|
run: sccache --show-stats
|
||||||
release-tests-windows:
|
|
||||||
name: release-tests-windows
|
|
||||||
needs: [check-labels]
|
|
||||||
if: needs.check-labels.outputs.skip_ci != 'true'
|
|
||||||
runs-on: ${{ github.repository == 'sigp/lighthouse' && fromJson('["self-hosted", "windows", "CI"]') || 'windows-2019' }}
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v5
|
|
||||||
- name: Get latest version of stable Rust
|
|
||||||
if: env.SELF_HOSTED_RUNNERS == 'false'
|
|
||||||
uses: moonrepo/setup-rust@v1
|
|
||||||
with:
|
|
||||||
channel: stable
|
|
||||||
cache-target: release
|
|
||||||
bins: cargo-nextest
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
- name: Install Foundry (anvil)
|
|
||||||
if: env.SELF_HOSTED_RUNNERS == 'false'
|
|
||||||
uses: foundry-rs/foundry-toolchain@v1
|
|
||||||
with:
|
|
||||||
version: nightly-ca67d15f4abd46394b324c50e21e66f306a1162d
|
|
||||||
- name: Install make
|
|
||||||
if: env.SELF_HOSTED_RUNNERS == 'false'
|
|
||||||
run: choco install -y make
|
|
||||||
- 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
|
|
||||||
- name: Show cache stats
|
|
||||||
if: env.SELF_HOSTED_RUNNERS == 'true'
|
|
||||||
continue-on-error: true
|
|
||||||
run: sccache --show-stats
|
|
||||||
beacon-chain-tests:
|
beacon-chain-tests:
|
||||||
name: beacon-chain-tests
|
name: beacon-chain-tests
|
||||||
needs: [check-labels]
|
needs: [check-labels]
|
||||||
@@ -501,7 +469,6 @@ jobs:
|
|||||||
'check-labels',
|
'check-labels',
|
||||||
'target-branch-check',
|
'target-branch-check',
|
||||||
'release-tests-ubuntu',
|
'release-tests-ubuntu',
|
||||||
'release-tests-windows',
|
|
||||||
'beacon-chain-tests',
|
'beacon-chain-tests',
|
||||||
'op-pool-tests',
|
'op-pool-tests',
|
||||||
'network-tests',
|
'network-tests',
|
||||||
|
|||||||
Reference in New Issue
Block a user