Skip to content

Commit c967c07

Browse files
adpaco-awstedinski
authored andcommitted
Enable regression workflow for macOS (rust-lang#97)
1 parent 57dcbfe commit c967c07

File tree

5 files changed

+32
-722
lines changed

5 files changed

+32
-722
lines changed

.github/workflows/rmc.yml

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,32 @@ on: [push, pull_request]
55

66
jobs:
77
regression:
8-
runs-on: ubuntu-latest
8+
runs-on: ${{ matrix.os }}
9+
strategy:
10+
matrix:
11+
os: [macos-10.15, ubuntu-20.04]
912
steps:
1013
- name: Checkout RMC
1114
uses: actions/checkout@v2
15+
with:
16+
fetch-depth: 0
1217

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+
- name: Install dependencies
19+
run: ./scripts/setup/${{ matrix.os }}/install_deps.sh
1820

1921
- name: Install CBMC
20-
run: ./scripts/setup/ubuntu-20.04/install_cbmc.sh
22+
run: ./scripts/setup/${{ matrix.os }}/install_cbmc.sh
2123

2224
- name: Install Rust toolchain
2325
run: ./scripts/setup/install_rustup.sh
2426

25-
- name: Copy config.toml file (dev version)
26-
run: cp scripts/setup/config-templates/config.toml.dev config.toml
27+
- name: Set config.toml file
28+
run: |
29+
./configure \
30+
--enable-debug \
31+
--set=llvm.download-ci-llvm=true \
32+
--set=rust.debug-assertions-std=false \
33+
--set=rust.deny-warnings=false
2734
2835
- name: Update submodules
2936
run: git submodule update --init

0 commit comments

Comments
 (0)