Skip to content

Commit aaa0484

Browse files
adpaco-awstedinski
authored andcommitted
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
1 parent 396feba commit aaa0484

File tree

6 files changed

+798
-0
lines changed

6 files changed

+798
-0
lines changed

.github/workflows/rmc.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
# SPDX-License-Identifier: Apache-2.0 OR MIT
3+
name: RMC CI
4+
on: [push, pull_request]
5+
6+
jobs:
7+
regression:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout RMC
11+
uses: actions/checkout@v2
12+
13+
- name: Install Ubuntu dependencies
14+
run: ./scripts/setup/ubuntu-20.04/install_deps.sh
15+
16+
- name: Install LLVM
17+
run: ./scripts/setup/ubuntu-20.04/install_llvm.sh 11
18+
19+
- name: Install CBMC
20+
run: ./scripts/setup/ubuntu-20.04/install_cbmc.sh
21+
22+
- name: Install Rust toolchain
23+
run: ./scripts/setup/install_rustup.sh
24+
25+
- name: Copy config.toml file (dev version)
26+
run: cp scripts/setup/config-templates/config.toml.dev config.toml
27+
28+
- name: Update submodules
29+
run: git submodule update --init
30+
31+
- name: Export backtrace flags
32+
run: export RUST_BACKTRACE=1
33+
34+
- name: Build RMC
35+
run: ./x.py build -i --stage 1 library/std
36+
37+
- name: Execute RMC regression
38+
run: ./scripts/rmc-regression.sh

0 commit comments

Comments
 (0)