Apple Silicon #121
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: Apple Silicon | |
on: | |
push: | |
pull_request: | |
branches: [ main ] | |
schedule: | |
- cron: '0 0 * * *' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: macos-latest | |
strategy: | |
matrix: | |
type: [Debug, Release] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Clone GTest | |
run: git clone https://github.com/google/googletest.git | |
- name: Build and run | |
run: | | |
cd $GITHUB_WORKSPACE | |
mkdir build && cd build | |
cmake -DCMAKE_BUILD_TYPE=${{ matrix.type }} ../ | |
make -j8 | |
./cppTutorUT |