mirror of
https://github.com/facefusion/facefusion-docker.git
synced 2026-04-23 17:45:56 +02:00
19 lines
490 B
YAML
19 lines
490 B
YAML
name: ci
|
|
|
|
on: [ push, pull_request ]
|
|
|
|
jobs:
|
|
test:
|
|
name: ${{ matrix.config.image-name }}
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
config:
|
|
- { docker-file: 'Dockerfile.cpu', image-name: 'facefusion-cpu' }
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
- run: docker build -f ${{ matrix.config.docker-file }} -t ${{ matrix.config.image-name }} .
|
|
- run: docker run -d ${{ matrix.config.image-name }}
|
|
- run: docker ps | grep -q ${{ matrix.config.image-name }}
|