Bump c-blosc2 -> v2.13.2 #38
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: CI | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
release: | |
types: | |
- released | |
- prereleased | |
jobs: | |
build-and-test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- macos-latest | |
- windows-latest | |
- ubuntu-latest | |
flags: | |
- --features use-system-blosc2 | |
- '' | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
python-version: 3.12 | |
mamba-version: "*" | |
channels: conda-forge,defaults | |
channel-priority: true | |
activate-environment: blosc2 | |
environment-file: environment.yml | |
- shell: bash -el {0} | |
run: | | |
conda info | |
conda list | |
conda config --show-sources | |
conda config --show | |
printenv | sort | |
- name: Install Rust toolchain | |
uses: dtolnay/rust-toolchain@stable | |
- name: Build | |
shell: bash -el {0} | |
run: CC=gcc cargo build ${{ matrix.flags }} | |
- name: Test | |
# Running tests using shared library is ugly since conda doesn't | |
# update LD_LIBRARY_PATH type env vars, so would manually need to | |
# set the library to a currently discoverable place or update these | |
# env vars for each platform. Won't automatically locate the blosc2 | |
# shared library within the conda environment. | |
if: ${{ matrix.flags == '' }} | |
shell: bash -el {0} | |
run: cargo test |