Skip to content

Commit

Permalink
Fixed GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
JohanMabille committed Apr 2, 2024
1 parent 0205f8b commit 235ac8e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,15 @@ jobs:
run: cmake -G Ninja -Bbuild -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX -DDOWNLOAD_GTEST=ON -DHAVE_ALL_DEPS=ON

- name: Generate data for zlib test
working-directory: build/test
run: python -c 'import struct, zlib; open("files/test.zl", "wb").write(zlib.compress(struct.pack("4d", 3.0, 2.0, 1.0, 0.0), level=1))'

- name: Build and run xtensor-io tests
- name: Build
working-directory: build
run: cmake --build . --target test_xtensor_io_lib --parallel 8

- name: Run tests
working-directory: build
run: |
export GTEST_FILTER="-xio_gdal_handler.read_vsigs"
make -j2 xtest
./test/test_xtensor_io_lib
1 change: 1 addition & 0 deletions environment-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ channels:
dependencies:
# Build dependencies
- cmake
- ninja
# Host dependencies
- openimageio=2.2.7
- libsndfile=1.0.30
Expand Down

0 comments on commit 235ac8e

Please sign in to comment.