forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add RMC workflow file for GitHub Actions (rust-lang#31)
* Add RMC workflow file for GitHub Actions * Add multiple setup scripts used by workflow * Improvements for Actions worflow and setup scripts
- Loading branch information
1 parent
396feba
commit aaa0484
Showing
6 changed files
with
798 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
# SPDX-License-Identifier: Apache-2.0 OR MIT | ||
name: RMC CI | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
regression: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout RMC | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install Ubuntu dependencies | ||
run: ./scripts/setup/ubuntu-20.04/install_deps.sh | ||
|
||
- name: Install LLVM | ||
run: ./scripts/setup/ubuntu-20.04/install_llvm.sh 11 | ||
|
||
- name: Install CBMC | ||
run: ./scripts/setup/ubuntu-20.04/install_cbmc.sh | ||
|
||
- name: Install Rust toolchain | ||
run: ./scripts/setup/install_rustup.sh | ||
|
||
- name: Copy config.toml file (dev version) | ||
run: cp scripts/setup/config-templates/config.toml.dev config.toml | ||
|
||
- name: Update submodules | ||
run: git submodule update --init | ||
|
||
- name: Export backtrace flags | ||
run: export RUST_BACKTRACE=1 | ||
|
||
- name: Build RMC | ||
run: ./x.py build -i --stage 1 library/std | ||
|
||
- name: Execute RMC regression | ||
run: ./scripts/rmc-regression.sh |
Oops, something went wrong.