Skip to content

Commit

Permalink
ci: add armclang CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
nemequ committed Sep 18, 2024
1 parent 398d1e9 commit 502bf1f
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,35 @@ jobs:
- name: Check for changes
run: git diff --exit-code

armclang:
runs-on: ubuntu-${{ matrix.distro }}
strategy:
matrix:
include:
# https://developer.arm.com/Tools%20and%20Software/Arm%20Compiler%20for%20Linux#Software-Download
- version: "24.04"
distro: "22.04"
steps:
- uses: actions/checkout@v4
- uses: uraimo/run-on-arch-action@v2
name: Run commands
with:
arch: aarch64
distro: ubuntu${{ matrix.distro }}
install: |
apt-get update
apt-get install -y curl python3 libc6-dev make gcc g++
mkdir /tmp/armclang-installer
cd /tmp/armclang-installer
curl -s "https://developer.arm.com/-/cdn-downloads/permalink/Arm-Compiler-for-Linux/Version_${{ matrix.version }}/arm-compiler-for-linux_${{ matrix.version }}_Ubuntu-${{ matrix.distro }}_aarch64.tar" | tar xv
./arm-compiler-for-linux_${{ matrix.version }}_Ubuntu-${{ matrix.distro }}/arm-compiler-for-linux_${{ matrix.version }}_Ubuntu-${{ matrix.distro }}.sh --accept
env: |
CC: /opt/arm/arm-linux-compiler-24.04_Ubuntu-22.04/bin/armclang
CXX: /opt/arm/arm-linux-compiler-24.04_Ubuntu-22.04/bin/armclang++
run: |
cd test
make
clang:
runs-on: ubuntu-${{ matrix.distro }}
strategy:
Expand Down

0 comments on commit 502bf1f

Please sign in to comment.