mirror of
https://github.com/TokTok/c-toxcore
synced 2026-04-25 15:32:14 +00:00
This one takes a long time and never fails because we ignore test failures (of which it has many). The other 2 freebsd builds actually check for test failures so are more valuable. We keep this one for now because it's our own freebsd image build, so we at least want to keep it building in case the other 2 freebsd builds break (e.g. Cirrus shuts down or the freebsd vm workflow goes away).
48 lines
1.4 KiB
YAML
48 lines
1.4 KiB
YAML
name: post-submit
|
|
|
|
on:
|
|
push:
|
|
branches: [master]
|
|
|
|
jobs:
|
|
build:
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
tool: [alpine-s390x, freebsd]
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- name: Set up Docker Buildx
|
|
uses: docker/setup-buildx-action@v3
|
|
- name: Docker Build
|
|
uses: docker/build-push-action@v5
|
|
with:
|
|
file: other/docker/${{ matrix.tool }}/${{ matrix.tool }}.Dockerfile
|
|
|
|
docker-coverage:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Set up Docker Buildx
|
|
uses: docker/setup-buildx-action@v3
|
|
with:
|
|
driver: docker
|
|
- name: Login to DockerHub
|
|
if: ${{ github.event_name == 'push' }}
|
|
uses: docker/login-action@v3
|
|
with:
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
- name: Build toxchat/c-toxcore:sources
|
|
uses: docker/build-push-action@v5
|
|
with:
|
|
file: other/docker/sources/sources.Dockerfile
|
|
tags: toxchat/c-toxcore:sources
|
|
- name: Build and push
|
|
uses: docker/build-push-action@v5
|
|
with:
|
|
file: other/docker/coverage/coverage.Dockerfile
|
|
push: ${{ github.event_name == 'push' }}
|
|
tags: toxchat/c-toxcore:coverage
|
|
cache-from: type=registry,ref=toxchat/c-toxcore:coverage
|
|
cache-to: type=inline
|