From b60a3f95b883b35cbe5fcfab8d970b687b81b76f Mon Sep 17 00:00:00 2001 From: ed Date: Fri, 28 Feb 2020 23:49:28 +0000 Subject: [PATCH] Add github action for building RomWBW --- .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..c6dfbb0a --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,25 @@ +name: CI + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - uses: rlespinasse/github-slug-action@1.1.0 + + - name: Install Dependencies + run: | + sudo apt-get install libncurses-dev + - name: Build + run: | + make + rm -rf .git + - name: Upload Archive + uses: actions/upload-artifact@v1 + with: + name: RomWBW-${{env.GITHUB_REF_SLUG}}-${{env.GITHUB_SHA_SHORT}} + path: .