apisix/.github/workflows/macOS.yml
2020-10-28 23:41:14 +08:00

37 lines
819 B
YAML

name: CI macOS
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
strategy:
fail-fast: false
matrix:
platform: [macos-latest]
os_name: [osx_openresty]
runs-on: ${{ matrix.platform }}
env:
SERVER_NAME: ${{ matrix.os_name }}
steps:
- name: Check out code
uses: actions/checkout@v2
- name: MacOS Before install
if: matrix.platform == 'macos-latest'
run: ./.travis/${{ matrix.os_name }}_runner.sh before_install
- name: MacOS Install
if: matrix.platform == 'macos-latest'
run: ./.travis/${{ matrix.os_name }}_runner.sh do_install
- name: MacOS Script
if: matrix.platform == 'macos-latest'
run: ./.travis/${{ matrix.os_name }}_runner.sh script