Skip to content

Commit

Permalink
ci: Use the consolidated cache in daily builds
Browse files Browse the repository at this point in the history
  • Loading branch information
zjp committed Oct 31, 2024
1 parent f116993 commit 2ed6c6c
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 18 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/mac_arm_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,12 @@ jobs:
patch --ignore-whitespace -d /opt/homebrew/lib/python3.10/site-packages/dmgbuild -N -p0 < ./utils/build/macos/dmgbuild.patch
- uses: actions/checkout@v4
- run: ${PWD}/utils/set_up_macos.sh
- name: Fetch PyQt6 and PyQt6-WebEngine from Plato
uses: ./utils/ci/cache_pyqt
- name: Fetch Plato prerequisites
uses: ./utils/ci/consolidated_cache
with:
platform: macos
architecture: universal2
architecture: arm64
cache_key: ${{ secrets.PREBUILT_CACHE_SECRET }}
- uses: ./utils/ci/cache_mmtf/
- run: MAKEOPTS="-j$(sysctl -n hw.logicalcpu)" make -j$(sysctl -n hw.logicalcpu) install-rbvi
- name: Run the legacy test suite
run: make test
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/mac_intel_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,12 @@ jobs:
# Temporarily force this to succeed. The container's Python conflicts with homebrew's,
# but we don't really use it anyway.
- run: ${PWD}/utils/set_up_macos.sh || true
- name: Fetch PyQt6 and PyQt6-WebEngine from Plato
uses: ./utils/ci/cache_pyqt
- name: Fetch Plato prerequisites
uses: ./utils/ci/consolidated_cache
with:
platform: macos
architecture: universal2
architecture: x86_64
cache_key: ${{ secrets.PREBUILT_CACHE_SECRET }}
- uses: ./utils/ci/cache_mmtf/
- run: MAKEOPTS="-j$(sysctl -n hw.logicalcpu)" make -j$(sysctl -n hw.logicalcpu) install-rbvi
- name: Run the legacy test suite
run: make test
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/rocky8_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,12 @@ jobs:
# buildinfo.py breaks without this
- run: chown -R $(id -u):$(id -g) $PWD
- run: ${PWD}/utils/set_up_centos.sh
- name: Fetch PyQt6 and PyQt6-WebEngine from Plato
uses: ./utils/ci/cache_pyqt
- name: Fetch Plato prerequisites
uses: ./utils/ci/consolidated_cache
with:
platform: linux
architecture: x86_64
cache_key: ${{ secrets.PREBUILT_CACHE_SECRET }}
- uses: ./utils/ci/cache_mmtf/
- run: source /opt/rh/gcc-toolset-10/enable && MAKEOPTS="-j$(nproc)" make -j$(nproc) -f Makefile.centos install-rbvi
- name: Run the legacy test suite
run: make test
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rocky9_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ jobs:
# buildinfo.py breaks without this
- run: chown -R $(id -u):$(id -g) $PWD
- run: ${PWD}/utils/set_up_centos.sh
- name: Fetch PyQt6 and PyQt6-WebEngine from Plato
uses: ./utils/ci/cache_pyqt
- name: Fetch Plato prerequisites
uses: ./utils/ci/consolidated_cache
with:
platform: linux
architecture: x86_64
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ubuntu_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
with:
ref: ${{ inputs.branch || 'develop' }}
- run: sudo apt-get update && sudo apt-get upgrade -y && ${PWD}/utils/set_up_ubuntu.sh
- name: Fetch PyQt6 and PyQt6-WebEngine from Plato
uses: ./utils/ci/cache_pyqt
- name: Fetch Plato prerequisites
uses: ./utils/ci/consolidated_cache
with:
platform: linux
architecture: x86_64
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/windows_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,12 @@ jobs:
msystem: MINGW64
update: true
install: git mingw-w64-x86_64-imagemagick mingw-w64-x86_64-binutils mingw-w64-x86_64-gcc mingw-w64-x86_64-gcc-objc mingw-w64-x86_64-gcc-fortran rsync patch unzip openssh make mingw-w64-x86_64-autotools
- name: Fetch PyQt6 and PyQt6-WebEngine from Plato
uses: ./utils/ci/cache_pyqt
- name: Fetch Plato prerequisites
uses: ./utils/ci/consolidated_cache
with:
platform: windows
architecture: x86
cache_key: ${{ secrets.PREBUILT_CACHE_SECRET }}
- uses: ./utils/ci/cache_mmtf/
- run: AUTOMATIC_DISCOVERY=1 . ./vsvars.sh && MAKEOPTS="-j$(nproc)" make -j$(nproc) install
- name: Run the legacy test suite
run: AUTOMATIC_DISCOVERY=1 . ./vsvars.sh && make test
Expand Down

0 comments on commit 2ed6c6c

Please sign in to comment.