Skip to content

Commit

Permalink
Compile debug builds as well
Browse files Browse the repository at this point in the history
  • Loading branch information
AKuHAK committed Sep 9, 2023
1 parent 5e94f33 commit 572b29d
Showing 1 changed file with 102 additions and 0 deletions.
102 changes: 102 additions & 0 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,105 @@ jobs:
title: "Latest development build"
files: |
ee/loader/*.7z
build-eesio-debug:
runs-on: ubuntu-latest
container: ghcr.io/ps2homebrew/ps2homebrew:main
steps:
- uses: actions/checkout@v3

- name: Compile
run: |
make clean all EESIO_DEBUG=1
- name: Define target name
id: slug
run: |
echo "TARGET=neutrino-EESIO_DEBUG-$(date "+%Y%m%d")-${GITHUB_SHA::8}" >> $GITHUB_ENV
- name: Pack release
run: |
TARGET=${{ env.TARGET }}
cd ee/loader
make copy
mkdir $TARGET
cp *.elf $TARGET/
cp -r modules/ $TARGET/modules/
cp -r config/ $TARGET/config/
7z a -t7z $TARGET.7z $TARGET/*
- name: Upload release as artifact
if: ${{ success() }}
uses: actions/upload-artifact@v3
with:
name: ${{ env.TARGET }}
path: |
ee/loader/*.7z
build-debug:
runs-on: ubuntu-latest
container: ghcr.io/ps2homebrew/ps2homebrew:main
steps:
- uses: actions/checkout@v3

- name: Compile
run: |
make clean all IOPCORE_DEBUG=1 EESIO_DEBUG=1
- name: Define target name
id: slug
run: |
echo "TARGET=neutrino-debug-$(date "+%Y%m%d")-${GITHUB_SHA::8}" >> $GITHUB_ENV
- name: Pack release
run: |
TARGET=${{ env.TARGET }}
cd ee/loader
make copy
mkdir $TARGET
cp *.elf $TARGET/
cp -r modules/ $TARGET/modules/
cp -r config/ $TARGET/config/
7z a -t7z $TARGET.7z $TARGET/*
- name: Upload release as artifact
if: ${{ success() }}
uses: actions/upload-artifact@v3
with:
name: ${{ env.TARGET }}
path: |
ee/loader/*.7z
build-iopcore-debug:
runs-on: ubuntu-latest
container: ghcr.io/ps2homebrew/ps2homebrew:main
steps:
- uses: actions/checkout@v3
- name: Compile
run: |
make clean all IOPCORE_DEBUG=1
- name: Define target name
id: slug
run: |
echo "TARGET=neutrino-IOPCORE_DEBUG-$(date "+%Y%m%d")-${GITHUB_SHA::8}" >> $GITHUB_ENV
- name: Pack release
run: |
TARGET=${{ env.TARGET }}
cd ee/loader
make copy
mkdir $TARGET
cp *.elf $TARGET/
cp -r modules/ $TARGET/modules/
cp -r config/ $TARGET/config/
7z a -t7z $TARGET.7z $TARGET/*
- name: Upload release as artifact
if: ${{ success() }}
uses: actions/upload-artifact@v3
with:
name: ${{ env.TARGET }}
path: |
ee/loader/*.7z

0 comments on commit 572b29d

Please sign in to comment.