From 996ed493a29c5a250e8ba4e27654e76017d28e5c Mon Sep 17 00:00:00 2001 From: Maxime Gervais Date: Mon, 24 Nov 2025 10:31:01 +0100 Subject: [PATCH] CI tests Signed-off-by: Maxime Gervais --- .github/workflows/embARC_Checks.yml | 72 +++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 .github/workflows/embARC_Checks.yml diff --git a/.github/workflows/embARC_Checks.yml b/.github/workflows/embARC_Checks.yml new file mode 100644 index 0000000..6bbe50c --- /dev/null +++ b/.github/workflows/embARC_Checks.yml @@ -0,0 +1,72 @@ +name: Checks + +on: [push, pull_request] + +jobs: + Unix: + strategy: + matrix: + os: [ubuntu-latest] + fail-fast: false + runs-on: ${{ matrix.os }} + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + fetch-depth: 1 + - uses: actions/setup-java@v5 + with: + distribution: 'corretto' + java-version: '21' + - uses: FedericoCarboni/setup-ffmpeg@v3 + id: setup-ffmpeg + with: + ffmpeg-version: release + - name: embARC-maj + run: | + git clone --depth=1 https://github.com/PortalMedia/embARC-maj.git + - name: Compile + run: | + sed -i.bak 's/com.portalmedia.embarc.gui.Launcher/com.portalmedia.embarc.cli.Main/g' build.gradle + ./gradlew build + - name: Check + run: | + ffmpeg -f lavfi -i "testsrc2=size=1920x1080:rate=30" -vframes 1 -pix_fmt rgb48le 000001.dpx + echo -n '{"COPYRIGHT_STATEMENT": "PLACEHOLDERTEXT"}' > copyright.json + java -jar build/libs/embARC-$(