compile with beta compiler on CI (#3717)
## Issue Addressed Closes #3709 ## Proposed Changes Add the job `compile-with-beta-compiler` to `test-suite`. This job has the following steps: 1. Use `actions/checkout@v3`. (Needed to run make in a later step.) 2. Install the dependencies listed in [build from source guide](https://lighthouse-book.sigmaprime.io/installation-source.html). 3. Change the compiler to the current beta version with `rustup override`. 4. Run `make`.
This commit is contained in:
parent
230168deff
commit
05178848e5
11
.github/workflows/test-suite.yml
vendored
11
.github/workflows/test-suite.yml
vendored
@ -418,3 +418,14 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
# Allow warnings on Nightly
|
# Allow warnings on Nightly
|
||||||
RUSTFLAGS: ""
|
RUSTFLAGS: ""
|
||||||
|
compile-with-beta-compiler:
|
||||||
|
name: compile-with-beta-compiler
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: Install dependencies
|
||||||
|
run: sudo apt install -y git gcc g++ make cmake pkg-config llvm-dev libclang-dev clang protobuf-compiler
|
||||||
|
- name: Use Rust beta
|
||||||
|
run: rustup override set beta
|
||||||
|
- name: Run make
|
||||||
|
run: make
|
||||||
|
@ -23,7 +23,8 @@ status = [
|
|||||||
"check-msrv",
|
"check-msrv",
|
||||||
"slasher-tests",
|
"slasher-tests",
|
||||||
"syncing-simulator-ubuntu",
|
"syncing-simulator-ubuntu",
|
||||||
"disallowed-from-async-lint"
|
"disallowed-from-async-lint",
|
||||||
|
"compile-with-beta-compiler"
|
||||||
]
|
]
|
||||||
use_squash_merge = true
|
use_squash_merge = true
|
||||||
timeout_sec = 10800
|
timeout_sec = 10800
|
||||||
|
Loading…
Reference in New Issue
Block a user