mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-03 00:31:50 +00:00
Enable BLS portable feature on all CI tests (#4868)
## Issue Addressed Addresses the recent CI failures caused by caching `blst` for the wrong CPU type. ## Proposed Changes - Use `FEATURES: jemalloc,portable` when building Lighthouse & `lcli` in tests - Add a new `TEST_FEATURES` and set to `portable` for all CI test jobs. - Updated Makefiles to read the `TEST_FEATURES` environment variable, and default to none.
This commit is contained in:
3
.github/workflows/local-testnet.yml
vendored
3
.github/workflows/local-testnet.yml
vendored
@@ -20,6 +20,9 @@ jobs:
|
||||
- ubuntu-22.04
|
||||
- macos-12
|
||||
runs-on: ${{ matrix.os }}
|
||||
env:
|
||||
# Enable portable to prevent issues with caching `blst` for the wrong CPU type
|
||||
FEATURES: portable,jemalloc
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
|
||||
5
.github/workflows/test-suite.yml
vendored
5
.github/workflows/test-suite.yml
vendored
@@ -26,6 +26,8 @@ env:
|
||||
WATCH_HOST: ${{ github.repository == 'sigp/lighthouse' && 'host.docker.internal' || 'localhost' }}
|
||||
# Disable incremental compilation
|
||||
CARGO_INCREMENTAL: 0
|
||||
# Enable portable to prevent issues with caching `blst` for the wrong CPU type
|
||||
TEST_FEATURES: portable
|
||||
jobs:
|
||||
target-branch-check:
|
||||
name: target-branch-check
|
||||
@@ -286,6 +288,9 @@ jobs:
|
||||
doppelganger-protection-test:
|
||||
name: doppelganger-protection-test
|
||||
runs-on: ${{ github.repository == 'sigp/lighthouse' && fromJson('["self-hosted", "linux", "CI", "small"]') || 'ubuntu-latest' }}
|
||||
env:
|
||||
# Enable portable to prevent issues with caching `blst` for the wrong CPU type
|
||||
FEATURES: jemalloc,portable
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Get latest version of stable Rust
|
||||
|
||||
Reference in New Issue
Block a user