From 03022506a4d2b218b860b799ebd8937aa5d1a583 Mon Sep 17 00:00:00 2001 From: Zachary Hall Date: Fri, 17 Nov 2023 12:50:45 -0800 Subject: [PATCH] Set up actions --- .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 0000000..94027bc --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,25 @@ +name: Makefile CI + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + + runs-on: ubuntu-22.04 + steps: + - name: Install dependencies + run: bash -c 'echo '"'"'deb http://download.opensuse.org/repositories/home:/strik/xUbuntu_23.04/ /'"'"' | sudo tee /etc/apt/sources.list.d/home:strik.list && curl -fsSL https://download.opensuse.org/repositories/home:strik/xUbuntu_23.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_strik.gpg > /dev/null && sudo apt update -y && sudo apt install cc65 -y' + - uses: actions/checkout@v3 + + - name: Build the project + run: make + - name: Upload the X16 program + uses: actions/upload-artifact@v3.1.3 + with: + name: b16view + path: b16view.cx16 +