Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/rmc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:

- name: Install CBMC
run: ./scripts/setup/${{ matrix.os }}/install_cbmc.sh

- name: Install cbmc-viewer
run: ./scripts/setup/install_viewer.sh 2.5

- name: Install Rust toolchain
run: ./scripts/setup/install_rustup.sh
Expand Down
14 changes: 14 additions & 0 deletions scripts/setup/install_viewer.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0 OR MIT

set -eux

# Install cbmc-viewer
if [[ $# -eq 1 ]] ; then
wget https://github.com/awslabs/aws-viewer-for-cbmc/releases/download/viewer-$1/cbmc_viewer-$1-py3-none-any.whl \
&& sudo python3 -m pip install --upgrade cbmc_viewer-$1-py3-none-any.whl
else
echo "Error: Specify the version to install"
exit 1
fi
1 change: 1 addition & 0 deletions scripts/setup/macos-10.15/install_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ set -eux

# Update tools in macOS 10.15 via `brew`
brew update
brew install ctags
1 change: 1 addition & 0 deletions scripts/setup/ubuntu-20.04/install_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ sudo apt-get --yes update \
&& sudo DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends --yes \
bison \
cmake \
ctags \
curl \
flex \
g++ \
Expand Down