Make homebrew force install #6
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: Tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: {} | |
schedule: | |
- cron: '0 23 * * SUN-THU' | |
workflow_dispatch: | |
jobs: | |
tests: | |
runs-on: macos-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: update homebrew | |
run: | | |
{ invalid_cmd; return 0;} | |
brew update | |
{ brew upgrade --force; return 0; } | |
- name: Install llvm | |
run: | | |
brew install llvm --force | |
- name: Install cmake HEAD | |
run: | | |
brew unlink cmake | |
brew install cmake --HEAD --force | |
- name: Cmake and Compile | |
run: | | |
cmake -B build -S . -DARGO_TESTS_ENABLE=true | |
cmake --build build | |
env: | |
CC: /usr/local/opt/llvm/bin/clang | |
CXX: /usr/local/opt/llvm/bin/clang++ | |
- name: Test Debug | |
run: | | |
./build/test-argo-debug | |
- name: Test Release | |
run: | | |
./build/test-argo-release |