* wayland test chromium patch * ci: add wayland test job and helpers * use weston directly instead of wlheadless-run * roll build image to eac3529 * fixed exec command * Update .github/workflows/pipeline-segment-electron-test.yml Co-authored-by: John Kleinschmidt <kleinschmidtorama@gmail.com> * Update .github/workflows/pipeline-segment-electron-test.yml Co-authored-by: John Kleinschmidt <kleinschmidtorama@gmail.com> * chore: fixup shard case statement * reverted leftover patch line --------- Co-authored-by: John Kleinschmidt <kleinschmidtorama@gmail.com>
85 lines
No EOL
2.7 KiB
YAML
85 lines
No EOL
2.7 KiB
YAML
name: Build Git Cache
|
|
# This workflow updates git cache on the cross-instance cache volumes
|
|
# It runs daily at midnight.
|
|
|
|
on:
|
|
schedule:
|
|
- cron: "0 0 * * *"
|
|
|
|
permissions: {}
|
|
|
|
jobs:
|
|
build-git-cache-linux:
|
|
if: github.repository == 'electron/electron'
|
|
runs-on: electron-arc-centralus-linux-amd64-32core
|
|
permissions:
|
|
contents: read
|
|
container:
|
|
image: ghcr.io/electron/build:eac3529546ea8f3aa356d31e345715eef342233b
|
|
options: --user root
|
|
volumes:
|
|
- /mnt/cross-instance-cache:/mnt/cross-instance-cache
|
|
env:
|
|
CHROMIUM_GIT_COOKIE: ${{ secrets.CHROMIUM_GIT_COOKIE }}
|
|
GCLIENT_EXTRA_ARGS: '--custom-var=checkout_arm=True --custom-var=checkout_arm64=True'
|
|
steps:
|
|
- name: Checkout Electron
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
|
|
with:
|
|
path: src/electron
|
|
fetch-depth: 0
|
|
- name: Build Git Cache
|
|
uses: ./src/electron/.github/actions/build-git-cache
|
|
with:
|
|
target-platform: linux
|
|
|
|
build-git-cache-windows:
|
|
if: github.repository == 'electron/electron'
|
|
runs-on: electron-arc-centralus-linux-amd64-32core
|
|
permissions:
|
|
contents: read
|
|
container:
|
|
image: ghcr.io/electron/build:eac3529546ea8f3aa356d31e345715eef342233b
|
|
options: --user root --device /dev/fuse --cap-add SYS_ADMIN
|
|
volumes:
|
|
- /mnt/win-cache:/mnt/win-cache
|
|
env:
|
|
CHROMIUM_GIT_COOKIE: ${{ secrets.CHROMIUM_GIT_COOKIE }}
|
|
GCLIENT_EXTRA_ARGS: '--custom-var=checkout_win=True'
|
|
TARGET_OS: 'win'
|
|
steps:
|
|
- name: Checkout Electron
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
|
|
with:
|
|
path: src/electron
|
|
fetch-depth: 0
|
|
- name: Build Git Cache
|
|
uses: ./src/electron/.github/actions/build-git-cache
|
|
with:
|
|
target-platform: win
|
|
|
|
build-git-cache-macos:
|
|
if: github.repository == 'electron/electron'
|
|
runs-on: electron-arc-centralus-linux-amd64-32core
|
|
permissions:
|
|
contents: read
|
|
# This job updates the same git cache as linux, so it needs to run after the linux one.
|
|
needs: build-git-cache-linux
|
|
container:
|
|
image: ghcr.io/electron/build:eac3529546ea8f3aa356d31e345715eef342233b
|
|
options: --user root
|
|
volumes:
|
|
- /mnt/cross-instance-cache:/mnt/cross-instance-cache
|
|
env:
|
|
CHROMIUM_GIT_COOKIE: ${{ secrets.CHROMIUM_GIT_COOKIE }}
|
|
GCLIENT_EXTRA_ARGS: '--custom-var=checkout_mac=True --custom-var=host_os=mac'
|
|
steps:
|
|
- name: Checkout Electron
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
|
|
with:
|
|
path: src/electron
|
|
fetch-depth: 0
|
|
- name: Build Git Cache
|
|
uses: ./src/electron/.github/actions/build-git-cache
|
|
with:
|
|
target-platform: macos |