forked from ps5-payload-dev/bdj-ipv6-hen
-
Notifications
You must be signed in to change notification settings - Fork 1
46 lines (39 loc) · 1.13 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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