-
-
Notifications
You must be signed in to change notification settings - Fork 668
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ENH: Add macOS ARM GitHub Actions configuration #4519
Merged
thewtex
merged 5 commits into
InsightSoftwareConsortium:master
from
thewtex:macos-arm-ci
Apr 11, 2024
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
6e88ab6
COMP: Bump Validated CMake policies version to 3.29.0
thewtex cdd8be3
COMP: Bump zlib-ng CMake max policy to 3.29.0
thewtex 7231bf7
COMP: Apple Clang 15 duplicate libraries
thewtex 75e08fc
COMP: ResampleImageFilter9 baseline for ARM macOS
thewtex 99d13a4
ENH: Add macOS ARM GitHub Actions configuration
thewtex File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
---|---|---|
@@ -0,0 +1,86 @@ | ||
name: ITK.macOS.Arm64 | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- 'release*' | ||
paths-ignore: | ||
- '*.md' | ||
- LICENSE | ||
- NOTICE | ||
- 'Documentation/**' | ||
- 'Utilities/Debugger/**' | ||
- 'Utilities/ITKv5Preparation/**' | ||
- 'Utilities/Maintenance/**' | ||
pull_request: | ||
paths-ignore: | ||
- '*.md' | ||
- LICENSE | ||
- NOTICE | ||
- 'Documentation/**' | ||
- 'Utilities/Debugger/**' | ||
- 'Utilities/ITKv5Preparation/**' | ||
- 'Utilities/Maintenance/**' | ||
|
||
env: | ||
ExternalDataVersion: 5.3.0 | ||
|
||
jobs: | ||
macOS: | ||
runs-on: macos-14 | ||
timeout-minutes: 0 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 5 | ||
clean: true | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.11' | ||
|
||
- name: Install dependencies | ||
run: | | ||
set -x | ||
python3 -m pip install ninja | ||
python3 -m pip install --upgrade setuptools | ||
python3 -m pip install scikit-ci-addons | ||
python3 -m pip install lxml | ||
|
||
- name: Download dashboard script and testing data | ||
run: | | ||
set -x | ||
git clone -b dashboard --single-branch https://github.com/InsightSoftwareConsortium/ITK.git ITK-dashboard | ||
|
||
curl -L https://github.com/InsightSoftwareConsortium/ITK/releases/download/v${{ env.ExternalDataVersion }}/InsightData-${{ env.ExternalDataVersion }}.tar.gz -O | ||
cmake -E tar xfz InsightData-${{ env.ExternalDataVersion }}.tar.gz | ||
cmake -E rename InsightToolkit-${{ env.ExternalDataVersion }}/.ExternalData/MD5 ${{ github.workspace }}/.ExternalData/MD5 | ||
|
||
- name: Configure CTest script | ||
run: | | ||
cat > ITK-dashboard/dashboard.cmake << EOF | ||
set(CTEST_BUILD_CONFIGURATION "Release") | ||
set(CTEST_CMAKE_GENERATOR "Ninja") | ||
set(dashboard_cache " | ||
BUILD_SHARED_LIBS:BOOL=ON | ||
BUILD_EXAMPLES:BOOL=ON | ||
ITK_WRAP_PYTHON:BOOL=OFF | ||
ITK_USE_CLANG_FORMAT:BOOL=OFF | ||
") | ||
include(${{ github.workspace }}/ITK-dashboard/github_actions_dashboard.cmake) | ||
EOF | ||
cat ITK-dashboard/dashboard.cmake | ||
|
||
- name: Build and test | ||
run: | | ||
set -x | ||
|
||
c++ --version | ||
cmake --version | ||
|
||
ctest -S ${{ github.workspace }}/ITK-dashboard/dashboard.cmake -VV -j 4 | ||
env: | ||
CTEST_OUTPUT_ON_FAILURE: 1 |
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
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
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
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
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
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
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
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
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
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
1 change: 1 addition & 0 deletions
1
Testing/Data/Baseline/Filtering/ResampleImageFilter9TestPixelCentered.5.png.cid
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
bafkreibx5jakzrnnkua475ceigcciipkve4cdlkcxcv4x4u3u2jj4klwxm |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!