Enable build-knulli using debian:trixie container
Runs the job inside debian:trixie (same as the Dockerfile) with Node.js pre-installed before checkout. Installs arm64 cross-compilation deps and runs build-knulli.sh directly. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+54
-19
@@ -94,25 +94,60 @@ jobs:
|
|||||||
# path: ./git-artifcats/Dusk
|
# path: ./git-artifcats/Dusk
|
||||||
# if-no-files-found: error
|
# if-no-files-found: error
|
||||||
|
|
||||||
# build-knulli:
|
build-knulli:
|
||||||
# runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# steps:
|
container:
|
||||||
# - name: Checkout repository
|
image: debian:trixie
|
||||||
# uses: actions/checkout@v4
|
steps:
|
||||||
# - name: Set up Docker
|
- name: Install Node.js
|
||||||
# uses: docker/setup-docker-action@v5
|
run: apt-get update && apt-get install -y nodejs
|
||||||
# - name: Build knulli
|
- name: Checkout repository
|
||||||
# run: ./scripts/build-knulli-docker.sh
|
uses: actions/checkout@v4
|
||||||
# - name: Move output to Dusk subfolder
|
- name: Install dependencies
|
||||||
# run: |
|
run: |
|
||||||
# mkdir -p ./git-artifcats/Dusk
|
dpkg --add-architecture arm64
|
||||||
# cp -r build-knulli/dusk ./git-artifcats/Dusk
|
apt-get update
|
||||||
# - name: Upload knulli binary
|
apt-get install -y --no-install-recommends \
|
||||||
# uses: actions/upload-artifact@v3
|
crossbuild-essential-arm64 \
|
||||||
# with:
|
ca-certificates \
|
||||||
# name: dusk-knulli
|
pkg-config \
|
||||||
# path: ./git-artifcats/Dusk
|
cmake \
|
||||||
# if-no-files-found: error
|
make \
|
||||||
|
ninja-build \
|
||||||
|
git \
|
||||||
|
file \
|
||||||
|
python3 \
|
||||||
|
python3-pip \
|
||||||
|
python3-polib \
|
||||||
|
python3-pil \
|
||||||
|
python3-dotenv \
|
||||||
|
python3-pyqt5 \
|
||||||
|
python3-opengl \
|
||||||
|
liblua5.4-dev:arm64 \
|
||||||
|
xz-utils:arm64 \
|
||||||
|
libbz2-dev:arm64 \
|
||||||
|
zlib1g-dev:arm64 \
|
||||||
|
libzip-dev:arm64 \
|
||||||
|
libssl-dev:arm64 \
|
||||||
|
libsdl2-dev:arm64 \
|
||||||
|
liblzma-dev:arm64 \
|
||||||
|
libopengl0:arm64 \
|
||||||
|
libgl1:arm64 \
|
||||||
|
libegl1:arm64 \
|
||||||
|
libgles2:arm64 \
|
||||||
|
libgl1-mesa-dev:arm64
|
||||||
|
- name: Build Knulli
|
||||||
|
run: ./scripts/build-knulli.sh
|
||||||
|
- name: Move output to Dusk subfolder
|
||||||
|
run: |
|
||||||
|
mkdir -p ./git-artifcats/Dusk
|
||||||
|
cp -r build-knulli/dusk ./git-artifcats/Dusk
|
||||||
|
- name: Upload knulli binary
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: dusk-knulli
|
||||||
|
path: ./git-artifcats/Dusk
|
||||||
|
if-no-files-found: error
|
||||||
|
|
||||||
# build-gamecube:
|
# build-gamecube:
|
||||||
# runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
|
|||||||
Reference in New Issue
Block a user