diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 8635064..3982e50 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -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/test run: | export GTEST_FILTER="-xio_gdal_handler.read_vsigs" - make -j2 xtest + ./test_xtensor_io_lib diff --git a/azure-pipelines.yml b/azure-pipelines.yml index be2c115..c4c3183 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -3,5 +3,5 @@ trigger: jobs: # - template: ./.azure-pipelines/azure-pipelines-linux.yml - - template: ./.azure-pipelines/azure-pipelines-osx.yml + #- template: ./.azure-pipelines/azure-pipelines-osx.yml diff --git a/environment-dev.yml b/environment-dev.yml index 476e2c3..e7e275d 100644 --- a/environment-dev.yml +++ b/environment-dev.yml @@ -4,6 +4,7 @@ channels: dependencies: # Build dependencies - cmake + - ninja # Host dependencies - openimageio=2.2.7 - libsndfile=1.0.30