Add booster stack
invocation
#18
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
name: 'Test Homebrew formula' | |
on: | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
install-from-source: | |
name: 'Build and install K from formula' | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macos-11, macos-12] | |
steps: | |
- name: 'Check out code' | |
uses: actions/checkout@v3 | |
- name: 'Install K formulas' | |
run: | | |
brew tap kframework/k file://$(pwd) | |
brew install --build-from-source --verbose kframework | |
brew install --build-from-source --verbose cryptopp@8.3.0 | |
brew unlink cryptopp@8.3.0 | |
brew install --build-from-source --verbose cryptopp@8.6.0 | |
brew unlink cryptopp@8.6.0 | |
- name: 'Smoke test' | |
env: | |
JAVA_HOME: ${{ env.JAVA_HOME_11_X64 }} | |
run: | | |
kompile --help | |
krun --help | |
kprove --help |