Skip to content

Commit

Permalink
Merge pull request #104 from KrisThielemans/fixGHA
Browse files Browse the repository at this point in the history
fix GHA workflow
  • Loading branch information
KrisThielemans authored Dec 9, 2024
2 parents f98b6a1 + 6fb0236 commit 20214b8
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 7 deletions.
24 changes: 18 additions & 6 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
name: Build and ctest and recon_test_pack CI
name: Build and ctest CI

on:
push:
branches:
- master
paths-ignore:
- '.appveyor.yml'
- 'appveyor.yml'
- 'azure-pipelines.yml'
- 'CITATION.cff'
- '**/*.md'
- '**/*.html'
Expand All @@ -16,7 +17,8 @@ on:
branches:
- master
paths-ignore:
- '.appveyor.yml'
- 'appveyor.yml'
- 'azure-pipelines.yml'
- 'CITATION.cff'
- '**/*.md'
- '**/*.html'
Expand All @@ -40,7 +42,7 @@ jobs:
BUILD_TYPE: "Debug"
- os: ubuntu-latest
compiler: gcc
compiler_version: 13
compiler_version: 12
BUILD_TYPE: "Release"
- os: ubuntu-latest
compiler: clang
Expand Down Expand Up @@ -106,7 +108,9 @@ jobs:
sudo apt install $CXX
fi
# other dependencies
sudo apt install libinsighttoolkit5-dev
# note: v5 is distributed without the REVIEW module
sudo apt install libinsighttoolkit4-dev
;;
(macOS*)
brew install itk
;;
Expand Down Expand Up @@ -173,4 +177,12 @@ jobs:
set -vx
cd ${GITHUB_WORKSPACE}/build
cpack
# outputs PETPVC-1.*.*.sh, .tar.gz and .tar.Z
- name: Upload cpack output
uses: actions/upload-artifact@v4
with:
name: cpack_files-${{ matrix.os }}-${{ matrix.compiler }}${{ matrix.compiler_version }}-${{ matrix.BUILD_TYPE }}
path: |
${{ github.workspace }}/build/PETPVC-*.*.*.*
retention-days: 10
26 changes: 26 additions & 0 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
cff-version: 1.2.0
title: PETPVC PET Partial Volume Correction
message: >-
If you use this software, please cite it using the
metadata from this file.
type: software
authors:
- family-names: Thomas
given-names: Benjamin
orcid: 'https://orcid.org/0000-0002-9784-1177'
affiliation: University College London
- family-names: Thielemans
given-names: Kris
orcid: 'https://orcid.org/0000-0002-5514-199X'
affiliation: University College London
identifiers:
- type: doi
value: 10.1088/0031-9155/61/22/7975
repository-code: 'https://github.com/UCL/PETPVC'
keywords:
- pet
- spect
- medical imaging
- partial volume correction
- open-source software
license: Apache-2.0
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# PETPVC
[![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)
[![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)

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

Expand Down
10 changes: 10 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
skip_commits:
files:
- .github/**/*
- 'azure-pipelines.yml'
- 'CITATION.cff'
- '**/*.md'
- '**/*.html'
- '**/*.htm'
- '**/*.tex'

# version format
version: "{build}"

Expand Down

0 comments on commit 20214b8

Please sign in to comment.