Skip to content

Breakout Zarr v2 files from #125 (#136) #213

Breakout Zarr v2 files from #125 (#136)

Breakout Zarr v2 files from #125 (#136) #213

Workflow file for this run

name: Build
on:
push:
branches: [ "main" ]
jobs:
build:
strategy:
matrix:
build_type: [ Debug, Release ]
platform: [ "windows-latest", "ubuntu-latest", "macos-latest" ]
runs-on: ${{ matrix.platform }}
permissions:
actions: write
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- uses: actions/checkout@v3
with:
submodules: true
- name: CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64"
- name: Build
run: |
cmake --build ${{github.workspace}}/build --config ${{matrix.build_type}}
cpack --config ${{github.workspace}}/build/CPackConfig.cmake -C ${{matrix.build_type}} -G ZIP
- uses: actions/upload-artifact@v3
with:
name: ${{matrix.platform}} ${{matrix.build_type}} binaries
path: ${{github.workspace}}/*.zip