Skip to content
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

Restricted AArch64 CI to relevant changes #2259

Merged
merged 2 commits into from
Dec 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 28 additions & 5 deletions .github/workflows/ci-aarch64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,29 @@ name: "CI AArch64"
#* https://github.com/orgs/community/discussions/26940#discussioncomment-5686753
on:
push:
branches: [ main, 'rls-*' ]
paths:
- '.github/**'
- 'cmake/**'
- 'examples/**'
- 'include/**'
- 'src/cpu/*'
- 'src/cpu/common/**'
- 'src/cpu/aarch64/**'
- 'tests/**'
- 'CMakeLists.txt'
pull_request:
types: [opened, synchronize, reopened]
paths:
- '.github/**'
- 'cmake/**'
- 'examples/**'
- 'include/**'
- 'src/cpu/*'
- 'src/cpu/common/**'
- 'src/cpu/aarch64/**'
- 'tests/**'
- 'CMakeLists.txt'

#* Stop stale workflows when pull requests are updated: https://stackoverflow.com/a/70972844
#* Does not apply to the main branch.
Expand All @@ -39,7 +60,7 @@ jobs:
matrix:
config: [
{ name: MacOS, label: macos-14, threading: SEQ, toolset: clang, build: Release, testset: SMOKE },
{ name: c6g, label: ah-ubuntu_22_04-c6g_4x-50, threading: OMP, toolset: gcc, build: Release, testset: CI },
{ name: c6g, label: ah-ubuntu_22_04-c6g_4x-50, threading: OMP, toolset: gcc, build: Release, testset: CI },
{ name: c6g, label: ah-ubuntu_22_04-c6g_2x-50, threading: OMP, toolset: clang, build: Debug, testset: SMOKE },
{ name: c7g, label: ah-ubuntu_22_04-c7g_4x-50, threading: OMP, toolset: gcc, build: Release, testset: CI }
]
Expand Down Expand Up @@ -87,7 +108,7 @@ jobs:
- name: Get ACL commit hash for cache key
id: get_acl_commit_hash
run: (cd ${{ github.workspace }}/ComputeLibrary && echo "ACLCommitHash=$(git rev-parse --short HEAD)") >> $GITHUB_OUTPUT

- name: Get system name
id: get_system_name
run: (echo "SystemName=$(uname)") >> $GITHUB_OUTPUT
Expand Down Expand Up @@ -150,11 +171,13 @@ jobs:
BUILD_TOOLSET: ${{ matrix.config.toolset }}
CMAKE_BUILD_TYPE: ${{ matrix.config.build }}
DYLD_LIBRARY_PATH: ${{ github.workspace }}/ComputeLibrary/build
ONEDNN_THREADING: ${{ matrix.config.threading }}

AArch64:
ONEDNN_THREADING: ${{ matrix.config.threading }}
# This job adds a check named "CI AArch64" that represents overall
# workflow status and can be used in branch rulesets
status:
needs: build-and-test
runs-on: ubuntu-latest
name: "CI AArch64"
steps:
- name: Print success
run: echo Success
Loading