From d9d4ff91bfef3d6f0a2072e7afc23deee1e1598a Mon Sep 17 00:00:00 2001 From: Luke Street Date: Fri, 8 Apr 2022 17:29:48 -0400 Subject: [PATCH] ci: Add GitHub action Former-commit-id: 240b0a05e71033cc35fcfd434a9d0129005d37aa --- .github/workflows/build.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..a073eee8 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,25 @@ +name: Build + +on: + push: + pull_request: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Install devkitPro + run: | + sudo dpkg --add-architecture i386 + curl -L https://apt.devkitpro.org/devkitpro-pub.gpg | sudo apt-key add - + sudo add-apt-repository "deb https://apt.devkitpro.org stable main" + sudo apt-get -y install devkitpro-pacman wine32 + sudo dkp-pacman -S --noconfirm gamecube-dev + - 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 + mv tools/GC tools/mwcc_compiler + - name: make + run: make -j