util: stricter typing in altivec unaligned load functions #6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Wii (devkitPro) | |
| on: | |
| push: | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| wii: | |
| runs-on: ubuntu-latest | |
| env: | |
| UTF8PROC_VERSION: 2.10.0 | |
| UTF8PROC_SHA256: 276a37dc4d1dd24d7896826a579f4439d1e5fe33603add786bb083cab802e23e | |
| container: | |
| image: devkitpro/devkitppc:latest | |
| steps: | |
| - name: 'Checkout' | |
| uses: actions/checkout@v4 | |
| with: | |
| path: schismtracker | |
| - name: 'Install build dependencies' | |
| run: | | |
| apt-get update | |
| apt-get install -y autoconf automake | |
| - name: 'Cache dependencies' | |
| id: cache-dependencies | |
| uses: actions/cache@v4 | |
| with: | |
| path: '/github/home/wiiprefix' | |
| key: wii-dependencies-UTF8PROC_${{ env.UTF8PROC_VERSION }} | |
| - name: 'Download utf8proc' | |
| if: steps.cache-dependencies.outputs.cache-hit != 'true' | |
| run: | | |
| wget -O "utf8proc-$UTF8PROC_VERSION.tar.gz" "https://github.com/JuliaStrings/utf8proc/releases/download/v$UTF8PROC_VERSION/utf8proc-$UTF8PROC_VERSION.tar.gz" | |
| echo "$UTF8PROC_SHA256 utf8proc-$UTF8PROC_VERSION.tar.gz" | sha256sum -c - | |
| tar xzvf "utf8proc-$UTF8PROC_VERSION.tar.gz" | |
| - name: 'Build utf8proc' | |
| if: steps.cache-dependencies.outputs.cache-hit != 'true' | |
| run: | | |
| cd utf8proc-$UTF8PROC_VERSION | |
| mkdir build | |
| cd build | |
| export PATH="${DEVKITPRO}/portlibs/wii/bin:${DEVKITPPC}/bin:$PATH" | |
| powerpc-eabi-cmake -G"Unix Makefiles" -DCMAKE_INSTALL_PREFIX="$HOME/wiiprefix" .. | |
| make | |
| make install | |
| cd ../.. | |
| - name: 'Get date of latest commit' | |
| id: date | |
| run: | | |
| cd schismtracker | |
| echo "date=$(git log -n 1 --date=short --format=format:%cd | sed 's/\(....\)-\(..\)-\(..\).*/\1\2\3/')" >> $GITHUB_OUTPUT | |
| cd .. | |
| - name: 'Build Schism' | |
| run: | | |
| cd schismtracker | |
| autoreconf -i | |
| mkdir build | |
| cd build | |
| export PATH="${DEVKITPRO}/portlibs/wii/bin:${DEVKITPPC}/bin:$PATH" | |
| FLAC_LIBS="-L${DEVKITPRO}/portlibs/ppc/lib -lFLAC -logg" PKG_CONFIG=pkg-config PKG_CONFIG_LIBDIR="$HOME/wiiprefix/lib/pkgconfig:${DEVKITPRO}/portlibs/wii/lib/pkgconfig:${DEVKITPRO}/portlibs/ppc/lib/pkgconfig" ../configure --host=powerpc-eabi --with-flac --without-sdl2 --without-sdl3 --enable-flac-linking --enable-force-wii --enable-sdl12-linking | |
| make | |
| powerpc-eabi-strip -S schismtracker.elf | |
| mkdir -p up/apps | |
| cp -r ../sys/wii/schismtracker up/apps | |
| mv schismtracker.elf up/apps/schismtracker/boot.elf | |
| wget https://raw.githubusercontent.com/xiph/flac/master/COPYING.Xiph | |
| cp ../docs/configuration.md ../README.md ../COPYING COPYING.Xiph up/apps/schismtracker | |
| - name: 'Upload binary' | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: schismtracker-${{ steps.date.outputs.date }}-wii | |
| path: schismtracker/build/up |