Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: CI (Build)

on:
# Triggers the workflow on push or pull request events
push:
branches:
- "master"
pull_request:
branches:
- "*"

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-22.04
strategy:
matrix:
image_tag: [itk-master_use_system_libraries-off]
container:
image: slicer/slicerexecutionmodel:${{ matrix.image_tag}}
steps:
- uses: actions/checkout@v6

- name: "Test"
run: ./test/Docker/test.sh ${{ matrix.image_tag}}

- name: "Test Serializer"
run: ./test/Docker/test-serializer.sh ${{ matrix.image_tag}}
15 changes: 6 additions & 9 deletions test/Docker-ITK-master_USE_SYSTEM_LIBRARIES-OFF/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
FROM dockbuild/centos7
FROM dockcross/linux-x64
MAINTAINER Insight Software Consortium <community@itk.org>

WORKDIR /usr/src

# February 10, 2022
# - master (d6774dac0) of 2022-02-07 and changes from https://github.com/InsightSoftwareConsortium/ITK/pull/3187
ENV ITK_GIT_COMMIT 060131b628e9a2d3f4613adc077ac04dd1a4ea7b
# "ac65b49c34fcfa3c3422a66026c7fe2bbaa88902" # slicer-v5.4.5-2025-11-19-f51594a
ENV ITK_GIT_COMMIT=ac65b49c34fcfa3c3422a66026c7fe2bbaa88902

RUN \
#
Expand All @@ -15,13 +14,11 @@ RUN \
#
# Checkout
#
git clone https://github.com/jcfr/ITK.git ITK && \
cd ITK && git reset --hard ${ITK_GIT_COMMIT} && \
git clone https://github.com/Slicer/ITK.git ${working_dir}/ITK && \
cd ${working_dir}/ITK && git reset --hard ${ITK_GIT_COMMIT} && \
#
# Configure
#
cd $working_dir && \
mkdir ITK-build && cd $_ && \
cmake \
-G Ninja \
-DCMAKE_INSTALL_PREFIX:PATH=/usr/local \
Expand All @@ -35,7 +32,7 @@ RUN \
-DModule_ITKCommon:BOOL=ON \
-DModule_ITKIOXML:BOOL=ON \
-DModule_ITKExpat:BOOL=ON \
../ITK && \
-S ${working_dir}/ITK -B ${working_dir}/ITK-build && \
#
# Build and install
#
Expand Down