Skip to content

Commit

Permalink
Create build.yml
Browse files Browse the repository at this point in the history
Compile for ARM64 Ubuntu
  • Loading branch information
erfansvsh authored Nov 13, 2024
1 parent 8573b52 commit 22164d4
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Build DaedalusX64

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
arch: [arm64]

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
with:
platforms: arm64

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Install dependencies
run: |
sudo apt update
sudo apt install -y build-essential libpng-dev zlib1g-dev libminizip-dev libglew-dev libsdl2-dev
- name: Build DaedalusX64
run: |
git clone https://github.com/DaedalusX64/daedalus.git
cd daedalus
make -j$(nproc)
- name: Package as AppImage
run: |
sudo apt install -y appimagetool
./appimagetool.AppImage ./daedalus.AppDir
- name: Upload AppImage
uses: actions/upload-artifact@v2
with:
name: DaedalusX64-AppImage
path: ./daedalus/daedalus.AppImage

0 comments on commit 22164d4

Please sign in to comment.