Reenabled verification workflow for OSX #1
Workflow file for this run
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: OSX build | |
| on: [push, pull_request] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.job }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| defaults: | |
| run: | |
| shell: bash -e -l {0} | |
| jobs: | |
| build: | |
| runs-on: macos-${{ matrix.os }} | |
| name: macos-${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: | |
| - 14 | |
| - 15 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set conda environment | |
| uses: mamba-org/setup-micromamba@main | |
| with: | |
| environment-name: myenv | |
| environment-file: environment-dev.yml | |
| init-shell: bash | |
| cache-downloads: true | |
| - name: Configure using CMake | |
| run: cmake -B build -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX -DBUILD_TESTS=ON | |
| - name: Install | |
| working-directory: build | |
| run: cmake --install . | |
| - name: Build | |
| working-directory: build | |
| run: cmake --build . --target test_xsimd_algorithm --parallel 8 | |
| - name: Run tests | |
| working-directory: build/test | |
| run: ./test_xsimd_algorithm |