Skip to content

Commit 5713e9c

Browse files
ci: add ps2dev latest compile job alongside ps2max
1 parent 5e89de6 commit 5713e9c

1 file changed

Lines changed: 62 additions & 0 deletions

File tree

.github/workflows/compilation.yml

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,68 @@ jobs:
4747
LICENSE
4848
README.md
4949
50+
51+
build-ps2dev-latest:
52+
runs-on: ubuntu-latest
53+
container: ps2dev/ps2dev:latest
54+
steps:
55+
- name: git checkout
56+
uses: actions/checkout@v6
57+
58+
- name: Install host dependencies (Alpine only)
59+
run: |
60+
if command -v apk >/dev/null 2>&1; then
61+
apk add --no-cache \
62+
bash \
63+
make \
64+
git \
65+
zip \
66+
unzip \
67+
tar \
68+
gzip \
69+
xz \
70+
python3 \
71+
py3-pip \
72+
perl \
73+
cmake \
74+
pkgconf \
75+
coreutils \
76+
findutils \
77+
grep \
78+
sed \
79+
gawk \
80+
diffutils
81+
fi
82+
83+
- run: |
84+
git config --global --add safe.directory "$GITHUB_WORKSPACE"
85+
git fetch --prune --unshallow || true
86+
87+
- name: Compile -> make clean release
88+
run: make --trace clean release
89+
90+
- name: Create detailed changelog
91+
run: sh ./make_changelog.sh
92+
93+
- name: Upload release artifact ELF (ps2dev-latest)
94+
if: ${{ success() }}
95+
uses: actions/upload-artifact@v6
96+
with:
97+
name: OPNPS2LD-ps2dev-latest
98+
path: |
99+
OPNPS2LD-*.ELF
100+
101+
- name: Upload release artifact info (ps2dev-latest)
102+
if: ${{ success() }}
103+
uses: actions/upload-artifact@v6
104+
with:
105+
name: INFO-ps2dev-latest
106+
path: |
107+
DETAILED_CHANGELOG
108+
CREDITS
109+
LICENSE
110+
README.md
111+
50112
build-variants:
51113
strategy:
52114
fail-fast: false

0 commit comments

Comments
 (0)