-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ac36ec8
commit 729d280
Showing
1 changed file
with
6 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,12 +38,10 @@ jobs: | |
qt_host: mac | ||
qt_arch: clang_64 | ||
test_pref: '' | ||
codesign_cert: 'Developer ID Application: Paul Yushkevich (5A636Q488D)' | ||
- os: macos-14 | ||
qt_host: mac | ||
qt_arch: clang_64 | ||
test_pref: '' | ||
codesign_cert: 'Developer ID Application: Paul Yushkevich (5A636Q488D)' | ||
- os: windows-2022 | ||
qt_host: windows | ||
qt_arch: win64_msvc2019_64 | ||
|
@@ -202,7 +200,7 @@ jobs: | |
# Configure ITK-SNAP | ||
- name: Configure ITK-SNAP | ||
uses: threeal/[email protected] | ||
continue-on-error: true | ||
continue-on-error: false | ||
with: | ||
source-dir: ${{github.workspace}}/itksnap | ||
build-dir: ${{github.workspace}}/itksnap/build | ||
|
@@ -217,7 +215,7 @@ jobs: | |
SITE=github-runner-${{ matrix.os }} | ||
${{ runner.os == 'Windows' && format('CURL_LIBRARY={0}/vcpkg/installed/x64-windows-release/lib/libcurl.lib', github.workspace) || '' }} | ||
${{ runner.os == 'Windows' && format('CURL_INCLUDE_DIR={0}/vcpkg/installed/x64-windows-release/include', github.workspace) || '' }} | ||
${{ runner.os == 'MacOS' && format('SNAP_MACOSX_CODESIGN_CERT={0}', matrix.codesign_cert) || '' }} | ||
${{ runner.os == 'MacOS' && 'SNAP_MACOSX_CODESIGN_CERT=my_itksnap_cert' || '' }} | ||
# Build ITK-SNAP using CDash | ||
- name: Build and Test ITK-SNAP | ||
|
@@ -256,7 +254,7 @@ jobs: | |
security create-keychain -p "" build.keychain | ||
security default-keychain -s build.keychain | ||
security unlock-keychain -p "" build.keychain | ||
security import Utilities/MacOS/apple_developer_for_github.p12 -k build.keychain -P "$CODESIGN_P12_KEY" -T /usr/bin/codesign | ||
security import Utilities/MacOS/apple_developer_for_github.p12 -k build.keychain -P "$CODESIGN_P12_KEY" -T /usr/bin/codesign -l my_itksnap_cert | ||
security set-key-partition-list -S apple-tool:,apple: -s -k "" build.keychain | ||
- name: Setup tmate session | ||
|
@@ -265,10 +263,11 @@ jobs: | |
|
||
# Package ITK-SNAP | ||
- name: Package ITK-SNAP | ||
continue-on-error: true | ||
continue-on-error: false | ||
working-directory: ${{github.workspace}}/itksnap/build | ||
shell: bash | ||
run: | | ||
ninja package | ||
cmake --build . --target package | ||
# Extract the filename of ITK-SNAP package | ||
- name: Read package name | ||
|