mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-12-22 08:08:53 -05:00
bump LUS, remove switch and wii u from CI (#4087)
This commit is contained in:
parent
552bb2886f
commit
8b3f1f1868
130
.github/workflows/generate-builds.yml
vendored
130
.github/workflows/generate-builds.yml
vendored
@ -241,136 +241,6 @@ jobs:
|
|||||||
path: |
|
path: |
|
||||||
soh.appimage
|
soh.appimage
|
||||||
readme.txt
|
readme.txt
|
||||||
build-switch:
|
|
||||||
needs: generate-soh-otr
|
|
||||||
runs-on: ${{ (vars.LINUX_RUNNER && fromJSON(vars.LINUX_RUNNER)) || 'ubuntu-latest' }}
|
|
||||||
container:
|
|
||||||
image: devkitpro/devkita64:20240120
|
|
||||||
steps:
|
|
||||||
- name: Install dependencies
|
|
||||||
run: |
|
|
||||||
sudo apt-get update
|
|
||||||
sudo apt-get install -y ninja-build
|
|
||||||
sudo apt-get remove -y cmake
|
|
||||||
wget https://github.com/Kitware/CMake/releases/download/v3.28.3/cmake-3.28.3-linux-x86_64.sh -O /tmp/cmake.sh
|
|
||||||
sudo sh /tmp/cmake.sh --prefix=/usr/local/ --exclude-subdir
|
|
||||||
wget https://libzip.org/download/libzip-1.10.1.tar.gz
|
|
||||||
tar -xzvf libzip-1.10.1.tar.gz
|
|
||||||
cd libzip-1.10.1
|
|
||||||
mkdir build
|
|
||||||
cd build
|
|
||||||
cmake -H.. -B. -DCMAKE_TOOLCHAIN_FILE=/opt/devkitpro/cmake/Switch.cmake
|
|
||||||
make
|
|
||||||
make install
|
|
||||||
cd ../..
|
|
||||||
wget https://github.com/nlohmann/json/archive/refs/tags/v3.11.3.tar.gz
|
|
||||||
tar -xzvf v3.11.3.tar.gz
|
|
||||||
cd json-3.11.3
|
|
||||||
mkdir build
|
|
||||||
cd build
|
|
||||||
cmake -H.. -B. -DJSON_BuildTests=OFF -DCMAKE_TOOLCHAIN_FILE=/opt/devkitpro/cmake/Switch.cmake
|
|
||||||
make
|
|
||||||
make install
|
|
||||||
cd ../..
|
|
||||||
|
|
||||||
- name: Fix dubious ownership error
|
|
||||||
if: ${{ vars.LINUX_RUNNER }}
|
|
||||||
run: git config --global --add safe.directory '*'
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
submodules: true
|
|
||||||
- name: ccache
|
|
||||||
uses: hendrikmuhs/ccache-action@v1.2.11
|
|
||||||
with:
|
|
||||||
key: ${{ runner.os }}-switch-ccache-${{ github.ref }}-${{ github.sha }}
|
|
||||||
restore-keys: |
|
|
||||||
${{ runner.os }}-switch-ccache-${{ github.ref }}
|
|
||||||
${{ runner.os }}-switch-ccache-
|
|
||||||
- name: Build SoH
|
|
||||||
run: |
|
|
||||||
cmake -H. -Bbuild-switch -GNinja -DCMAKE_TOOLCHAIN_FILE=/opt/devkitpro/cmake/Switch.cmake -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER_LAUNCHER=ccache
|
|
||||||
cmake --build build-switch --target soh_nro -j3
|
|
||||||
|
|
||||||
mv build-switch/soh/*.nro soh.nro
|
|
||||||
mv README.md readme.txt
|
|
||||||
- name: Download soh.otr
|
|
||||||
uses: actions/download-artifact@v4
|
|
||||||
with:
|
|
||||||
name: soh.otr
|
|
||||||
- name: Upload build
|
|
||||||
uses: actions/upload-artifact@v4
|
|
||||||
with:
|
|
||||||
name: soh-switch
|
|
||||||
path: |
|
|
||||||
soh.nro
|
|
||||||
soh.otr
|
|
||||||
readme.txt
|
|
||||||
build-wiiu:
|
|
||||||
needs: generate-soh-otr
|
|
||||||
runs-on: ${{ (vars.LINUX_RUNNER && fromJSON(vars.LINUX_RUNNER)) || 'ubuntu-latest' }}
|
|
||||||
container:
|
|
||||||
image: devkitpro/devkitppc:20230110
|
|
||||||
steps:
|
|
||||||
- name: Install dependencies
|
|
||||||
if: ${{ !vars.LINUX_RUNNER }}
|
|
||||||
run: |
|
|
||||||
sudo apt-get install -y ninja-build
|
|
||||||
sudo apt-get remove -y cmake
|
|
||||||
wget https://github.com/Kitware/CMake/releases/download/v3.28.3/cmake-3.28.3-linux-x86_64.sh -O /tmp/cmake.sh
|
|
||||||
sudo sh /tmp/cmake.sh --prefix=/usr/local/ --exclude-subdir
|
|
||||||
wget https://libzip.org/download/libzip-1.10.1.tar.gz
|
|
||||||
tar -xzvf libzip-1.10.1.tar.gz
|
|
||||||
cd libzip-1.10.1
|
|
||||||
mkdir build
|
|
||||||
cd build
|
|
||||||
cmake -H.. -B. -DCMAKE_TOOLCHAIN_FILE=/opt/devkitpro/cmake/WiiU.cmake
|
|
||||||
make
|
|
||||||
make install
|
|
||||||
cd ../..
|
|
||||||
wget https://github.com/nlohmann/json/archive/refs/tags/v3.11.3.tar.gz
|
|
||||||
tar -xzvf v3.11.3.tar.gz
|
|
||||||
cd json-3.11.3
|
|
||||||
mkdir build
|
|
||||||
cd build
|
|
||||||
cmake -H.. -B. -DJSON_BuildTests=OFF -DCMAKE_TOOLCHAIN_FILE=/opt/devkitpro/cmake/WiiU.cmake
|
|
||||||
make
|
|
||||||
make install
|
|
||||||
cd ../..
|
|
||||||
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
submodules: true
|
|
||||||
- name: ccache
|
|
||||||
uses: hendrikmuhs/ccache-action@v1.2.11
|
|
||||||
with:
|
|
||||||
key: ${{ runner.os }}-wiiu-ccache-${{ github.ref }}-${{ github.sha }}
|
|
||||||
restore-keys: |
|
|
||||||
${{ runner.os }}-wiiu-ccache-${{ github.ref }}
|
|
||||||
${{ runner.os }}-wiiu-ccache-
|
|
||||||
- name: Build SoH
|
|
||||||
run: |
|
|
||||||
cmake -H. -Bbuild-wiiu -GNinja -DCMAKE_TOOLCHAIN_FILE=/opt/devkitpro/cmake/WiiU.cmake -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER_LAUNCHER=ccache
|
|
||||||
cmake --build build-wiiu --target soh_wuhb --config Release -j3
|
|
||||||
|
|
||||||
mv build-wiiu/soh/*.rpx soh.rpx
|
|
||||||
mv build-wiiu/soh/*.wuhb soh.wuhb
|
|
||||||
mv README.md readme.txt
|
|
||||||
env:
|
|
||||||
DEVKITPRO: /opt/devkitpro
|
|
||||||
DEVKITPPC: /opt/devkitpro/devkitPPC
|
|
||||||
- name: Download soh.otr
|
|
||||||
uses: actions/download-artifact@v4
|
|
||||||
with:
|
|
||||||
name: soh.otr
|
|
||||||
- name: Upload build
|
|
||||||
uses: actions/upload-artifact@v4
|
|
||||||
with:
|
|
||||||
name: soh-wiiu
|
|
||||||
path: |
|
|
||||||
soh.rpx
|
|
||||||
soh.wuhb
|
|
||||||
soh.otr
|
|
||||||
readme.txt
|
|
||||||
build-windows:
|
build-windows:
|
||||||
needs: generate-soh-otr
|
needs: generate-soh-otr
|
||||||
runs-on: ${{ (vars.WINDOWS_RUNNER && fromJSON(vars.WINDOWS_RUNNER)) || 'windows-latest' }}
|
runs-on: ${{ (vars.WINDOWS_RUNNER && fromJSON(vars.WINDOWS_RUNNER)) || 'windows-latest' }}
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 6f978e0d237530f304ba2018bbdc539b175c184a
|
Subproject commit 3d2e6bc128a105f0cba9109573a2401a8ba43f49
|
Loading…
Reference in New Issue
Block a user