Skip to content

Commit 20214b8

Browse files
Merge pull request #104 from KrisThielemans/fixGHA
fix GHA workflow
2 parents f98b6a1 + 6fb0236 commit 20214b8

File tree

4 files changed

+55
-7
lines changed

4 files changed

+55
-7
lines changed

.github/workflows/build-test.yml

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
name: Build and ctest and recon_test_pack CI
1+
name: Build and ctest CI
22

33
on:
44
push:
55
branches:
66
- master
77
paths-ignore:
8-
- '.appveyor.yml'
8+
- 'appveyor.yml'
9+
- 'azure-pipelines.yml'
910
- 'CITATION.cff'
1011
- '**/*.md'
1112
- '**/*.html'
@@ -16,7 +17,8 @@ on:
1617
branches:
1718
- master
1819
paths-ignore:
19-
- '.appveyor.yml'
20+
- 'appveyor.yml'
21+
- 'azure-pipelines.yml'
2022
- 'CITATION.cff'
2123
- '**/*.md'
2224
- '**/*.html'
@@ -40,7 +42,7 @@ jobs:
4042
BUILD_TYPE: "Debug"
4143
- os: ubuntu-latest
4244
compiler: gcc
43-
compiler_version: 13
45+
compiler_version: 12
4446
BUILD_TYPE: "Release"
4547
- os: ubuntu-latest
4648
compiler: clang
@@ -106,7 +108,9 @@ jobs:
106108
sudo apt install $CXX
107109
fi
108110
# other dependencies
109-
sudo apt install libinsighttoolkit5-dev
111+
# note: v5 is distributed without the REVIEW module
112+
sudo apt install libinsighttoolkit4-dev
113+
;;
110114
(macOS*)
111115
brew install itk
112116
;;
@@ -173,4 +177,12 @@ jobs:
173177
set -vx
174178
cd ${GITHUB_WORKSPACE}/build
175179
cpack
176-
180+
# outputs PETPVC-1.*.*.sh, .tar.gz and .tar.Z
181+
182+
- name: Upload cpack output
183+
uses: actions/upload-artifact@v4
184+
with:
185+
name: cpack_files-${{ matrix.os }}-${{ matrix.compiler }}${{ matrix.compiler_version }}-${{ matrix.BUILD_TYPE }}
186+
path: |
187+
${{ github.workspace }}/build/PETPVC-*.*.*.*
188+
retention-days: 10

CITATION.cff

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
cff-version: 1.2.0
2+
title: PETPVC PET Partial Volume Correction
3+
message: >-
4+
If you use this software, please cite it using the
5+
metadata from this file.
6+
type: software
7+
authors:
8+
- family-names: Thomas
9+
given-names: Benjamin
10+
orcid: 'https://orcid.org/0000-0002-9784-1177'
11+
affiliation: University College London
12+
- family-names: Thielemans
13+
given-names: Kris
14+
orcid: 'https://orcid.org/0000-0002-5514-199X'
15+
affiliation: University College London
16+
identifiers:
17+
- type: doi
18+
value: 10.1088/0031-9155/61/22/7975
19+
repository-code: 'https://github.com/UCL/PETPVC'
20+
keywords:
21+
- pet
22+
- spect
23+
- medical imaging
24+
- partial volume correction
25+
- open-source software
26+
license: Apache-2.0

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# PETPVC
2-
[![Build Status](https://dev.azure.com/petpvc/petpvc/_apis/build/status/UCL.PETPVC?branchName=master)](https://dev.azure.com/petpvc/petpvc/_build/latest?definitionId=1&branchName=master) [![Build status](https://ci.appveyor.com/api/projects/status/7kk9ua9r0lybinwa/branch/master?svg=true)](https://ci.appveyor.com/project/bathomas/petpvc/branch/master) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/ab83c41f20194c2c82fbc74e8788f928)](https://www.codacy.com/app/bathomas/PETPVC?utm_source=github.com&utm_medium=referral&utm_content=UCL/PETPVC&utm_campaign=badger) [![DOI](https://zenodo.org/badge/17082200.svg)](https://zenodo.org/badge/latestdoi/17082200)
2+
[![Build and ctest and recon_test_pack CI](https://github.com/UCL/PETPVC/actions/workflows/build-test.yml/badge.svg)](https://github.com/UCL/PETPVC/actions/workflows/build-test.yml)[![Build Status](https://dev.azure.com/petpvc/petpvc/_apis/build/status/UCL.PETPVC?branchName=master)](https://dev.azure.com/petpvc/petpvc/_build/latest?definitionId=1&branchName=master) [![Build status](https://ci.appveyor.com/api/projects/status/7kk9ua9r0lybinwa/branch/master?svg=true)](https://ci.appveyor.com/project/bathomas/petpvc/branch/master) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/ab83c41f20194c2c82fbc74e8788f928)](https://www.codacy.com/app/bathomas/PETPVC?utm_source=github.com&utm_medium=referral&utm_content=UCL/PETPVC&utm_campaign=badger) [![DOI](https://zenodo.org/badge/17082200.svg)](https://zenodo.org/badge/latestdoi/17082200)
33

44
PETPVC: toolbox for partial volume correction (PVC) in positron emission tomography (PET)
55

appveyor.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
skip_commits:
2+
files:
3+
- .github/**/*
4+
- 'azure-pipelines.yml'
5+
- 'CITATION.cff'
6+
- '**/*.md'
7+
- '**/*.html'
8+
- '**/*.htm'
9+
- '**/*.tex'
10+
111
# version format
212
version: "{build}"
313

0 commit comments

Comments
 (0)