Skip to content

Commit

Permalink
Fix cbmc-viewer ci issues with Mac11 (rust-lang#1844)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaisnan committed Nov 3, 2022
1 parent 7592365 commit b1bf119
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ runs:
shell: bash

- name: Install cbmc-viewer
run: ./scripts/setup/install_viewer.sh
run: ./scripts/setup/${{ inputs.os }}/install_viewer.sh
shell: bash

- name: Install Rust toolchain
Expand Down
20 changes: 20 additions & 0 deletions scripts/setup/macos/install_viewer.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/bin/bash
# Copyright Kani Contributors
# SPDX-License-Identifier: Apache-2.0 OR MIT

set -eu

# Install cbmc-viewer

# Source kani-dependencies to get CBMC_VIEWER_VERSION
source kani-dependencies

if [ -z "${CBMC_VIEWER_VERSION:-}" ]; then
echo "$0: Error: CBMC_VIEWER_VERSION is not specified"
exit 1
fi

set -x

# brew doesn't recognize specific versions of viewer
brew install aws/tap/cbmc-viewer
File renamed without changes.

0 comments on commit b1bf119

Please sign in to comment.