Merge pull request #8683 from qzhuyan/ci/william/4.x-self-hosted

main 4.x use self hosted runner
This commit is contained in:
William Yang 2022-08-29 09:11:51 +02:00 committed by GitHub
commit 8c7bc2ff13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 3 deletions

View File

@ -6,7 +6,7 @@ on:
jobs:
build:
runs-on: ubuntu-20.04
runs-on: ${{ matrix.runs-on }}
strategy:
matrix:
@ -15,6 +15,16 @@ jobs:
os:
- ubuntu20.04
- 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 }}

View File

@ -24,8 +24,19 @@ jobs:
run: make proper
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:
- uses: actions/checkout@v2
- name: set edition