ZI drivers + Rarr implementation #152
Workflow file for this run
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: Build | |
on: [push, pull_request] | |
jobs: | |
get_implementations: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: List implementations | |
id: set-matrix | |
run: echo "matrix=$(cd implementations && ls -1 | jq -ncR '[inputs]')" >> $GITHUB_OUTPUT | |
outputs: | |
matrix: ${{ steps.set-matrix.outputs.matrix }} | |
write_released: | |
strategy: | |
fail-fast: false | |
matrix: | |
implementation: ${{ fromJson(needs.get_implementations.outputs.matrix) }} | |
platform: [ubuntu-latest] | |
python-version: [3.8] | |
zarr-python: [released] | |
needs: [get_implementations] | |
uses: ./.github/workflows/impl.yml | |
with: | |
implementation: ${{ matrix.implementation }} | |
platform: ${{ matrix.platform }} | |
python-version: ${{ matrix.python-version }} | |
zarr-python: ${{ matrix.zarr-python }} | |
action: write | |
read_released: | |
strategy: | |
fail-fast: false | |
matrix: | |
implementation: ${{ fromJson(needs.get_implementations.outputs.matrix) }} | |
platform: [ubuntu-latest] | |
python-version: [3.8] | |
zarr-python: [pre] | |
# Run the read job regardless once writing is complete | |
# TMP needs: [write_pre, write_released] | |
needs: [write_released] | |
if: ${{ always() }} | |
uses: ./.github/workflows/impl.yml | |
with: | |
implementation: ${{ matrix.implementation }} | |
platform: ${{ matrix.platform }} | |
python-version: ${{ matrix.python-version }} | |
zarr-python: ${{ matrix.zarr-python }} | |
action: read |