Add github action for building RomWBW

This commit is contained in:
ed
2020-02-28 23:49:28 +00:00
parent 0fb8a2d2ff
commit b60a3f95b8

25
.github/workflows/build.yml vendored Normal file
View File

@@ -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: .