rb3.ini in assets folder, fix actions..? #130
This file contains 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: Build | |
on: [push] | |
jobs: | |
Wii: | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 10 | |
container: | |
image: docker://devkitpro/devkitppc | |
options: --cpus 2 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Install BrainSlug | |
run: | | |
git clone https://github.com/Chadderz121/brainslug-wii | |
cd brainslug-wii | |
make install | |
cd .. | |
- name: Compile (debug) | |
run: | | |
make clean | |
make wii -j2 DEBUG=1 | |
- name: Upload binaries (debug) | |
uses: actions/upload-artifact@v4 | |
with: | |
name: RB3Enhanced-Wii-Debug | |
path: out/RB3Enhanced.mod | |
- name: Compile (no-debug) | |
run: | | |
make clean | |
make wii -j2 | |
- name: Upload binaries (no-debug) | |
uses: actions/upload-artifact@v4 | |
with: | |
name: RB3Enhanced-Wii-NoDebug | |
path: out/RB3Enhanced.mod | |
Xbox: | |
if: github.repository == 'RBEnhanced/RB3Enhanced' | |
runs-on: windows-2019 | |
timeout-minutes: 10 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Download tools | |
env: | |
BUILD_TOOLS: ${{ secrets.BUILD_TOOLS_FILE }} | |
run: | | |
Invoke-WebRequest -OutFile tools.zip $Env:BUILD_TOOLS | |
7z x tools.zip -otools | |
- name: Compile (debug) | |
env: | |
XEDK: ${{ github.workspace }}/tools | |
run: | | |
make clean | |
make xbox -j2 DEBUG=1 | |
- name: Upload binaries (debug) | |
uses: actions/upload-artifact@v4 | |
with: | |
name: RB3Enhanced-Xbox-Debug | |
path: out/RB3Enhanced.dll | |
- name: Compile (no-debug) | |
env: | |
XEDK: ${{ github.workspace }}/tools | |
run: | | |
make clean | |
make xbox -j2 | |
- name: Upload binaries (no-debug) | |
uses: actions/upload-artifact@v4 | |
with: | |
name: RB3Enhanced-Xbox-NoDebug | |
path: out/RB3Enhanced.dll |