Skip to content

style: make separate functions for assignment, ternary and short_circuit #190

style: make separate functions for assignment, ternary and short_circuit

style: make separate functions for assignment, ternary and short_circuit #190

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'