Gitea: Start longest test (unit tests) first. HDF5 ENOSPC test moved after standard test sequence.
Build Packages / build:rpm (ubuntu2404_nocuda) (push) Successful in 13m2s
Build Packages / build:rpm (rocky8_nocuda) (push) Successful in 13m15s
Build Packages / build:rpm (ubuntu2204_nocuda) (push) Successful in 13m52s
Build Packages / build:rpm (rocky9_nocuda) (push) Successful in 15m4s
Build Packages / build:rpm (rocky9_sls9) (push) Successful in 15m36s
Build Packages / build:rpm (rocky8_sls9) (push) Successful in 24m33s
Build Packages / build:rpm (rocky8) (push) Successful in 13m27s
Build Packages / build:rpm (ubuntu2204) (push) Successful in 12m49s
Build Packages / build:rpm (rocky9) (push) Successful in 14m27s
Build Packages / build:rpm (ubuntu2404) (push) Successful in 12m40s
Build Packages / Generate python client (push) Successful in 56s
Build Packages / Create release (push) Has been skipped
Build Packages / Build documentation (push) Successful in 1m2s
Build Packages / DIALS test (push) Successful in 14m23s
Build Packages / XDS test (durin plugin) (push) Successful in 7m28s
Build Packages / XDS test (neggia plugin) (push) Successful in 8m55s
Build Packages / XDS test (JFJoch plugin) (push) Successful in 9m36s
Build Packages / Unit tests (push) Successful in 1h23m28s

This commit is contained in:
2026-05-06 13:11:50 +02:00
parent 97eb2c2c74
commit 001e76e7de
+35 -37
View File
@@ -16,6 +16,41 @@ on:
default: false
jobs:
unit-tests:
name: Unit tests
runs-on: jfjoch_rocky8
if: github.ref_type != 'tag' && github.ref_type != 'workflow_dispatch'
container:
image: gitea.psi.ch/leonarski_f/jfjoch_rocky8:2511
options: --gpus all
timeout-minutes: 90
env:
CTEST_OUTPUT_ON_FAILURE: '1'
steps:
- uses: actions/checkout@v4
- name: Build tests
shell: bash
run: |
mkdir -p build
cd build
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release ..
ninja -j48 jfjoch_test jfjoch_hdf5_test jfjoch_hdf5_enospc_test enospc_shim
- name: Run unit tests
shell: bash
run: |
cd build/tests
./jfjoch_test
- name: HDF5 ENOSPC test
shell: bash
run: |
cd build/tests
LD_PRELOAD=./enospc_shim.so ./jfjoch_hdf5_enospc_test HDF5File_enospc
LD_PRELOAD=./enospc_shim.so ./jfjoch_hdf5_enospc_test FileWriter_enospc
- name: Run hdf5 test
shell: bash
run: |
cd build/tools
./jfjoch_hdf5_test ../../tests/test_data/compression_benchmark.h5
build-rpm:
name: build:rpm (${{ matrix.distro }})
if: github.ref_type != 'workflow_dispatch'
@@ -296,43 +331,6 @@ jobs:
git add .
git commit -m "Deploy site"
git push -f https://${{secrets.GITHUB_TOKEN}}@gitea.psi.ch/${{ github.repository }}.git gitea-pages
unit-tests:
name: Unit tests
runs-on: jfjoch_rocky8
if: github.ref_type != 'tag' && github.ref_type != 'workflow_dispatch'
container:
image: gitea.psi.ch/leonarski_f/jfjoch_rocky8:2511
options: --gpus all
timeout-minutes: 90
env:
CTEST_OUTPUT_ON_FAILURE: '1'
steps:
- uses: actions/checkout@v4
- name: Build tests
shell: bash
run: |
mkdir -p build
cd build
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release ..
ninja -j48 jfjoch_test jfjoch_hdf5_test jfjoch_hdf5_enospc_test enospc_shim
- name: ENOSPC test
shell: bash
run: |
cd build/tests
ls -ltr *.so
ldd enospc_shim.so
LD_PRELOAD=./enospc_shim.so ./jfjoch_hdf5_enospc_test HDF5File_enospc
LD_PRELOAD=./enospc_shim.so ./jfjoch_hdf5_enospc_test FileWriter_enospc
- name: Run unit tests
shell: bash
run: |
cd build/tests
./jfjoch_test
- name: Run hdf5 test
shell: bash
run: |
cd build/tools
./jfjoch_hdf5_test ../../tests/test_data/compression_benchmark.h5
create-release:
name: Create release
runs-on: jfjoch_rocky8