mirror of
https://gitee.com/iresty/apisix.git
synced 2024-12-16 01:41:17 +08:00
37 lines
819 B
YAML
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
|