diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 40f51efbe7..b0eb1ae5bc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -223,6 +223,10 @@ jobs: base-image: alpine build-source: alpine-arm64 os-type: linux-musl + - machine: actuated-arm64 + base-image: debian-arm64 + build-source: actuated-arm64 + os-type: linux-glibc runs-on: ${{ matrix.machine }} timeout-minutes: 60 steps: diff --git a/docker/debian-arm64.dockerfile b/docker/debian-arm64.dockerfile new file mode 100644 index 0000000000..fafa63b840 --- /dev/null +++ b/docker/debian-arm64.dockerfile @@ -0,0 +1,18 @@ +FROM mcr.microsoft.com/dotnet/sdk:8.0.201-bookworm-slim + +RUN apt-get update && \ + apt-get install -y \ + cmake \ + clang \ + make + +# Install older sdks using the install script as there are no arm64 SDK packages. +RUN curl -sSL https://dot.net/v1/dotnet-install.sh --output dotnet-install.sh \ + && echo "SHA256: $(sha256sum dotnet-install.sh)" \ + && echo "5eb82d8578f55cdadcb2edfd35ec649a2c6fc11a682e876b1cd68077badbf794 dotnet-install.sh" | sha256sum -c \ + && chmod +x ./dotnet-install.sh \ + && ./dotnet-install.sh -v 6.0.419 --install-dir /usr/share/dotnet --no-path \ + && ./dotnet-install.sh -v 7.0.406 --install-dir /usr/share/dotnet --no-path \ + && rm dotnet-install.sh + +WORKDIR /project