Files
davinci-video-converter-fork/.github/workflows/ci.yml
tkmxqrdxddd c4918446b9 fixed ci.yml
2024-10-19 21:24:12 +02:00

31 lines
700 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@v2
- name: Install Dependencies
run: sudo apt-get install -y build-essential ffmpeg wget
- name: Download Sample Video
run: wget -O tests/sample_video.mp4 https://sample-videos.com/video123/mp4/720/big_buck_bunny_720p_1mb.mp4
- name: Build
run: |
g++ -o davinci-convert src/main.cpp -lstdc++fs
- name: Run
run: |
echo "Running the Video Converter..."
./davinci-convert tests/sample_video.mp4 --output tests/output/video.mov