Skip to content

Commit

Permalink
ci: add arm64x build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gemesa committed Dec 20, 2024
1 parent e9a8c40 commit 6a964a4
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/build-arm64x.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: build (arm64x)

on: [push]

jobs:
build-arm64x:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Pull AMD64 image
run: |
docker pull gemesa/arm64x:latest
- name: Run AMD64 container
run: |
docker run \
--rm \
-v "${{ github.workspace }}":/workspace \
gemesa/arm64x:latest \
make arm64x
10 changes: 10 additions & 0 deletions Dockerfilex
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM fedora:latest

RUN dnf upgrade --refresh -y
RUN dnf install make -y
RUN dnf install llvm -y
RUN dnf install gcc-aarch64-linux-gnu -y
RUN dnf install binutils-aarch64-linux-gnu -y
RUN dnf install sysroot-aarch64-fc41-glibc -y

WORKDIR /workspace

0 comments on commit 6a964a4

Please sign in to comment.