Skip to content

ICD tests on ICD-RxJS repo #62

ICD tests on ICD-RxJS repo

ICD tests on ICD-RxJS repo #62

Workflow file for this run

name: ICD tests on ICD-RxJS repo
on:
workflow_dispatch:
inputs:
# Can only define up to 10 inputs in a workflow_dispatch event
carta_backend_branch:
description: 'carta-backend branch to use'
required: true
default: 'dev'
file_browser_animator_icd_tests:
description: 'File-Browser and Animator'
required: false
type: boolean
region_statistics_manipulation_icd_tests:
description: 'Region-Statistics and Region-Manipulation'
required: false
type: boolean
cube_histogram_pv_generator_icd_tests:
description: 'Cube-Histogram and PV-Generator'
required: false
type: boolean
raster_tiles_catalog_icd_tests:
description: 'Raster-Tiles and Catalog'
required: false
type: boolean
moment_match_icd_tests:
description: 'Moment and Match'
required: false
type: boolean
close_files_image_fitting_icd_tests:
description: 'Close-File and Image-Fitting'
required: false
type: boolean
vector_overlay_resume_icd_tests:
description: 'Vector-Overlay and Resume'
required: false
type: boolean
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-12
os: macos
runner: [macOS-12, ICD]
- 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
cd source ; git submodule update --init --recursive
apptainer exec --bind $GITHUB_WORKSPACE:$GITHUB_WORKSPACE --pwd $SRC_DIR ${{ matrix.image }} /bin/bash -c "\
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-12
os: macos
runner: [macOS-12, ICD]
- 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
cd $BUILD_DIR/ICD-RxJS
git submodule update --init --recursive
apptainer exec --bind $GITHUB_WORKSPACE:$GITHUB_WORKSPACE --pwd $BUILD_DIR ${{ matrix.image }} /bin/bash -c "\
cd ICD-RxJS && \
ls && pwd && \
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-12
os: macos
runner: [macOS-12, ICD]
- 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.file_browser_animator_icd_tests == 'true' }}
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-12
os: macos
runner: [macOS-12, ICD]
- 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.file_browser_animator_icd_tests == 'true' }}
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-12
os: macos
runner: [macOS-12, ICD]
- 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.region_statistics_manipulation_icd_tests == 'true' }}
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-12
os: macos
runner: [macOS-12, ICD]
- 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.region_statistics_manipulation_icd_tests == 'true' }}
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-12
os: macos
runner: [macOS-12, ICD]
- 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.cube_histogram_pv_generator_icd_tests == 'true' }}
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-12
os: macos
runner: [macOS-12, ICD]
- 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.cube_histogram_pv_generator_icd_tests == 'true' }}
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-12
os: macos
runner: [macOS-12, ICD]
- 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.raster_tiles_catalog_icd_tests == 'true' }}
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-12
os: macos
runner: [macOS-12, ICD]
- 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.raster_tiles_catalog_icd_tests == 'true' }}
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-12
os: macos
runner: [macOS-12, ICD]
- 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.moment_match_icd_tests == 'true' }}
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-12
os: macos
runner: [macOS-12, ICD]
- 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.moment_match_icd_tests == 'true' }}
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-12
os: macos
runner: [macOS-12, ICD]
- 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.close_files_image_fitting_icd_tests == 'true' }}
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-12
os: macos
runner: [macOS-12, ICD]
- 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.close_files_image_fitting_icd_tests == 'true' }}
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-12
os: macos
runner: [macOS-12, ICD]
- 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.vector_overlay_resume_icd_tests == 'true' }}
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-12
os: macos
runner: [macOS-12, ICD]
- 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.vector_overlay_resume_icd_tests == 'true' }}
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'