Skip to content

Update Makefile

Update Makefile #4

Workflow file for this run

name: Build ISO
on:
push:
paths-ignore:
- "**/*.md"
- '**/*.txt'
pull_request:
paths-ignore:
- "**/*.md"
- '**/*.txt'
workflow_dispatch:
concurrency:
group: ${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup
run: |
sudo apt update
sudo apt-get install build-essential libbsd-dev git pkg-config \
openjdk-8-jdk-headless openjdk-11-jdk-headless
git clone --recurse-submodules https://github.com/john-tornblom/bdj-sdk
ln -s /usr/lib/jvm/java-8-openjdk-amd64 bdj-sdk/host/jdk8
ln -s /usr/lib/jvm/java-11-openjdk-amd64 bdj-sdk/host/jdk11
make -C bdj-sdk/host/src/makefs_termux
make -C bdj-sdk/host/src/makefs_termux install DESTDIR=$PWD/bdj-sdk/host
make -C bdj-sdk/target
- name: Build
run: make BDJSDK_HOME=bdj-sdk
- name: Upload
uses: actions/upload-artifact@main
with:
name: etaHEN-BDJ-ISO
path: etaHEN-BDJ.iso
if-no-files-found: error