summaryrefslogtreecommitdiff
path: root/genqrcode/.github/workflows/configure.yml
diff options
context:
space:
mode:
Diffstat (limited to 'genqrcode/.github/workflows/configure.yml')
-rw-r--r--genqrcode/.github/workflows/configure.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/genqrcode/.github/workflows/configure.yml b/genqrcode/.github/workflows/configure.yml
new file mode 100644
index 0000000000..6fcf4d1a13
--- /dev/null
+++ b/genqrcode/.github/workflows/configure.yml
@@ -0,0 +1,26 @@
+name: build
+
+on: [push, pull_request]
+
+jobs:
+ build:
+ runs-on: ${{ matrix.os }}
+ strategy:
+ matrix:
+ os: [ubuntu-latest, macos-latest]
+
+ steps:
+ - uses: actions/checkout@v2
+ - name: brew setup
+ if: matrix.os == 'macos-latest'
+ run: brew install automake autoconf pkg-config libpng
+ - name: generate configure script
+ run: ./autogen.sh
+ - name: configure
+ run: ./configure --with-tests
+ - name: make
+ run: make -j 2
+ - name: make check
+ run: make check
+ - name: make distcheck
+ run: make -j 2 distcheck