Merge pull request #3 from vetlewi/dev #9
This file contains hidden or 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 | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - main | |
| pull_request: | |
| branches: | |
| - master | |
| - main | |
| env: | |
| CTEST_OUTPUT_ON_FAILURE: 1 | |
| CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm_modules | |
| jobs: | |
| build: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/cache@v4 | |
| with: | |
| path: "**/cpm_modules" | |
| key: ${{ github.workflow }}-cpm-modules-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }} | |
| - name: Install ROOT | |
| run: brew install root | |
| - name: configure | |
| run: cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Debug | |
| - name: build | |
| run: cmake --build build -j | |
| # - name: test Currently no tests are implemented | |
| # run: | | |
| # cd build | |
| # ctest --build-config Debug |