mirror of
https://github.com/dborth/snes9xgx.git
synced 2024-11-23 11:09:22 +01:00
Updated CI actions (#1083)
This commit is contained in:
parent
202179e005
commit
1000811bbd
38
.github/workflows/build.yml
vendored
38
.github/workflows/build.yml
vendored
@ -10,10 +10,10 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
image: ["Wii", "GameCube"]
|
image: ["Wii", "GameCube"]
|
||||||
container: devkitpro/devkitppc:latest
|
container: devkitpro/devkitppc:latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout snes9xgx repo
|
- name: Checkout snes9xgx repo
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
@ -21,10 +21,10 @@ jobs:
|
|||||||
if: ${{ matrix.image == 'Wii' }}
|
if: ${{ matrix.image == 'Wii' }}
|
||||||
run: |
|
run: |
|
||||||
make -f Makefile.wii -j2
|
make -f Makefile.wii -j2
|
||||||
|
|
||||||
- name: Copy Wii artifacts
|
- name: Copy Wii artifacts
|
||||||
if: ${{ matrix.image == 'Wii' }}
|
if: ${{ matrix.image == 'Wii' }}
|
||||||
run: |
|
run: |
|
||||||
mkdir -p dist/Snes9xGX/apps/snes9xgx
|
mkdir -p dist/Snes9xGX/apps/snes9xgx
|
||||||
mkdir -p dist/Snes9xGX/snes9xgx/roms
|
mkdir -p dist/Snes9xGX/snes9xgx/roms
|
||||||
mkdir dist/Snes9xGX/snes9xgx/cheats
|
mkdir dist/Snes9xGX/snes9xgx/cheats
|
||||||
@ -36,31 +36,31 @@ jobs:
|
|||||||
cp executables/snes9xgx-wii.dol dist/Snes9xGX/apps/snes9xgx/boot.dol
|
cp executables/snes9xgx-wii.dol dist/Snes9xGX/apps/snes9xgx/boot.dol
|
||||||
|
|
||||||
- name: Upload Wii artifacts
|
- name: Upload Wii artifacts
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
if: ${{ matrix.image == 'Wii' }}
|
if: ${{ matrix.image == 'Wii' }}
|
||||||
with:
|
with:
|
||||||
name: Snes9xGX
|
name: Snes9xGX
|
||||||
path: |
|
path: |
|
||||||
dist/Snes9xGX/
|
dist/Snes9xGX/
|
||||||
|
|
||||||
- name: Build GameCube
|
- name: Build GameCube
|
||||||
if: ${{ matrix.image == 'GameCube' }}
|
if: ${{ matrix.image == 'GameCube' }}
|
||||||
run: |
|
run: |
|
||||||
make -f Makefile.gc -j2
|
make -f Makefile.gc -j2
|
||||||
|
|
||||||
- name: Copy GameCube artifact
|
- name: Copy GameCube artifact
|
||||||
if: ${{ matrix.image == 'GameCube' }}
|
if: ${{ matrix.image == 'GameCube' }}
|
||||||
run: |
|
run: |
|
||||||
mkdir -p dist/Snes9xGX-GameCube
|
mkdir -p dist/Snes9xGX-GameCube
|
||||||
cp executables/snes9xgx-gc.dol dist/Snes9xGX-GameCube/
|
cp executables/snes9xgx-gc.dol dist/Snes9xGX-GameCube/
|
||||||
|
|
||||||
- name: Upload GameCube artifact
|
- name: Upload GameCube artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
if: ${{ matrix.image == 'GameCube' }}
|
if: ${{ matrix.image == 'GameCube' }}
|
||||||
with:
|
with:
|
||||||
name: Snes9xGX-GameCube
|
name: Snes9xGX-GameCube
|
||||||
path: |
|
path: |
|
||||||
dist/Snes9xGX-GameCube/
|
dist/Snes9xGX-GameCube/
|
||||||
|
|
||||||
release:
|
release:
|
||||||
name: Release
|
name: Release
|
||||||
@ -70,12 +70,12 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout snes9xgx repo
|
- name: Checkout snes9xgx repo
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Download Artifacts
|
- name: Download Artifacts
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
path: dist
|
path: dist
|
||||||
|
|
||||||
@ -92,7 +92,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
git tag -f Pre-release
|
git tag -f Pre-release
|
||||||
git push -f origin Pre-release
|
git push -f origin Pre-release
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
uses: ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user