From 8497477910311fd7353a563d591acadb12fe9cb2 Mon Sep 17 00:00:00 2001 From: laqieer Date: Mon, 23 Dec 2024 23:01:38 +0800 Subject: [PATCH] Create build.yml, resolve #10 & #13 --- .github/workflows/build.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 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 0000000..8f00149 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,29 @@ +name: Build CI + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + + runs-on: ubuntu-latest + container: devkitpro/devkitarm + + steps: + - uses: actions/checkout@v4 + with: + submodules: true + + - name: Install dependencies + run: apt-get update && apt-get install -y build-essential && apt-get install -y python3-pip && python3 -m pip install --upgrade pip && python3 -m pip install --upgrade Pillow + + - name: Build + run: make + + - uses: actions/upload-artifact@v4 + with: + name: demo + path: summer.gba