]> git.imager.perl.org - imager.git/commitdiff
add github action for CI on OS X
authorTony Cook <tony@develop-help.com>
Sun, 22 Mar 2020 00:57:42 +0000 (11:57 +1100)
committerTony Cook <tony@develop-help.com>
Sun, 17 May 2020 01:35:21 +0000 (11:35 +1000)
.github/workflows/test-macosx.yml [new file with mode: 0644]

diff --git a/.github/workflows/test-macosx.yml b/.github/workflows/test-macosx.yml
new file mode 100644 (file)
index 0000000..73350f4
--- /dev/null
@@ -0,0 +1,30 @@
+name: test-macosx
+
+on:
+  push:
+    branches:
+      - '**'
+    tags-ignore:
+      - '*'
+  pull_request:
+
+jobs:
+  perl:
+    runs-on: macos-latest
+    timeout-minutes: 15
+    steps:
+      - name: checkout
+        uses: actions/checkout@v2
+      - name: install dependencies
+        run: |
+            brew update ||:
+            brew install perl giflib libjpeg libtiff freetype libpng
+      - name: configure
+        run: |
+            perl Makefile.PL
+      - name: build
+        run: |
+            make -j2
+      - name: test
+        run: |
+            HARNESS_OPTIONS=j2 make test