From 19172e1cd297d3abdbdf24a85b176f989e73a433 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Sat, 29 Aug 2020 13:06:43 +0100 Subject: [PATCH] GitHub Actions setup --- .github/workflows/build.yml | 47 +++++++++++++++++++++++++++++++++++++ 1 file changed, 47 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..7230ad71 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,47 @@ +name: Build +on: [push] + +jobs: + linux: + name: Linux + runs-on: ubuntu-16.04 + steps: + - uses: actions/checkout@v2 + - name: Install Dependencies + run: sudo apt install libsdl2-dev + - name: Compile + run: make release + env: + ARCHIVE: 1 + - uses: actions/upload-artifact@v2 + with: + name: Linux + path: build/*.zip + windows: + name: Windows + runs-on: windows-2019 + steps: + - uses: actions/checkout@v2 + - name: Compile + run: | + choco install zip + make release + env: + ARCHIVE: 1 + - uses: actions/upload-artifact@v2 + with: + name: Windows + path: build/*.zip + macos: + name: macOS + runs-on: macos-10.15 + steps: + - uses: actions/checkout@v2 + - name: Compile + run: make release + env: + ARCHIVE: 1 + - uses: actions/upload-artifact@v2 + with: + name: macOS + path: build/*.zip