Skip to content

CI: Add a job to run a nightly build on various Linux distros #1

CI: Add a job to run a nightly build on various Linux distros

CI: Add a job to run a nightly build on various Linux distros #1

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