refactor: push docker images only on main, and test docker images for⦠#82
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: π GHA | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
concurrency: | |
group: ci-${{ github.actor }}-${{ github.head_ref || github.run_number }}-${{ github.ref }}-runner | |
cancel-in-progress: true | |
jobs: | |
# First stage: Only static checks, fast and prevent expensive builds from running. | |
static-checks: | |
name: π Static checks | |
uses: ./.github/workflows/static_checks.yml | |
# Second stage: Run all the builds and some of the tests. | |
test-coverage: | |
name: π Test & Coverage | |
needs: static-checks | |
uses: ./.github/workflows/coverage.yml | |
android-build: | |
name: π€ Android (VR and Mobile) | |
needs: static-checks | |
uses: ./.github/workflows/android_builds.yml | |
linux-build: | |
name: π§ Linux | |
needs: static-checks | |
uses: ./.github/workflows/linux_builds.yml | |
macos-build: | |
name: π macOS | |
needs: static-checks | |
uses: ./.github/workflows/macos_builds.yml | |
windows-build: | |
name: π Windows | |
needs: static-checks | |
uses: ./.github/workflows/windows_builds.yml | |
# Third stage: Extras | |
docker-build-test: | |
name: π³ Docker builds and test | |
needs: linux-build | |
uses: ./.github/workflows/docker_build_test.yml | |
secrets: | |
QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }} | |
QUAY_TOKEN: ${{ secrets.QUAY_TOKEN }} |