Skip to content

Commit

Permalink
merge to
Browse files Browse the repository at this point in the history
Change-Id: I045983bdce22a4ba8500c1bffb7f1fb1d3a95c7e
  • Loading branch information
taoye9 committed Oct 9, 2024
1 parent 26627b9 commit f87c2e9
Showing 1 changed file with 43 additions and 43 deletions.
86 changes: 43 additions & 43 deletions .github/workflows/ci-aarch64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,52 +34,52 @@ concurrency:
permissions: read-all

jobs:
macos:
name: macOS
runs-on: macos-14
strategy:
matrix:
toolset: [clang, gcc]
config: [Debug, Release]

steps:
- name: Checkout oneDNN
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
path: oneDNN

- name: Install Scons
uses: threeal/pipx-install-action@b0bf0add7d5aefda03a3d4e47d651df807889e10 # v1.0.0
with:
packages: scons

- name: Build ACL
run: ${{ github.workspace }}/oneDNN/.github/automation/build_acl.sh
env:
ACL_ROOT_DIR: ${{ github.workspace }}/ComputeLibrary
BUILD_TOOLSET: ${{ matrix.toolset }}
ACL_CONFIG: ${{ matrix.config }}
GCC_VERSION: 14

- name: Build oneDNN
run: ${{ github.workspace }}/oneDNN/.github/automation/build_aarch64.sh
working-directory: ${{ github.workspace }}/oneDNN
env:
ACL_ROOT_DIR: ${{ github.workspace }}/ComputeLibrary
BUILD_TOOLSET: ${{ matrix.toolset }}
CMAKE_BUILD_TYPE: ${{ matrix.config }}
GCC_VERSION: 14

- name: Run oneDNN smoke tests
run: ${{ github.workspace }}/oneDNN/.github/automation/test_aarch64.sh
working-directory: ${{ github.workspace }}/oneDNN/build
env:
CMAKE_BUILD_TYPE: ${{ matrix.config }}
DYLD_LIBRARY_PATH: ${{ github.workspace }}/ComputeLibrary/build
# macos:
# name: macOS
# runs-on: macos-14
# strategy:
# matrix:
# toolset: [clang, gcc]
# config: [Debug, Release]

# steps:
# - name: Checkout oneDNN
# uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
# with:
# path: oneDNN

# - name: Install Scons
# uses: threeal/pipx-install-action@b0bf0add7d5aefda03a3d4e47d651df807889e10 # v1.0.0
# with:
# packages: scons

# - name: Build ACL
# run: ${{ github.workspace }}/oneDNN/.github/automation/build_acl.sh
# env:
# ACL_ROOT_DIR: ${{ github.workspace }}/ComputeLibrary
# BUILD_TOOLSET: ${{ matrix.toolset }}
# ACL_CONFIG: ${{ matrix.config }}
# GCC_VERSION: 14

# - name: Build oneDNN
# run: ${{ github.workspace }}/oneDNN/.github/automation/build_aarch64.sh
# working-directory: ${{ github.workspace }}/oneDNN
# env:
# ACL_ROOT_DIR: ${{ github.workspace }}/ComputeLibrary
# BUILD_TOOLSET: ${{ matrix.toolset }}
# CMAKE_BUILD_TYPE: ${{ matrix.config }}
# GCC_VERSION: 14

# - name: Run oneDNN smoke tests
# run: ${{ github.workspace }}/oneDNN/.github/automation/test_aarch64.sh
# working-directory: ${{ github.workspace }}/oneDNN/build
# env:
# CMAKE_BUILD_TYPE: ${{ matrix.config }}
# DYLD_LIBRARY_PATH: ${{ github.workspace }}/ComputeLibrary/build

# We only run the linux aarch64 runners if macOS smoke tests pass.
linux:
needs: macos
# needs: macos
strategy:
matrix:
threading: [OMP, TP]
Expand Down

0 comments on commit f87c2e9

Please # to comment.