Skip to content
This repository has been archived by the owner on Aug 31, 2024. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
… into sync
  • Loading branch information
citronalco committed Aug 8, 2024
2 parents 6306c1b + d0d9f26 commit c014539
Show file tree
Hide file tree
Showing 67 changed files with 1,021 additions and 829 deletions.
52 changes: 37 additions & 15 deletions .github/workflows/compilation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
container: ghcr.io/ps2homebrew/ps2homebrew:main
steps:
- name: git checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- run: |
git config --global --add safe.directory "$GITHUB_WORKSPACE"
Expand All @@ -27,15 +27,15 @@ jobs:

- name: Upload release artifact ELF
if: ${{ success() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: OPNPS2LD
path: |
OPNPS2LD-*.ELF
- name: Upload release artifact info
if: ${{ success() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: INFO
path: |
Expand All @@ -56,7 +56,7 @@ jobs:
container: ghcr.io/ps2homebrew/ps2homebrew:main
steps:
- name: git checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- run: |
git config --global --add safe.directory "$GITHUB_WORKSPACE"
Expand All @@ -75,17 +75,28 @@ jobs:
run: sh ./make_changelog.sh

- name: Upload variants artifact ELF
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: OPNPS2LD-VARIANTS
name: OPNPS2LD-VARIANTS ${{ matrix.t10k }} ${{ matrix.igs }} ${{ matrix.pademu }} ${{ matrix.rtl }}
path: OPNPS2LD*.ELF

merge-variants:
runs-on: ubuntu-latest
needs: build-variants
steps:
- name: Merge Artifacts
uses: actions/upload-artifact/merge@v4
with:
name: OPNPS2LD-VARIANTS
pattern: OPNPS2LD-VARIANTS*
delete-merged: true

build-lang:
runs-on: ubuntu-latest
container: ghcr.io/ps2homebrew/ps2homebrew:main
steps:
- name: git checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- run: |
git config --global --add safe.directory "$GITHUB_WORKSPACE"
Expand All @@ -99,7 +110,7 @@ jobs:

- name: Upload release artifact
if: ${{ success() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: OPNPS2LD-LANGS
path: |
Expand All @@ -114,7 +125,7 @@ jobs:
container: ghcr.io/ps2homebrew/ps2homebrew:main
steps:
- name: git checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- run: |
git config --global --add safe.directory "$GITHUB_WORKSPACE"
Expand All @@ -130,11 +141,22 @@ jobs:
mv opl.elf opl-${{ matrix.debug }}.elf
- name: Upload variants artifact ELF
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: opl-debug-${{ env.OPL_VERSION }}-${{ matrix.docker }}
name: opl-${{ matrix.debug }}-${{ env.OPL_VERSION }}
path: opl-*.elf

merge-debug:
runs-on: ubuntu-latest
needs: build-debug
steps:
- name: Merge Artifacts
uses: actions/upload-artifact/merge@v4
with:
name: OPNPS2LD-DEBUG
pattern: opl-*
delete-merged: true

release:
needs: [build, build-variants, build-lang]
runs-on: ubuntu-latest
Expand All @@ -144,7 +166,7 @@ jobs:
PASSWORD: ${{ secrets.PASSWORD }}
steps:
- name: git checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- run: git fetch --prune --unshallow

Expand All @@ -153,7 +175,7 @@ jobs:
echo "OPL_VERSION=$(make oplversion)" >> $GITHUB_ENV
- name: Download all artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4

- name: Prepare artifacts for release
run: |
Expand All @@ -169,7 +191,7 @@ jobs:
- name: Create prerelease
if: github.ref == 'refs/heads/master'
uses: marvinpinto/action-automatic-releases@latest
uses: mathieucarbou/marvinpinto-action-automatic-releases@latest
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: true
Expand All @@ -185,7 +207,7 @@ jobs:
- name: Create release
if: startsWith(github.ref, 'refs/tags/v')
uses: marvinpinto/action-automatic-releases@latest
uses: mathieucarbou/marvinpinto-action-automatic-releases@latest
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: "${{ contains(github.ref, '-rc') }}"
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ DETAILED_CHANGELOG
#
pc/iso2usbld/bin/iso2usbld
IOPRP_img.c
asm/*.c

#
# 3rd party
Expand Down
Loading

0 comments on commit c014539

Please sign in to comment.