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