Skip to content

Commit

Permalink
Add arm64 debian container tests
Browse files Browse the repository at this point in the history
  • Loading branch information
RassK committed Feb 29, 2024
1 parent 245a8aa commit 65b7908
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
18 changes: 18 additions & 0 deletions docker/debian-arm64.dockerfile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 65b7908

Please sign in to comment.