Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions .github/workflows/build-notebooks-TEMPLATE.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,13 @@ jobs:
with:
ref: "refs/pull/${{ fromJson(inputs.github).event.number }}/merge"

- name: Set up QEMU to build linux/s390x
if: ${{ inputs.platform == 'linux/s390x' }}
uses: docker/setup-qemu-action@v3
with:
platforms: s390x
# https://github.com/docker/setup-qemu-action?tab=readme-ov-file#about
# https://www.itix.fr/blog/qemu-user-static-with-podman/
- name: Set up QEMU for non-native architecture
if: ${{ contains(fromJSON('["linux/s390x", "linux/ppc64le"]'), inputs.platform) }}
run: docker run --rm --privileged tonistiigi/binfmt --install ${platform#*/}
env:
platform: ${{ inputs.platform }}

- run: mkdir -p $TMPDIR

Expand Down Expand Up @@ -175,8 +177,8 @@ jobs:
path: /home/linuxbrew/.linuxbrew
key: linuxbrew-${{ runner.os }}-${{ runner.arch }}

- name: Install podman (linux/amd64)
if: inputs.platform == 'linux/amd64' && steps.cached-linuxbrew.outputs.cache-hit != 'true'
- name: Install podman (linux/amd64, or qemu-user emulation)
if: contains(fromJSON('["linux/amd64", "linux/s390x", "linux/ppc64le"]'), inputs.platform) && steps.cached-linuxbrew.outputs.cache-hit != 'true'
run: |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
/home/linuxbrew/.linuxbrew/bin/brew install podman
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/update-commit-latest-env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: Update commit-latest.env on params-latest.env change

"on":
workflow_dispatch:
schedule:
- cron: '0 11 * * *' # Daily at midnight UTC
push:
branches:
- main
Expand Down
Loading