ubuntu-24.04: drop libegl1-mesa, libsdl1.2-dev #252
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: yocto-container build and test | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
# Allow for manually running | |
workflow_dispatch: | |
# Run at 00:52 UTC every Saturday | |
schedule: | |
- cron: '52 0 * * 6' | |
jobs: | |
build-test-deploy: | |
runs-on: ubuntu-latest | |
permissions: | |
packages: write | |
strategy: | |
fail-fast: false | |
matrix: | |
distro_to_build: [ | |
alma-8, | |
alma-9, | |
debian-10, | |
debian-11, | |
debian-12, | |
fedora-39, | |
fedora-40, | |
opensuse-15.4, | |
opensuse-15.5, | |
ubuntu-18.04, | |
ubuntu-20.04, | |
ubuntu-22.04, | |
ubuntu-24.04 | |
] | |
targetplatform: [ | |
linux/amd64 | |
] | |
env: | |
DISTRO_TO_BUILD: ${{ matrix.distro_to_build }} | |
TARGETPLATFORM: ${{ matrix.targetplatform }} | |
REPO: crops/yocto | |
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} | |
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} | |
GHCR_USERNAME: ${{ github.actor }} | |
GHCR_PASSWORD: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
# Build and test the images | |
- name: Run build-and-test.sh | |
run: ./build_container.sh | |
# Deploy the images | |
- name: Deploy | |
if: ${{ env.DOCKER_PASSWORD != '' && env.GHCR_PASSWORD != '' }} | |
run: ./deploy.sh |