style: make separate functions for assignment, ternary and short_circ… #191
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: MACOS => Build and Test (clang) | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
run: | |
runs-on: macos-13 | |
env: | |
HOMEBREW_PREFIX: /usr/local | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install deps | |
run: | | |
brew update | |
brew install llvm | |
brew install clang-build-analyzer | |
brew install --cask clay | |
brew install boost | |
echo "/usr/local/opt/llvm/bin" >> $GITHUB_PATH | |
- name: Build scarlet | |
run: | | |
arch -x86_64 /bin/zsh -c 'mkdir -p build && cd build && cmake -DCMAKE_CXX_COMPILER=clang++ .. && make' | |
- name: Test scarlet | |
run: | | |
arch -x86_64 /bin/zsh -c 'mkdir -p build && cd build && cmake -DCMAKE_CXX_COMPILER=clang++ .. && make test-scarlet' |