From 51a96547ef4eb99b4550aa3e813132a5267c05dd Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Mon, 25 Nov 2019 14:35:50 +0000 Subject: [PATCH] sowm: Test patches in CI. --- .github/workflows/main.yml | 9 +++++++++ Makefile | 3 +++ 2 files changed, 12 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..34ab093 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,9 @@ +name: CI +on: [push] +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: Apply patches. + run: make test diff --git a/Makefile b/Makefile index 8573837..fd5090a 100644 --- a/Makefile +++ b/Makefile @@ -19,3 +19,6 @@ install: all clean: rm -f sowm *.o + +test: + for patch in patches/*.patch; do patch -p1 < "$patch"; done