prime/.github/workflows/build.yml

28 lines
709 B
YAML
Raw Normal View History

2022-04-08 21:29:48 +00:00
name: Build
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
2022-04-08 21:40:25 +00:00
container: devkitpro/devkitppc:latest
2022-04-08 21:47:12 +00:00
env:
WINEPREFIX: ${{github.workspace}}/.wine
2022-04-08 21:29:48 +00:00
steps:
- name: Install devkitPro
run: |
sudo dpkg --add-architecture i386
2022-04-08 21:40:25 +00:00
sudo apt-get update
sudo apt-get -y install wine32
2022-04-08 21:59:59 +00:00
sudo chown $(whoami) "$GITHUB_WORKSPACE"
2022-04-08 21:29:48 +00:00
- uses: actions/checkout@v3
- name: Download compilers
run: |
curl -L https://cdn.discordapp.com/attachments/727918646525165659/917185027656286218/GC_WII_COMPILERS.zip \
| bsdtar -xvf- -C tools --exclude Wii
2022-04-08 21:51:05 +00:00
mv tools/GC tools/mwcc_compiler
2022-04-08 21:29:48 +00:00
- name: make
run: make -j