Skip to content

Commit

Permalink
ci: Try adding a parameter matrix to the nightly build YAML
Browse files Browse the repository at this point in the history
  • Loading branch information
zjp committed Jan 21, 2025
1 parent f93e4ad commit 70c5809
Showing 1 changed file with 51 additions and 8 deletions.
59 changes: 51 additions & 8 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,55 +5,98 @@ on:
- cron: "0 7 * * *" # 7AM UTC / 11PM PST / 12AM PDT

jobs:
matrix_definitions:
if: false
runs-on: ubuntu-latest
strategy:
matrix: &build-matrix
include:
- branch: develop
release_type: daily
# These are the lines to change to change the current release branch
# - branch: release/v1.9
# release_type: candidate
build-rocky8-docker:
name: Build ChimeraX for Rocky 8
strategy:
matrix:
<<: *build-matrix
uses: ./.github/workflows/rocky8_build.yml
with:
release_type: daily
branch: ${{ matrix.branch }}
release_type: ${{ matrix.release_type }}
secrets: inherit
build-rocky9-docker:
name: Build ChimeraX for Rocky 9
needs: [build-rocky8-docker]
strategy:
matrix:
<<: *build-matrix
uses: ./.github/workflows/rocky9_build.yml
with:
release_type: daily
branch: ${{ matrix.branch }}
release_type: ${{ matrix.release_type }}
secrets: inherit
build-ubuntu:
name: Build ChimeraX for Ubuntu
needs: [build-rocky8-docker]
strategy:
matrix:
<<: *build-matrix
uses: ./.github/workflows/ubuntu_build.yml
with:
release_type: daily
branch: ${{ matrix.branch }}
release_type: ${{ matrix.release_type }}
secrets: inherit
build-flatpak:
name: Build ChimeraX FlatPak
needs: [build-rocky8-docker]
strategy:
matrix:
<<: *build-matrix
uses: ./.github/workflows/flatpak_build.yml
with:
release_type: daily
branch: ${{ matrix.branch }}
release_type: ${{ matrix.release_type }}
secrets: inherit
build-arm-macos:
name: Build ChimeraX for arm64 macOS
strategy:
matrix:
<<: *build-matrix
uses: ./.github/workflows/mac_arm_build.yml
with:
release_type: daily
branch: ${{ matrix.branch }}
release_type: ${{ matrix.release_type }}
secrets: inherit
build-intel-macos:
name: Build ChimeraX for Intel macOS
strategy:
matrix:
<<: *build-matrix
uses: ./.github/workflows/mac_intel_build.yml
with:
release_type: daily
branch: ${{ matrix.branch }}
release_type: ${{ matrix.release_type }}
secrets: inherit
build-mac-universal:
name: Build Universal ChimeraX for macOS
needs: [build-arm-macos, build-intel-macos]
strategy:
matrix:
<<: *build-matrix
uses: ./.github/workflows/mac_universal_build.yml
with:
release_type: daily
branch: ${{ matrix.branch }}
release_type: ${{ matrix.release_type }}
secrets: inherit
build-windows:
name: Build ChimeraX for Windows
strategy:
matrix:
<<: *build-matrix
uses: ./.github/workflows/windows_build.yml
with:
release_type: daily
branch: ${{ matrix.branch }}
release_type: ${{ matrix.release_type }}
secrets: inherit

0 comments on commit 70c5809

Please sign in to comment.