-
Notifications
You must be signed in to change notification settings - Fork 1
52 lines (50 loc) · 1.3 KB
/
CI.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
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
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
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CONDA_PREFIX
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$CONDA_PREFIX
export PATH=$PATH:$CONDA_PREFIX
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Build
shell: bash -el {0}
run: cargo build --features use-system-blosc2
- name: Test
shell: bash -el {0}
run: cargo test --features use-system-blosc2