CI: Add a job to run a nightly build on various Linux distros #1
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: 'Nightly Linux Distro Builds' | |
on: | |
push: | |
paths: | |
- '.devcontainer/**' | |
- 'vcpkg.json' | |
# Run daily at 02:30. | |
schedule: | |
- cron: '30 2 * * *' | |
# Allows you to run this workflow manually from the Actions tab on GitHub. | |
workflow_dispatch: | |
permissions: | |
contents: read | |
packages: read | |
jobs: | |
build: | |
if: github.repository == 'LadybirdBrowser/ladybird' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Login to GitHub Container Registry | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.repository_owner }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Run default build in Fedora container | |
uses: devcontainers/[email protected] | |
with: | |
cacheFrom: ghcr.io/ladybirdbrowser/ladybird-ci-fedora:latest | |
push: never | |
subFolder: .devcontainer/fedora-ci | |
runCmd: Meta/ladybird.sh test | |