Single Stage ICD test #5
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: Single Stage ICD test | |
on: | |
workflow_dispatch: | |
inputs: | |
job_name: | |
description: 'Select an ICD stage to run' | |
required: false | |
type: choice | |
options: | |
- File-Browser-ICD-Tests | |
- Animator-ICD-Tests | |
- Region-Statistics-ICD-Tests | |
- Region-Manipulation-ICD-Tests | |
- Cube-Histogram-ICD-Tests | |
- PV-Generator-ICD-Tests | |
- Raster-Tiles-ICD-Tests | |
- Catalog-ICD-Tests | |
- Moment-ICD-Tests | |
- Match-ICD-Tests | |
- Close-File-ICD-Tests | |
- Image-Fitting-ICD-Tests | |
- Vector-Overlay-ICD-Tests | |
- Resume-ICD-Tests | |
carta_backend_branch: | |
description: 'carta-backend branch to use' | |
required: true | |
default: 'dev' | |
env: | |
CARTA_BACKEND_BRANCH_NAME: dev | |
jobs: | |
Build: | |
name: Build ${{ matrix.os_version }} | |
runs-on: ${{ matrix.runner }} | |
timeout-minutes: 10 | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- os_version: macOS-11 | |
os: macos | |
runner: macOS-11 | |
- os_version: macOS-12 | |
os: macos | |
runner: [macOS-12, ICD] | |
- os_version: macOS-13 | |
os: macos | |
runner: macOS-13 | |
- os_version: ubuntu-20.04 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD1] | |
image: /opt/apptainer/ubuntu-2004-dec2023.sif | |
port: 9001 | |
- os_version: ubuntu-22.04 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD2] | |
image: /opt/apptainer/ubuntu-2204-dec2023.sif | |
port: 9002 | |
- os_version: rhel-7 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD3] | |
image: /opt/apptainer/centos7-dec2023.sif | |
port: 9003 | |
- os_version: rhel-8 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD4] | |
image: /opt/apptainer/almalinux8-dec2023.sif | |
port: 9004 | |
- os_version: rhel-9 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD5] | |
image: /opt/apptainer/almalinux9-dec2023.sif | |
port: 9005 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
repository: CARTAvis/carta-backend | |
ref: ${{ env.CARTA_BACKEND_BRANCH_NAME }} | |
path: source | |
- name: System information (macOS) | |
if: matrix.os == 'macos' | |
shell: bash | |
run: | | |
uname -a | |
sw_vers | |
- name: Build carta-backend (macOS) | |
if: matrix.os == 'macos' | |
shell: bash | |
run: | | |
SRC_DIR=$GITHUB_WORKSPACE/source | |
BUILD_DIR=$GITHUB_WORKSPACE/build | |
cd $SRC_DIR && git submodule update --init --recursive | |
rm -rf $BUILD_DIR && mkdir -p $BUILD_DIR | |
cd $BUILD_DIR | |
cmake $SRC_DIR \ | |
-Dtest=on \ | |
-DCMAKE_BUILD_TYPE=Debug \ | |
-DDevSuppressExternalWarnings=ON \ | |
-DCMAKE_CXX_FLAGS='-O0 -g -fsanitize=address -fno-omit-frame-pointer' \ | |
-DCMAKE_EXE_LINKER_FLAGS='-fsanitize=address' | |
make -j 16 | |
- name: Build carta-backend (Linux) | |
if: matrix.os == 'linux' | |
shell: bash | |
run: | | |
SRC_DIR=$GITHUB_WORKSPACE/source | |
BUILD_DIR=$GITHUB_WORKSPACE/build-${{ matrix.os_version }} | |
rm -rf $BUILD_DIR && mkdir -p $BUILD_DIR | |
apptainer exec --bind $GITHUB_WORKSPACE:$GITHUB_WORKSPACE --pwd $SRC_DIR ${{ matrix.image }} /bin/bash -c "\ | |
git submodule update --init --recursive && \ | |
ls && pwd && \ | |
cd $BUILD_DIR && \ | |
ls && pwd && \ | |
cmake $SRC_DIR \ | |
-Dtest=on \ | |
-DCMAKE_BUILD_TYPE=Debug \ | |
-DDevSuppressExternalWarnings=ON \ | |
-DCMAKE_CXX_FLAGS='-O0 -g -fsanitize=address -fno-omit-frame-pointer' \ | |
-DCMAKE_EXE_LINKER_FLAGS='-fsanitize=address' && \ | |
make -j 16" | |
- name: Check backend runs (macOS) | |
if: matrix.os == 'macos' | |
shell: bash | |
run: | | |
./build/carta_backend --version | |
- name: Check backend runs (Linux) | |
if: matrix.os == 'linux' | |
shell: bash | |
run: | | |
BUILD_DIR=$GITHUB_WORKSPACE/build-${{ matrix.os_version }} | |
apptainer exec --bind $GITHUB_WORKSPACE:$GITHUB_WORKSPACE --pwd $BUILD_DIR ${{ matrix.image }} /bin/bash -c "./carta_backend --version" | |
Prepare-ICD-RxJS: | |
name: Prepare-ICD-RxJS ${{ matrix.os_version }} | |
runs-on: ${{ matrix.runner }} | |
timeout-minutes: 5 | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- os_version: macOS-11 | |
os: macos | |
runner: macOS-11 | |
- os_version: macOS-12 | |
os: macos | |
runner: [macOS-12, ICD] | |
- os_version: macOS-13 | |
os: macos | |
runner: macOS-13 | |
- os_version: ubuntu-20.04 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD1] | |
image: /opt/apptainer/ubuntu-2004-dec2023.sif | |
port: 9001 | |
- os_version: ubuntu-22.04 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD2] | |
image: /opt/apptainer/ubuntu-2204-dec2023.sif | |
port: 9002 | |
- os_version: rhel-7 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD3] | |
image: /opt/apptainer/centos7-dec2023.sif | |
port: 9003 | |
- os_version: rhel-8 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD4] | |
image: /opt/apptainer/almalinux8-dec2023.sif | |
port: 9004 | |
- os_version: rhel-9 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD5] | |
image: /opt/apptainer/almalinux9-dec2023.sif | |
port: 9005 | |
needs: Build | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
path: ICD-RxJS | |
- name: System information (macOS) | |
if: matrix.os == 'macos' | |
shell: bash | |
run: | | |
uname -a | |
sw_vers | |
- name: Prepare ICD-RxJS (macOS) | |
if: matrix.os == 'macos' | |
run: | | |
ICD_DIR=$GITHUB_WORKSPACE/ICD-RxJS | |
cd $ICD_DIR | |
ls && pwd | |
git submodule init && git submodule update && npm install | |
cd protobuf | |
./build_proto.sh | |
cd ../src/test | |
perl -p -i -e 's/3002/5555/' config.json | |
- name: Prepare ICD-RxJS (Linux) | |
if: matrix.os == 'linux' | |
run: | | |
BUILD_DIR=$GITHUB_WORKSPACE/build-${{ matrix.os_version }} | |
ICD_DIR=$GITHUB_WORKSPACE/ICD-RxJS | |
cp -r $ICD_DIR $BUILD_DIR | |
apptainer exec --bind $GITHUB_WORKSPACE:$GITHUB_WORKSPACE --pwd $BUILD_DIR ${{ matrix.image }} /bin/bash -c "\ | |
cd ICD-RxJS && \ | |
ls && pwd && \ | |
git submodule init && git submodule update && npm install && \ | |
cd protobuf && \ | |
./build_proto.sh && \ | |
cd ../src/test && \ | |
perl -p -i -e 's/3002/${{ matrix.port }}/' config.json" | |
File-Browser-ICD-Tests: | |
name: File-Browser ${{ matrix.os_version }} | |
runs-on: ${{ matrix.runner }} | |
timeout-minutes: 5 | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- os_version: macOS-11 | |
os: macos | |
runner: macOS-11 | |
- os_version: macOS-12 | |
os: macos | |
runner: [macOS-12, ICD] | |
- os_version: macOS-13 | |
os: macos | |
runner: macOS-13 | |
- os_version: ubuntu-20.04 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD1] | |
image: /opt/apptainer/ubuntu-2004-dec2023.sif | |
port: 9001 | |
- os_version: ubuntu-22.04 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD2] | |
image: /opt/apptainer/ubuntu-2204-dec2023.sif | |
port: 9002 | |
- os_version: rhel-7 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD3] | |
image: /opt/apptainer/centos7-dec2023.sif | |
port: 9003 | |
- os_version: rhel-8 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD4] | |
image: /opt/apptainer/almalinux8-dec2023.sif | |
port: 9004 | |
- os_version: rhel-9 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD5] | |
image: /opt/apptainer/almalinux9-dec2023.sif | |
port: 9005 | |
needs: [Build, Prepare-ICD-RxJS] | |
if: ${{ github.event.inputs.job_name == 'File-Browser-ICD-Tests' }} | |
steps: | |
# macOS steps | |
- name: File Browser ICD tests | |
if: matrix.os == 'macos' | |
uses: ./source/.github/actions/run-macos | |
with: | |
test_stage_name: 'file_browser' | |
# Linux steps | |
- name: File Browser ICD tests | |
if: matrix.os == 'linux' | |
uses: ./source/.github/actions/run-apptainer | |
with: | |
os_version: ${{ matrix.os_version }} | |
image: ${{ matrix.image }} | |
port: ${{ matrix.port }} | |
test_stage_name: 'file_browser' | |
Animator-ICD-Tests: | |
name: Animator ${{ matrix.os_version }} | |
runs-on: ${{ matrix.runner }} | |
timeout-minutes: 5 | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- os_version: macOS-11 | |
os: macos | |
runner: macOS-11 | |
- os_version: macOS-12 | |
os: macos | |
runner: [macOS-12, ICD] | |
- os_version: macOS-13 | |
os: macos | |
runner: macOS-13 | |
- os_version: ubuntu-20.04 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD1] | |
image: /opt/apptainer/ubuntu-2004-dec2023.sif | |
port: 9001 | |
- os_version: ubuntu-22.04 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD2] | |
image: /opt/apptainer/ubuntu-2204-dec2023.sif | |
port: 9002 | |
- os_version: rhel-7 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD3] | |
image: /opt/apptainer/centos7-dec2023.sif | |
port: 9003 | |
- os_version: rhel-8 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD4] | |
image: /opt/apptainer/almalinux8-dec2023.sif | |
port: 9004 | |
- os_version: rhel-9 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD5] | |
image: /opt/apptainer/almalinux9-dec2023.sif | |
port: 9005 | |
needs: [Build, Prepare-ICD-RxJS] | |
if: ${{ github.event.inputs.job_name == 'Animator-ICD-Tests' }} | |
steps: | |
# macOS steps | |
- name: Animator ICD tests | |
if: matrix.os == 'macos' | |
uses: ./source/.github/actions/run-macos | |
with: | |
test_stage_name: 'animator' | |
# Linux steps | |
- name: Animator ICD tests | |
if: matrix.os == 'linux' | |
uses: ./source/.github/actions/run-apptainer | |
with: | |
os_version: ${{ matrix.os_version }} | |
image: ${{ matrix.image }} | |
port: ${{ matrix.port }} | |
test_stage_name: 'animator' | |
Region-Statistics-ICD-Tests: | |
name: Region Statistics ${{ matrix.os_version }} | |
runs-on: ${{ matrix.runner }} | |
timeout-minutes: 5 | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- os_version: macOS-11 | |
os: macos | |
runner: macOS-11 | |
- os_version: macOS-12 | |
os: macos | |
runner: [macOS-12, ICD] | |
- os_version: macOS-13 | |
os: macos | |
runner: macOS-13 | |
- os_version: ubuntu-20.04 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD1] | |
image: /opt/apptainer/ubuntu-2004-dec2023.sif | |
port: 9001 | |
- os_version: ubuntu-22.04 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD2] | |
image: /opt/apptainer/ubuntu-2204-dec2023.sif | |
port: 9002 | |
- os_version: rhel-7 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD3] | |
image: /opt/apptainer/centos7-dec2023.sif | |
port: 9003 | |
- os_version: rhel-8 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD4] | |
image: /opt/apptainer/almalinux8-dec2023.sif | |
port: 9004 | |
- os_version: rhel-9 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD5] | |
image: /opt/apptainer/almalinux9-dec2023.sif | |
port: 9005 | |
needs: [Build, Prepare-ICD-RxJS] | |
if: ${{ github.event.inputs.job_name == 'Region-Statistics-ICD-Tests' }} | |
steps: | |
# macOS steps | |
- name: Region-Statistics ICD tests | |
if: matrix.os == 'macos' | |
uses: ./source/.github/actions/run-macos | |
with: | |
test_stage_name: 'region_statistics' | |
# Linux steps | |
- name: Region-Statistics ICD tests | |
if: matrix.os == 'linux' | |
uses: ./source/.github/actions/run-apptainer | |
with: | |
os_version: ${{ matrix.os_version }} | |
image: ${{ matrix.image }} | |
port: ${{ matrix.port }} | |
test_stage_name: 'region_statistics' | |
Region-Manipulation-ICD-Tests: | |
name: Region Manipulation ${{ matrix.os_version }} | |
runs-on: ${{ matrix.runner }} | |
timeout-minutes: 5 | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- os_version: macOS-11 | |
os: macos | |
runner: macOS-11 | |
- os_version: macOS-12 | |
os: macos | |
runner: [macOS-12, ICD] | |
- os_version: macOS-13 | |
os: macos | |
runner: macOS-13 | |
- os_version: ubuntu-20.04 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD1] | |
image: /opt/apptainer/ubuntu-2004-dec2023.sif | |
port: 9001 | |
- os_version: ubuntu-22.04 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD2] | |
image: /opt/apptainer/ubuntu-2204-dec2023.sif | |
port: 9002 | |
- os_version: rhel-7 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD3] | |
image: /opt/apptainer/centos7-dec2023.sif | |
port: 9003 | |
- os_version: rhel-8 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD4] | |
image: /opt/apptainer/almalinux8-dec2023.sif | |
port: 9004 | |
- os_version: rhel-9 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD5] | |
image: /opt/apptainer/almalinux9-dec2023.sif | |
port: 9005 | |
needs: [Build, Prepare-ICD-RxJS] | |
if: ${{ github.event.inputs.job_name == 'Region-Manipulation-ICD-Tests' }} | |
steps: | |
# macOS steps | |
- name: Region Manipulation ICD tests | |
if: matrix.os == 'macos' | |
uses: ./source/.github/actions/run-macos | |
with: | |
test_stage_name: 'region_manipulation' | |
# Linux steps | |
- name: Region Manipulation ICD tests | |
if: matrix.os == 'linux' | |
uses: ./source/.github/actions/run-apptainer | |
with: | |
os_version: ${{ matrix.os_version }} | |
image: ${{ matrix.image }} | |
port: ${{ matrix.port }} | |
test_stage_name: 'region_manipulation' | |
Cube-Histogram-ICD-Tests: | |
name: Cube Histogram ${{ matrix.os_version }} | |
runs-on: ${{ matrix.runner }} | |
timeout-minutes: 10 | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- os_version: macOS-11 | |
os: macos | |
runner: macOS-11 | |
- os_version: macOS-12 | |
os: macos | |
runner: [macOS-12, ICD] | |
- os_version: macOS-13 | |
os: macos | |
runner: macOS-13 | |
- os_version: ubuntu-20.04 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD1] | |
image: /opt/apptainer/ubuntu-2004-dec2023.sif | |
port: 9001 | |
- os_version: ubuntu-22.04 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD2] | |
image: /opt/apptainer/ubuntu-2204-dec2023.sif | |
port: 9002 | |
- os_version: rhel-7 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD3] | |
image: /opt/apptainer/centos7-dec2023.sif | |
port: 9003 | |
- os_version: rhel-8 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD4] | |
image: /opt/apptainer/almalinux8-dec2023.sif | |
port: 9004 | |
- os_version: rhel-9 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD5] | |
image: /opt/apptainer/almalinux9-dec2023.sif | |
port: 9005 | |
needs: [Build, Prepare-ICD-RxJS] | |
if: ${{ github.event.inputs.job_name == 'Cube-Histogram-ICD-Tests' }} | |
steps: | |
# macOS steps | |
- name: Cube Histogram ICD tests | |
if: matrix.os == 'macos' | |
uses: ./source/.github/actions/run-macos | |
with: | |
test_stage_name: 'cube_histogram' | |
# Linux steps | |
- name: Cube Histogram ICD tests | |
if: matrix.os == 'linux' | |
uses: ./source/.github/actions/run-apptainer | |
with: | |
os_version: ${{ matrix.os_version }} | |
image: ${{ matrix.image }} | |
port: ${{ matrix.port }} | |
test_stage_name: 'cube_histogram' | |
PV-Generator-ICD-Tests: | |
name: PV Generator ${{ matrix.os_version }} | |
runs-on: ${{ matrix.runner }} | |
timeout-minutes: 10 | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- os_version: macOS-11 | |
os: macos | |
runner: macOS-11 | |
- os_version: macOS-12 | |
os: macos | |
runner: [macOS-12, ICD] | |
- os_version: macOS-13 | |
os: macos | |
runner: macOS-13 | |
- os_version: ubuntu-20.04 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD1] | |
image: /opt/apptainer/ubuntu-2004-dec2023.sif | |
port: 9001 | |
- os_version: ubuntu-22.04 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD2] | |
image: /opt/apptainer/ubuntu-2204-dec2023.sif | |
port: 9002 | |
- os_version: rhel-7 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD3] | |
image: /opt/apptainer/centos7-dec2023.sif | |
port: 9003 | |
- os_version: rhel-8 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD4] | |
image: /opt/apptainer/almalinux8-dec2023.sif | |
port: 9004 | |
- os_version: rhel-9 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD5] | |
image: /opt/apptainer/almalinux9-dec2023.sif | |
port: 9005 | |
needs: [Build, Prepare-ICD-RxJS] | |
if: ${{ github.event.inputs.job_name == 'PV-Generator-ICD-Tests' }} | |
steps: | |
# macOS steps | |
- name: PV Generator ICD tests | |
if: matrix.os == 'macos' | |
uses: ./source/.github/actions/run-macos | |
with: | |
test_stage_name: 'pv_generator' | |
# Linux steps | |
- name: PV Generator ICD tests | |
if: matrix.os == 'linux' | |
uses: ./source/.github/actions/run-apptainer | |
with: | |
os_version: ${{ matrix.os_version }} | |
image: ${{ matrix.image }} | |
port: ${{ matrix.port }} | |
test_stage_name: 'pv_generator' | |
Raster-Tiles-ICD-Tests: | |
name: Raster Tiles ${{ matrix.os_version }} | |
runs-on: ${{ matrix.runner }} | |
timeout-minutes: 5 | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- os_version: macOS-11 | |
os: macos | |
runner: macOS-11 | |
- os_version: macOS-12 | |
os: macos | |
runner: [macOS-12, ICD] | |
- os_version: macOS-13 | |
os: macos | |
runner: macOS-13 | |
- os_version: ubuntu-20.04 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD1] | |
image: /opt/apptainer/ubuntu-2004-dec2023.sif | |
port: 9001 | |
- os_version: ubuntu-22.04 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD2] | |
image: /opt/apptainer/ubuntu-2204-dec2023.sif | |
port: 9002 | |
- os_version: rhel-7 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD3] | |
image: /opt/apptainer/centos7-dec2023.sif | |
port: 9003 | |
- os_version: rhel-8 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD4] | |
image: /opt/apptainer/almalinux8-dec2023.sif | |
port: 9004 | |
- os_version: rhel-9 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD5] | |
image: /opt/apptainer/almalinux9-dec2023.sif | |
port: 9005 | |
needs: [Build, Prepare-ICD-RxJS] | |
if: ${{ github.event.inputs.job_name == 'Raster-Tiles-ICD-Tests' }} | |
steps: | |
# macOS steps | |
- name: Raster Tiles ICD tests | |
if: matrix.os == 'macos' | |
uses: ./source/.github/actions/run-macos | |
with: | |
test_stage_name: 'raster_tiles' | |
# Linux steps | |
- name: Raster Tiles ICD tests | |
if: matrix.os == 'linux' | |
uses: ./source/.github/actions/run-apptainer | |
with: | |
os_version: ${{ matrix.os_version }} | |
image: ${{ matrix.image }} | |
port: ${{ matrix.port }} | |
test_stage_name: 'raster_tiles' | |
Catalog-ICD-Tests: | |
name: Catalog ${{ matrix.os_version }} | |
runs-on: ${{ matrix.runner }} | |
timeout-minutes: 5 | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- os_version: macOS-11 | |
os: macos | |
runner: macOS-11 | |
- os_version: macOS-12 | |
os: macos | |
runner: [macOS-12, ICD] | |
- os_version: macOS-13 | |
os: macos | |
runner: macOS-13 | |
- os_version: ubuntu-20.04 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD1] | |
image: /opt/apptainer/ubuntu-2004-dec2023.sif | |
port: 9001 | |
- os_version: ubuntu-22.04 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD2] | |
image: /opt/apptainer/ubuntu-2204-dec2023.sif | |
port: 9002 | |
- os_version: rhel-7 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD3] | |
image: /opt/apptainer/centos7-dec2023.sif | |
port: 9003 | |
- os_version: rhel-8 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD4] | |
image: /opt/apptainer/almalinux8-dec2023.sif | |
port: 9004 | |
- os_version: rhel-9 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD5] | |
image: /opt/apptainer/almalinux9-dec2023.sif | |
port: 9005 | |
needs: [Build, Prepare-ICD-RxJS] | |
if: ${{ github.event.inputs.job_name == 'Catalog-ICD-Tests' }} | |
steps: | |
# macOS steps | |
- name: Catalog ICD tests | |
if: matrix.os == 'macos' | |
uses: ./source/.github/actions/run-macos | |
with: | |
test_stage_name: 'catalog' | |
# Linux steps | |
- name: Catalog ICD tests | |
if: matrix.os == 'linux' | |
uses: ./source/.github/actions/run-apptainer | |
with: | |
os_version: ${{ matrix.os_version }} | |
image: ${{ matrix.image }} | |
port: ${{ matrix.port }} | |
test_stage_name: 'catalog' | |
Moment-ICD-Tests: | |
name: Moment ${{ matrix.os_version }} | |
runs-on: ${{ matrix.runner }} | |
timeout-minutes: 5 | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- os_version: macOS-11 | |
os: macos | |
runner: macOS-11 | |
- os_version: macOS-12 | |
os: macos | |
runner: [macOS-12, ICD] | |
- os_version: macOS-13 | |
os: macos | |
runner: macOS-13 | |
- os_version: ubuntu-20.04 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD1] | |
image: /opt/apptainer/ubuntu-2004-dec2023.sif | |
port: 9001 | |
- os_version: ubuntu-22.04 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD2] | |
image: /opt/apptainer/ubuntu-2204-dec2023.sif | |
port: 9002 | |
- os_version: rhel-7 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD3] | |
image: /opt/apptainer/centos7-dec2023.sif | |
port: 9003 | |
- os_version: rhel-8 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD4] | |
image: /opt/apptainer/almalinux8-dec2023.sif | |
port: 9004 | |
- os_version: rhel-9 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD5] | |
image: /opt/apptainer/almalinux9-dec2023.sif | |
port: 9005 | |
needs: [Build, Prepare-ICD-RxJS] | |
if: ${{ github.event.inputs.job_name == 'Moment-ICD-Tests' }} | |
steps: | |
# macOS steps | |
- name: Moment ICD tests | |
if: matrix.os == 'macos' | |
uses: ./source/.github/actions/run-macos | |
with: | |
test_stage_name: 'moment' | |
# Linux steps | |
- name: Moment ICD tests | |
if: matrix.os == 'linux' | |
uses: ./source/.github/actions/run-apptainer | |
with: | |
os_version: ${{ matrix.os_version }} | |
image: ${{ matrix.image }} | |
port: ${{ matrix.port }} | |
test_stage_name: 'moment' | |
Match-ICD-Tests: | |
name: Match ${{ matrix.os_version }} | |
runs-on: ${{ matrix.runner }} | |
timeout-minutes: 5 | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- os_version: macOS-11 | |
os: macos | |
runner: macOS-11 | |
- os_version: macOS-12 | |
os: macos | |
runner: [macOS-12, ICD] | |
- os_version: macOS-13 | |
os: macos | |
runner: macOS-13 | |
- os_version: ubuntu-20.04 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD1] | |
image: /opt/apptainer/ubuntu-2004-dec2023.sif | |
port: 9001 | |
- os_version: ubuntu-22.04 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD2] | |
image: /opt/apptainer/ubuntu-2204-dec2023.sif | |
port: 9002 | |
- os_version: rhel-7 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD3] | |
image: /opt/apptainer/centos7-dec2023.sif | |
port: 9003 | |
- os_version: rhel-8 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD4] | |
image: /opt/apptainer/almalinux8-dec2023.sif | |
port: 9004 | |
- os_version: rhel-9 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD5] | |
image: /opt/apptainer/almalinux9-dec2023.sif | |
port: 9005 | |
needs: [Build, Prepare-ICD-RxJS] | |
if: ${{ github.event.inputs.job_name == 'Match-ICD-Tests' }} | |
steps: | |
# macOS steps | |
- name: Match ICD tests | |
if: matrix.os == 'macos' | |
uses: ./source/.github/actions/run-macos | |
with: | |
test_stage_name: 'match' | |
# Linux steps | |
- name: Match ICD tests | |
if: matrix.os == 'linux' | |
uses: ./source/.github/actions/run-apptainer | |
with: | |
os_version: ${{ matrix.os_version }} | |
image: ${{ matrix.image }} | |
port: ${{ matrix.port }} | |
test_stage_name: 'match' | |
Close-File-ICD-Tests: | |
name: Close File ${{ matrix.os_version }} | |
runs-on: ${{ matrix.runner }} | |
timeout-minutes: 5 | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- os_version: macOS-11 | |
os: macos | |
runner: macOS-11 | |
- os_version: macOS-12 | |
os: macos | |
runner: [macOS-12, ICD] | |
- os_version: macOS-13 | |
os: macos | |
runner: macOS-13 | |
- os_version: ubuntu-20.04 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD1] | |
image: /opt/apptainer/ubuntu-2004-dec2023.sif | |
port: 9001 | |
- os_version: ubuntu-22.04 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD2] | |
image: /opt/apptainer/ubuntu-2204-dec2023.sif | |
port: 9002 | |
- os_version: rhel-7 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD3] | |
image: /opt/apptainer/centos7-dec2023.sif | |
port: 9003 | |
- os_version: rhel-8 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD4] | |
image: /opt/apptainer/almalinux8-dec2023.sif | |
port: 9004 | |
- os_version: rhel-9 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD5] | |
image: /opt/apptainer/almalinux9-dec2023.sif | |
port: 9005 | |
needs: [Build, Prepare-ICD-RxJS] | |
if: ${{ github.event.inputs.job_name == 'Close-File-ICD-Tests' }} | |
steps: | |
# macOS steps | |
- name: Close File ICD tests | |
if: matrix.os == 'macos' | |
uses: ./source/.github/actions/run-macos | |
with: | |
test_stage_name: 'close_file' | |
# Linux steps | |
- name: Close File ICD tests | |
if: matrix.os == 'linux' | |
uses: ./source/.github/actions/run-apptainer | |
with: | |
os_version: ${{ matrix.os_version }} | |
image: ${{ matrix.image }} | |
port: ${{ matrix.port }} | |
test_stage_name: 'close_file' | |
Image-Fitting-ICD-Tests: | |
name: Image Fitting ${{ matrix.os_version }} | |
runs-on: ${{ matrix.runner }} | |
timeout-minutes: 10 | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- os_version: macOS-11 | |
os: macos | |
runner: macOS-11 | |
- os_version: macOS-12 | |
os: macos | |
runner: [macOS-12, ICD] | |
- os_version: macOS-13 | |
os: macos | |
runner: macOS-13 | |
- os_version: ubuntu-20.04 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD1] | |
image: /opt/apptainer/ubuntu-2004-dec2023.sif | |
port: 9001 | |
- os_version: ubuntu-22.04 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD2] | |
image: /opt/apptainer/ubuntu-2204-dec2023.sif | |
port: 9002 | |
- os_version: rhel-7 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD3] | |
image: /opt/apptainer/centos7-dec2023.sif | |
port: 9003 | |
- os_version: rhel-8 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD4] | |
image: /opt/apptainer/almalinux8-dec2023.sif | |
port: 9004 | |
- os_version: rhel-9 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD5] | |
image: /opt/apptainer/almalinux9-dec2023.sif | |
port: 9005 | |
needs: [Build, Prepare-ICD-RxJS] | |
if: ${{ github.event.inputs.job_name == 'Image-Fitting-ICD-Tests' }} | |
steps: | |
# macOS steps | |
- name: Image Fitting ICD tests | |
if: matrix.os == 'macos' | |
uses: ./source/.github/actions/run-macos | |
with: | |
test_stage_name: 'image_fitting' | |
# Linux steps | |
- name: Image Fitting ICD tests | |
if: matrix.os == 'linux' | |
uses: ./source/.github/actions/run-apptainer | |
with: | |
os_version: ${{ matrix.os_version }} | |
image: ${{ matrix.image }} | |
port: ${{ matrix.port }} | |
test_stage_name: 'image_fitting' | |
Vector-Overlay-ICD-Tests: | |
name: Vector Overlay ${{ matrix.os_version }} | |
runs-on: ${{ matrix.runner }} | |
timeout-minutes: 5 | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- os_version: macOS-11 | |
os: macos | |
runner: macOS-11 | |
- os_version: macOS-12 | |
os: macos | |
runner: [macOS-12, ICD] | |
- os_version: macOS-13 | |
os: macos | |
runner: macOS-13 | |
- os_version: ubuntu-20.04 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD1] | |
image: /opt/apptainer/ubuntu-2004-dec2023.sif | |
port: 9001 | |
- os_version: ubuntu-22.04 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD2] | |
image: /opt/apptainer/ubuntu-2204-dec2023.sif | |
port: 9002 | |
- os_version: rhel-7 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD3] | |
image: /opt/apptainer/centos7-dec2023.sif | |
port: 9003 | |
- os_version: rhel-8 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD4] | |
image: /opt/apptainer/almalinux8-dec2023.sif | |
port: 9004 | |
- os_version: rhel-9 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD5] | |
image: /opt/apptainer/almalinux9-dec2023.sif | |
port: 9005 | |
needs: [Build, Prepare-ICD-RxJS] | |
if: ${{ github.event.inputs.job_name == 'Vector-Overlay-ICD-Tests' }} | |
steps: | |
# macOS steps | |
- name: Vector Overlay ICD tests | |
if: matrix.os == 'macos' | |
uses: ./source/.github/actions/run-macos | |
with: | |
test_stage_name: 'vector_overlay' | |
# Linux steps | |
- name: Vector Overlay ICD tests | |
if: matrix.os == 'linux' | |
uses: ./source/.github/actions/run-apptainer | |
with: | |
os_version: ${{ matrix.os_version }} | |
image: ${{ matrix.image }} | |
port: ${{ matrix.port }} | |
test_stage_name: 'vector_overlay' | |
Resume-ICD-Tests: | |
name: Resume ${{ matrix.os_version }} | |
runs-on: ${{ matrix.runner }} | |
timeout-minutes: 5 | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- os_version: macOS-11 | |
os: macos | |
runner: macOS-11 | |
- os_version: macOS-12 | |
os: macos | |
runner: [macOS-12, ICD] | |
- os_version: macOS-13 | |
os: macos | |
runner: macOS-13 | |
- os_version: ubuntu-20.04 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD1] | |
image: /opt/apptainer/ubuntu-2004-dec2023.sif | |
port: 9001 | |
- os_version: ubuntu-22.04 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD2] | |
image: /opt/apptainer/ubuntu-2204-dec2023.sif | |
port: 9002 | |
- os_version: rhel-7 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD3] | |
image: /opt/apptainer/centos7-dec2023.sif | |
port: 9003 | |
- os_version: rhel-8 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD4] | |
image: /opt/apptainer/almalinux8-dec2023.sif | |
port: 9004 | |
- os_version: rhel-9 | |
os: linux | |
runner: [self-hosted, Linux, Apptainer, ICD5] | |
image: /opt/apptainer/almalinux9-dec2023.sif | |
port: 9005 | |
needs: [Build, Prepare-ICD-RxJS] | |
if: ${{ github.event.inputs.job_name == 'Resume-ICD-Tests' }} | |
steps: | |
# macOS steps | |
- name: Resume ICD tests | |
if: matrix.os == 'macos' | |
uses: ./source/.github/actions/run-macos | |
with: | |
test_stage_name: 'resume' | |
# Linux steps | |
- name: Resume ICD tests | |
if: matrix.os == 'linux' | |
uses: ./source/.github/actions/run-apptainer | |
with: | |
os_version: ${{ matrix.os_version }} | |
image: ${{ matrix.image }} | |
port: ${{ matrix.port }} | |
test_stage_name: 'resume' | |