aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/ubuntu-macos.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/ubuntu-macos.yml')
-rw-r--r--.github/workflows/ubuntu-macos.yml33
1 files changed, 33 insertions, 0 deletions
diff --git a/.github/workflows/ubuntu-macos.yml b/.github/workflows/ubuntu-macos.yml
new file mode 100644
index 00000000..1a45c365
--- /dev/null
+++ b/.github/workflows/ubuntu-macos.yml
@@ -0,0 +1,33 @@
+name: Ubuntu-macOS
+
+on: [push, pull_request]
+
+jobs:
+ build:
+ name: >-
+ ${{ matrix.ruby }} ${{ matrix.os }}
+ runs-on: ${{ matrix.os }}
+ strategy:
+ fail-fast: false
+ matrix:
+ os: [ 'ubuntu-18.04', 'macos' ]
+ ruby: [ ruby-head, 2.7, 2.6, 2.5, 2.4, 2.3 ]
+ steps:
+ - name: repo checkout
+ uses: actions/checkout@v2
+
+ - name: load ruby
+ uses: ruby/setup-ruby@v1
+ with:
+ ruby-version: ${{ matrix.ruby }}
+
+ - name: depends
+ run: rake install_dependencies
+
+ - name: compile
+ run: rake compile -- --enable-debug
+
+ - name: test
+ run: rake test TESTOPTS="-v --no-show-detail-immediately" OSSL_MDEBUG=1
+ env:
+ CI: true