From 3c7afb120996b4314925472bb7d7520d5f1b584c Mon Sep 17 00:00:00 2001 From: Joshua Newton Date: Fri, 2 Sep 2022 17:15:41 -0400 Subject: [PATCH 1/4] `package-binaries.yml`: Add stitching --- .github/workflows/package-binaries.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.github/workflows/package-binaries.yml b/.github/workflows/package-binaries.yml index 6de60a9..1da5da8 100644 --- a/.github/workflows/package-binaries.yml +++ b/.github/workflows/package-binaries.yml @@ -42,6 +42,25 @@ jobs: mkdir -p pkg && cp -rp spinalcordtoolbox-ants/sct-apps/* pkg/ mkdir -p pkg/copyright mv pkg/COPYING.txt pkg/copyright/LICENSE_ANTs.txt + + + # upstream: hhttps://github.com/biomedia-mira/stitching + - name: get stitching + run: | + case "${{ matrix.os }}" in + linux) + URL="https://github.com/jqmcginnis/build_biomedia_stitching/releases/download/untagged-633501514015af8e9f25/stitching_ubuntu-18.04tar.gz" + ;; + osx) + URL="https://github.com/jqmcginnis/build_biomedia_stitching/releases/download/untagged-633501514015af8e9f25/stitching_macos-10.15.tar.gz" + ;; + windows) + URL="https://github.com/jqmcginnis/build_biomedia_stitching/releases/download/untagged-633501514015af8e9f25/stitching_windows-2019.tar.gz" + ;; + esac + curl -L "$URL" -o stitching.tar.gz + mkdir -p stitching && tar -zxvf stitching.tar.gz -C stitching + mkdir -p pkg && cp -rp stitching/archive/* pkg/ # upstream: https://github.com/neuropoly/spinalcordtoolbox/blob/master/dev/{isct_propseg,isct_dice_coefficient} - name: get spinalcordtoolbox-dev From 03f6d34fdb2d9184136137c688dc6aaa34592ad1 Mon Sep 17 00:00:00 2001 From: Joshua Newton Date: Fri, 2 Sep 2022 17:17:09 -0400 Subject: [PATCH 2/4] `package-binaries.yml`: Fix typo --- .github/workflows/package-binaries.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/package-binaries.yml b/.github/workflows/package-binaries.yml index 1da5da8..bc26331 100644 --- a/.github/workflows/package-binaries.yml +++ b/.github/workflows/package-binaries.yml @@ -49,7 +49,7 @@ jobs: run: | case "${{ matrix.os }}" in linux) - URL="https://github.com/jqmcginnis/build_biomedia_stitching/releases/download/untagged-633501514015af8e9f25/stitching_ubuntu-18.04tar.gz" + URL="https://github.com/jqmcginnis/build_biomedia_stitching/releases/download/untagged-633501514015af8e9f25/stitching_ubuntu-18.04.tar.gz" ;; osx) URL="https://github.com/jqmcginnis/build_biomedia_stitching/releases/download/untagged-633501514015af8e9f25/stitching_macos-10.15.tar.gz" From 1b620102ad2858805340ad54f3895e4f3ba60d72 Mon Sep 17 00:00:00 2001 From: Joshua Newton Date: Fri, 2 Sep 2022 17:25:08 -0400 Subject: [PATCH 3/4] `package-binaries.yml`: Use published release --- .github/workflows/package-binaries.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/package-binaries.yml b/.github/workflows/package-binaries.yml index bc26331..ca10e5a 100644 --- a/.github/workflows/package-binaries.yml +++ b/.github/workflows/package-binaries.yml @@ -49,13 +49,13 @@ jobs: run: | case "${{ matrix.os }}" in linux) - URL="https://github.com/jqmcginnis/build_biomedia_stitching/releases/download/untagged-633501514015af8e9f25/stitching_ubuntu-18.04.tar.gz" + URL="https://github.com/jqmcginnis/build_biomedia_stitching/releases/download/refs%2Fpull%2F1%2Fmerge-2981338722/stitching_ubuntu-18.04.tar.gz" ;; osx) - URL="https://github.com/jqmcginnis/build_biomedia_stitching/releases/download/untagged-633501514015af8e9f25/stitching_macos-10.15.tar.gz" + URL="https://github.com/jqmcginnis/build_biomedia_stitching/releases/download/refs%2Fpull%2F1%2Fmerge-2981338722/stitching_macos-10.15.tar.gz" ;; windows) - URL="https://github.com/jqmcginnis/build_biomedia_stitching/releases/download/untagged-633501514015af8e9f25/stitching_windows-2019.tar.gz" + URL="https://github.com/jqmcginnis/build_biomedia_stitching/releases/download/refs%2Fpull%2F1%2Fmerge-2981338722/stitching_windows-2019.tar.gz" ;; esac curl -L "$URL" -o stitching.tar.gz From d08e3e1a19fae79af2e12083ebd7d12924e80858 Mon Sep 17 00:00:00 2001 From: Joshua Newton Date: Tue, 18 Oct 2022 11:58:06 -0400 Subject: [PATCH 4/4] `package-binaries.yml`: Update stitching links to use SCT repo --- .github/workflows/package-binaries.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/package-binaries.yml b/.github/workflows/package-binaries.yml index ca10e5a..f8c4cf3 100644 --- a/.github/workflows/package-binaries.yml +++ b/.github/workflows/package-binaries.yml @@ -49,13 +49,13 @@ jobs: run: | case "${{ matrix.os }}" in linux) - URL="https://github.com/jqmcginnis/build_biomedia_stitching/releases/download/refs%2Fpull%2F1%2Fmerge-2981338722/stitching_ubuntu-18.04.tar.gz" + URL="https://github.com/spinalcordtoolbox/build_biomedia_stitching/releases/download/r20221018/stitching_ubuntu-18.04.tar.gz" ;; osx) - URL="https://github.com/jqmcginnis/build_biomedia_stitching/releases/download/refs%2Fpull%2F1%2Fmerge-2981338722/stitching_macos-10.15.tar.gz" + URL="https://github.com/spinalcordtoolbox/build_biomedia_stitching/releases/download/r20221018/stitching_macos-10.15.tar.gz" ;; windows) - URL="https://github.com/jqmcginnis/build_biomedia_stitching/releases/download/refs%2Fpull%2F1%2Fmerge-2981338722/stitching_windows-2019.tar.gz" + URL="https://github.com/spinalcordtoolbox/build_biomedia_stitching/releases/download/r20221018/stitching_windows-2019.tar.gz" ;; esac curl -L "$URL" -o stitching.tar.gz