diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 8bb89f6..e4540d0 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -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' @@ -16,7 +17,8 @@ on: branches: - master paths-ignore: - - '.appveyor.yml' + - 'appveyor.yml' + - 'azure-pipelines.yml' - 'CITATION.cff' - '**/*.md' - '**/*.html' @@ -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 @@ -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 ;; @@ -173,4 +177,12 @@ jobs: set -vx cd ${GITHUB_WORKSPACE}/build cpack - \ No newline at end of file + # 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 diff --git a/CITATION.cff b/CITATION.cff new file mode 100644 index 0000000..5802889 --- /dev/null +++ b/CITATION.cff @@ -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 diff --git a/README.md b/README.md index 82abf4b..84f1257 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/appveyor.yml b/appveyor.yml index 74cb670..d68c686 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,3 +1,13 @@ +skip_commits: + files: + - .github/**/* + - 'azure-pipelines.yml' + - 'CITATION.cff' + - '**/*.md' + - '**/*.html' + - '**/*.htm' + - '**/*.tex' + # version format version: "{build}"