mirror of
https://github.com/tkmxqrdxddd/davinci-video-converter
synced 2026-03-29 15:25:33 +02:00
- Fix ci.yml to create test input file before running tests - Add build-deb.yml for DEB package building on releases - Add ci-cd.yml for comprehensive CI/CD pipeline - Add security.yml for code security scanning - Add release.yml for dedicated release builds
30 lines
617 B
YAML
30 lines
617 B
YAML
name: C/C++ CI
|
|
|
|
on:
|
|
push:
|
|
branches: [ "main" ]
|
|
pull_request:
|
|
branches: [ "main" ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Install Dependencies
|
|
run: sudo apt-get update && sudo apt-get install -y build-essential ffmpeg
|
|
|
|
- name: Build
|
|
run: make
|
|
|
|
- name: Create test input file
|
|
run: |
|
|
mkdir -p tests
|
|
ffmpeg -f lavfi -i testsrc=duration=1:size=128x72:rate=1 -c:v libx264 -t 1 tests/input.mp4 -y 2>/dev/null || touch tests/input.mp4
|
|
|
|
- name: Run Unit Tests
|
|
run: make test
|