Skip to content

Commit

Permalink
Circle CI: Add Linux AArch64 job
Browse files Browse the repository at this point in the history
  • Loading branch information
kinke committed Jul 15, 2023
1 parent 8323867 commit 3a93e7b
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ commonSteps: &commonSteps
python3 -m pip install --user lit
python3 -c "import lit.main; lit.main.main();" --version . | head -n 1
# Download & extract host LDC
curl -fL --retry 3 --max-time 300 -o ldc2.tar.xz https://github.com/ldc-developers/ldc/releases/download/v$HOST_LDC_VERSION/ldc2-$HOST_LDC_VERSION-$CI_OS-x86_64.tar.xz
curl -fL --retry 3 --max-time 300 -o ldc2.tar.xz https://github.com/ldc-developers/ldc/releases/download/v$HOST_LDC_VERSION/ldc2-$HOST_LDC_VERSION-$CI_OS-${CI_ARCH:-x86_64}.tar.xz
mkdir host-ldc
tar -xf ldc2.tar.xz --strip 1 -C host-ldc
rm ldc2.tar.xz
Expand Down Expand Up @@ -122,6 +122,18 @@ jobs:
- EXTRA_APT_PACKAGES: gdmd llvm-dev libclang-common-10-dev
- HOST_LDC_VERSION: 1.24.0
- EXTRA_CMAKE_FLAGS: "-DBUILD_SHARED_LIBS=ON -DBUILD_LTO_LIBS=ON -DD_COMPILER=gdmd -DLDC_LINK_MANUALLY=ON"
Ubuntu-20.04-aarch64:
<<: *commonSteps
machine:
image: ubuntu-2004:current
resource_class: arm.large
environment:
- PARALLELISM: 4
- CI_OS: linux
- CI_ARCH: aarch64
- EXTRA_APT_PACKAGES: llvm-dev libclang-common-10-dev
- HOST_LDC_VERSION: 1.30.0
- EXTRA_CMAKE_FLAGS: "-DBUILD_LTO_LIBS=ON"
macOS-x64:
<<: *commonSteps
macos:
Expand Down Expand Up @@ -151,5 +163,6 @@ workflows:
jobs:
- Ubuntu-20.04-multilib-rtSanitizers
- Ubuntu-20.04-sharedLibsOnly-gdmd
- macOS-x64
- macOS-x64-sharedLibsOnly
- Ubuntu-20.04-aarch64
#- macOS-x64
#- macOS-x64-sharedLibsOnly

0 comments on commit 3a93e7b

Please sign in to comment.