Merge pull request #12146 from tupaschoal/fix-12144

Fix #12144: Do not require lint commit to pass to run full CI
This commit is contained in:
Michael Steenbeek 2020-07-06 20:28:27 +02:00 committed by GitHub
commit 1a373e115a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 18 deletions

View File

@ -33,8 +33,7 @@ jobs:
windows:
name: Windows
runs-on: windows-latest
needs: [lint-commit, check-code-formatting]
if: needs.lint-commit.result == 'success' && needs.check-code-formatting.result == 'success'
needs: [check-code-formatting]
strategy:
fail-fast: false
matrix:
@ -78,8 +77,7 @@ jobs:
windows-mingw:
name: Windows (win32) using mingw
runs-on: ubuntu-latest
needs: [lint-commit, check-code-formatting]
if: needs.lint-commit.result == 'success' && needs.check-code-formatting.result == 'success'
needs: [check-code-formatting]
container:
image: openrct2/openrct2-build:0.2.4-mingw
steps:
@ -94,8 +92,7 @@ jobs:
macos:
name: macOS
runs-on: macos-latest
needs: [lint-commit, check-code-formatting]
if: needs.lint-commit.result == 'success' && needs.check-code-formatting.result == 'success'
needs: [check-code-formatting]
steps:
- name: Checkout
uses: actions/checkout@v1
@ -124,8 +121,7 @@ jobs:
linux-portable:
name: Linux (x64, portable)
runs-on: ubuntu-latest
needs: [lint-commit, check-code-formatting]
if: needs.lint-commit.result == 'success' && needs.check-code-formatting.result == 'success'
needs: [check-code-formatting]
container:
image: openrct2/openrct2-build:0.2.4-bionic
steps:
@ -160,8 +156,7 @@ jobs:
linux-portable-32:
name: Linux (i686, portable)
runs-on: ubuntu-latest
needs: [lint-commit, check-code-formatting]
if: needs.lint-commit.result == 'success' && needs.check-code-formatting.result == 'success'
needs: [check-code-formatting]
container:
image: openrct2/openrct2-build:0.2.4-bionic32
steps:
@ -201,8 +196,7 @@ jobs:
linux-appimage:
name: Linux (x64, AppImage)
runs-on: ubuntu-latest
needs: [lint-commit, check-code-formatting]
if: needs.lint-commit.result == 'success' && needs.check-code-formatting.result == 'success'
needs: [check-code-formatting]
container:
image: openrct2/openrct2-build:0.2.4-bionic
steps:
@ -224,8 +218,8 @@ jobs:
path: artifacts
linux-docker:
name: Linux (docker)
needs: [lint-commit, check-code-formatting]
if: github.repository == 'OpenRCT2/OpenRCT2' && needs.lint-commit.result == 'success' && needs.check-code-formatting.result == 'success'
needs: [check-code-formatting]
if: github.repository == 'OpenRCT2/OpenRCT2'
runs-on: ubuntu-latest
steps:
- name: Build image
@ -248,8 +242,7 @@ jobs:
linux-clang:
name: Linux (Debug, [http, network, OpenGL] disabled) using clang
runs-on: ubuntu-latest
needs: [lint-commit, check-code-formatting]
if: needs.lint-commit.result == 'success' && needs.check-code-formatting.result == 'success'
needs: [check-code-formatting]
container:
image: openrct2/openrct2-build:0.2.4-bionic
steps:
@ -261,8 +254,7 @@ jobs:
android:
name: Android
runs-on: ubuntu-latest
needs: [lint-commit, check-code-formatting]
if: needs.lint-commit.result == 'success' && needs.check-code-formatting.result == 'success'
needs: [check-code-formatting]
container:
image: openrct2/openrct2-build:0.2.4-android
steps: