Skip to content

Commit

Permalink
Merge pull request #442 from AKuHAK/fix_debug
Browse files Browse the repository at this point in the history
Fixed debug builds
  • Loading branch information
uyjulian authored Jun 20, 2021
2 parents 770dd62 + 26256f0 commit dd66874
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 17 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/check-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ jobs:
steps:
- name: Install dependencies
shell: bash
run: |
sudo apt-get install git make clang-format
run: sudo apt-get install git make clang-format

- uses: actions/checkout@v2

Expand Down
58 changes: 43 additions & 15 deletions .github/workflows/compilation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,11 @@ jobs:
- name: git checkout
uses: actions/checkout@v2
- run: |
git fetch --prune --unshallow

- run: git fetch --prune --unshallow

- name: Compile -> make clean release
run: |
make --trace clean release
run: make --trace clean release

- name: Create detailed changelog
run: sh ./make_changelog.sh
Expand All @@ -47,23 +46,23 @@ jobs:
README.md
build-variants:
runs-on: ubuntu-latest
container: ps2dev/ps2dev:latest
strategy:
fail-fast: false
matrix:
rtl: ["", RTL=1]
pademu: ["", PADEMU=1]
igs: ["", IGS=1]
t10k: ["", DTL_T10000=1]
runs-on: ubuntu-latest
container: ps2dev/ps2dev:latest
steps:
- name: Install dependencies
run: |
apk add build-base git
run: apk add build-base git zip gawk

- name: git checkout
uses: actions/checkout@v2
- run: |
git fetch --prune --unshallow

- run: git fetch --prune --unshallow

- name: Get version
id: version
Expand All @@ -78,12 +77,41 @@ jobs:
run: sh ./make_changelog.sh

- name: Upload variants artifact ELF
if: ${{ success() }}
uses: actions/upload-artifact@v2
with:
name: OPNPS2LD-VARIANTS
path: |
OPNPS2LD*.ELF
path: OPNPS2LD*.ELF

build-debug:
strategy:
fail-fast: false
matrix:
debug: [debug, iopcore_debug, ingame_debug, deci2_debug] # eesio_debug broken
runs-on: ubuntu-latest
container: ps2dev/ps2dev:latest
steps:
- name: Install dependencies
run: apk add build-base git zip gawk

- name: git checkout
uses: actions/checkout@v2

- run: git fetch --prune --unshallow

- name: Get version
id: version
run: echo "::set-output name=version::$(make oplversion)"

- name: Compile -> make debug
run: |
make ${{ matrix.debug }} --trace
mv opl.elf opl-${{ matrix.debug }}.elf
- name: Upload variants artifact ELF
uses: actions/upload-artifact@v2
with:
name: opl-debug-${{ steps.version.outputs.version }}-${{ matrix.docker }}
path: opl-*.elf

release:
needs: [build, build-variants]
Expand All @@ -92,8 +120,8 @@ jobs:
steps:
- name: git checkout
uses: actions/checkout@v2
- run: |
git fetch --prune --unshallow

- run: git fetch --prune --unshallow

- name: Get version
id: version
Expand Down
1 change: 1 addition & 0 deletions modules/debug/udptty-ingame/imports.lst
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
thsemap_IMPORTS_start
I_CreateSema
I_DeleteSema
I_SignalSema
I_WaitSema
Expand Down

0 comments on commit dd66874

Please sign in to comment.