Merge pull request #8683 from qzhuyan/ci/william/4.x-self-hosted
main 4.x use self hosted runner
This commit is contained in:
commit
8c7bc2ff13
|
@ -6,7 +6,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ${{ matrix.runs-on }}
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -15,6 +15,16 @@ jobs:
|
||||||
os:
|
os:
|
||||||
- ubuntu20.04
|
- ubuntu20.04
|
||||||
- centos7
|
- centos7
|
||||||
|
runs-on:
|
||||||
|
- aws-amd64
|
||||||
|
- ubuntu-20.04
|
||||||
|
use-self-hosted:
|
||||||
|
- ${{ github.repository_owner == 'emqx' }}
|
||||||
|
exclude:
|
||||||
|
- runs-on: ubuntu-20.04
|
||||||
|
use-self-hosted: true
|
||||||
|
- runs-on: aws-amd64
|
||||||
|
use-self-hosted: false
|
||||||
|
|
||||||
container: emqx/build-env:${{ matrix.erl_otp }}-${{ matrix.os }}
|
container: emqx/build-env:${{ matrix.erl_otp }}-${{ matrix.os }}
|
||||||
|
|
||||||
|
|
|
@ -24,8 +24,19 @@ jobs:
|
||||||
run: make proper
|
run: make proper
|
||||||
|
|
||||||
run_common_test:
|
run_common_test:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ${{ matrix.runs-on }}
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
runs-on:
|
||||||
|
- aws-amd64
|
||||||
|
- ubuntu-20.04
|
||||||
|
use-self-hosted:
|
||||||
|
- ${{ github.repository_owner == 'emqx' }}
|
||||||
|
exclude:
|
||||||
|
- runs-on: ubuntu-20.04
|
||||||
|
use-self-hosted: true
|
||||||
|
- runs-on: aws-amd64
|
||||||
|
use-self-hosted: false
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: set edition
|
- name: set edition
|
||||||
|
|
Loading…
Reference in New Issue