Skip to content

Commit 02b33c1

Browse files
committed
github: workflows: Move CI into dedicated AArch64 folders
Signed-off-by: Hamza Butt <[email protected]>
1 parent 5dc2e69 commit 02b33c1

File tree

10 files changed

+22
-20
lines changed

10 files changed

+22
-20
lines changed

.github/automation/build_aarch64.sh .github/automation/aarch64/build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ set -o errexit -o pipefail -o noclobber
2424
SCRIPT_DIR="$(dirname "$(readlink -f "$0")")"
2525

2626
# Defines MP, CC, CXX and OS.
27-
source ${SCRIPT_DIR}/common_aarch64.sh
27+
source ${SCRIPT_DIR}/common.sh
2828

2929
export ACL_ROOT_DIR=${ACL_ROOT_DIR:-"${PWD}/ComputeLibrary"}
3030

.github/automation/build_acl.sh .github/automation/aarch64/build_acl.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ set -o errexit -o pipefail -o noclobber
2424
SCRIPT_DIR="$(dirname "$(readlink -f "$0")")"
2525

2626
# Defines MP, CC, CXX and OS.
27-
source ${SCRIPT_DIR}/common_aarch64.sh
27+
source ${SCRIPT_DIR}/common.sh
2828

2929
ACL_BUILD_TYPE=${ACL_BUILD_TYPE:-"Release"}
3030
ACL_ROOT_DIR=${ACL_ROOT_DIR:-"${PWD}/ComputeLibrary"}
File renamed without changes.

.github/automation/common_aarch64.sh .github/automation/aarch64/common.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#! /bin/bash
22

33
# *******************************************************************************
4-
# Copyright 2024 Arm Limited and affiliates.
4+
# Copyright 2024-2025 Arm Limited and affiliates.
55
# SPDX-License-Identifier: Apache-2.0
66
#
77
# Licensed under the Apache License, Version 2.0 (the "License");

.github/automation/get_acl.sh .github/automation/aarch64/get_acl.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#! /bin/bash
22

33
# *******************************************************************************
4-
# Copyright 2024 Arm Limited and affiliates.
4+
# Copyright 2024-2025 Arm Limited and affiliates.
55
# SPDX-License-Identifier: Apache-2.0
66
#
77
# Licensed under the Apache License, Version 2.0 (the "License");

.github/automation/test_aarch64.sh .github/automation/aarch64/test.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ set -o errexit -o pipefail -o noclobber
2424
SCRIPT_DIR="$(dirname "$(readlink -f "$0")")"
2525

2626
# Defines MP, CC, CXX and OS.
27-
source ${SCRIPT_DIR}/common_aarch64.sh
27+
source ${SCRIPT_DIR}/common.sh
2828

2929
# AArch64 does not officially support graph for now.
3030
SKIPPED_GRAPH_TEST_FAILURES="test_graph_unit_dnnl_sdp_decomp_cpu"

.github/workflows/aarch64-acl.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ jobs:
5050
- name: Read version file
5151
id: get-versions
5252
run: |
53-
content=`cat ${{ github.workspace }}/oneDNN/.github/automation/ci-aarch64.json`
53+
content=`cat ${{ github.workspace }}/oneDNN/.github/automation/aarch64/ci.json`
5454
content="${content//[$'\t\r\n$ ']}"
5555
echo "output=$content" >> $GITHUB_OUTPUT
5656
5757
- name: Clone ACL
58-
run: ${{ github.workspace }}/oneDNN/.github/automation/build_acl.sh
58+
run: ${{ github.workspace }}/oneDNN/.github/automation/aarch64/build_acl.sh
5959
env:
6060
ACL_ACTION: clone
6161
ACL_ROOT_DIR: ${{ github.workspace }}/ComputeLibrary
@@ -106,7 +106,7 @@ jobs:
106106

107107
- name: Build ACL
108108
if: ${{ steps.cache-acl-restore.outputs.cache-hit != 'true' }}
109-
run: ${{ github.workspace }}/oneDNN/.github/automation/build_acl.sh
109+
run: ${{ github.workspace }}/oneDNN/.github/automation/aarch64/build_acl.sh
110110
env:
111111
ACL_ACTION: build
112112
ACL_ROOT_DIR: ${{ github.workspace }}/ComputeLibrary

.github/workflows/ci-aarch64.yml

+7-5
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ on:
4444
- "src/cpu/aarch64/**"
4545
- "tests/**"
4646
- "CMakeLists.txt"
47+
#* allow manual trigger of workflow when needed.
48+
workflow_dispatch:
4749

4850
#* Stop stale workflows when pull requests are updated: https://stackoverflow.com/a/70972844
4951
#* Does not apply to the main branch.
@@ -81,7 +83,7 @@ jobs:
8183
- name: Read version file
8284
id: get-versions
8385
run: |
84-
content=`cat ${{ github.workspace }}/oneDNN/.github/automation/ci-aarch64.json`
86+
content=`cat ${{ github.workspace }}/oneDNN/.github/automation/aarch64/ci.json`
8587
content="${content//[$'\t\r\n$ ']}"
8688
echo "output=$content" >> $GITHUB_OUTPUT
8789
@@ -110,7 +112,7 @@ jobs:
110112
version: ${{ fromJson(steps.get-versions.outputs.output).dependencies.clang }}
111113

112114
- name: Clone ACL
113-
run: ${{ github.workspace }}/oneDNN/.github/automation/build_acl.sh
115+
run: ${{ github.workspace }}/oneDNN/.github/automation/aarch64/build_acl.sh
114116
env:
115117
ACL_ACTION: clone
116118
ACL_ROOT_DIR: ${{ github.workspace }}/ComputeLibrary
@@ -132,7 +134,7 @@ jobs:
132134
path: ${{ github.workspace }}/ComputeLibrary/build
133135

134136
- name: Configure oneDNN
135-
run: ${{ github.workspace }}/oneDNN/.github/automation/build_aarch64.sh
137+
run: ${{ github.workspace }}/oneDNN/.github/automation/aarch64/build.sh
136138
working-directory: ${{ github.workspace }}/oneDNN
137139
env:
138140
ACL_ROOT_DIR: ${{ github.workspace }}/ComputeLibrary
@@ -145,13 +147,13 @@ jobs:
145147
ONEDNN_THREADING: ${{ matrix.config.threading }}
146148

147149
- name: Build oneDNN
148-
run: ${{ github.workspace }}/oneDNN/.github/automation/build_aarch64.sh
150+
run: ${{ github.workspace }}/oneDNN/.github/automation/aarch64/build.sh
149151
working-directory: ${{ github.workspace }}/oneDNN
150152
env:
151153
ONEDNN_ACTION: build
152154

153155
- name: Run oneDNN tests
154-
run: ${{ github.workspace }}/oneDNN/.github/automation/test_aarch64.sh
156+
run: ${{ github.workspace }}/oneDNN/.github/automation/aarch64/test.sh
155157
working-directory: ${{ github.workspace }}/oneDNN/build
156158
env:
157159
BUILD_TOOLSET: ${{ matrix.config.toolset }}

.github/workflows/nightly-aarch64.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
- name: Read version file
7171
id: get-versions
7272
run: |
73-
content=`cat ${{ github.workspace }}/oneDNN/.github/automation/ci-aarch64.json`
73+
content=`cat ${{ github.workspace }}/oneDNN/.github/automation/aarch64/ci.json`
7474
content="${content//[$'\t\r\n$ ']}"
7575
echo "output=$content" >> $GITHUB_OUTPUT
7676
@@ -81,7 +81,7 @@ jobs:
8181
sudo apt install -y g++-${{ fromJson(steps.get-versions.outputs.output).dependencies.gcc }}
8282
8383
- name: Clone ACL
84-
run: ${{ github.workspace }}/oneDNN/.github/automation/build_acl.sh
84+
run: ${{ github.workspace }}/oneDNN/.github/automation/aarch64/build_acl.sh
8585
env:
8686
ACL_ACTION: clone
8787
ACL_ROOT_DIR: ${{ github.workspace }}/ComputeLibrary
@@ -103,7 +103,7 @@ jobs:
103103
path: ${{ github.workspace }}/ComputeLibrary/build
104104

105105
- name: Configure oneDNN
106-
run: ${{ github.workspace }}/oneDNN/.github/automation/build_aarch64.sh
106+
run: ${{ github.workspace }}/oneDNN/.github/automation/aarch64/build.sh
107107
working-directory: ${{ github.workspace }}/oneDNN
108108
env:
109109
ACL_ROOT_DIR: ${{ github.workspace }}/ComputeLibrary
@@ -116,13 +116,13 @@ jobs:
116116
ONEDNN_THREADING: ${{ matrix.config.threading }}
117117

118118
- name: Build oneDNN
119-
run: ${{ github.workspace }}/oneDNN/.github/automation/build_aarch64.sh
119+
run: ${{ github.workspace }}/oneDNN/.github/automation/aarch64/build.sh
120120
working-directory: ${{ github.workspace }}/oneDNN
121121
env:
122122
ONEDNN_ACTION: build
123123

124124
- name: Run oneDNN tests
125-
run: ${{ github.workspace }}/oneDNN/.github/automation/test_aarch64.sh
125+
run: ${{ github.workspace }}/oneDNN/.github/automation/aarch64/test.sh
126126
working-directory: ${{ github.workspace }}/oneDNN/build
127127
env:
128128
BUILD_TOOLSET: ${{ matrix.config.toolset }}

.gitignore

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#===============================================================================
22
# Copyright 2019-2021 Intel Corporation
3-
# Copyright 2024 Arm Limited and affiliates.
3+
# Copyright 2024-2025 Arm Limited and affiliates.
44
#
55
# Licensed under the Apache License, Version 2.0 (the "License");
66
# you may not use this file except in compliance with the License.
@@ -15,7 +15,7 @@
1515
# limitations under the License.
1616
#===============================================================================
1717

18-
build*
18+
/build*
1919
external
2020
.vs
2121
.vscode

0 commit comments

Comments
 (0)