Fix ARGB images save when using WebP.

Upload artifacts.
This commit is contained in:
Martín Lucas Golini
2025-10-25 02:52:21 -03:00
parent 4f42b4ad14
commit 521631decf
12 changed files with 90 additions and 35 deletions

View File

@@ -39,3 +39,20 @@ jobs:
run: |
cd bin/unit_tests
xvfb-run ./eepp-unit_tests
- name: Upload test artifacts if folder exists
if: always()
run: |
if [ -d bin/unit_tests/output ]; then
echo "Artifact folder exists (bin/unit_tests/output), uploading..."
exit 0
else
echo "No artifact folder (bin/unit_tests/output), tests passed, skipping upload."
exit 0
fi
id: upload-check
- name: Upload artifacts
if: always() && steps.upload-check.outputs.result == '0' && exists('bin/unit_tests/output')
uses: actions/upload-artifact@v4
with:
name: linux-test-output
path: bin/unit_tests/output/*

View File

@@ -25,3 +25,20 @@ jobs:
run: |
cd bin/unit_tests
./eepp-unit_tests
- name: Upload test artifacts if folder exists
if: always()
run: |
if [ -d bin/unit_tests/output ]; then
echo "Artifact folder exists, uploading..."
exit 0
else
echo "No artifact folder (bin/unit_tests/output), tests passed, skipping upload."
exit 0
fi
id: upload-check
- name: Upload artifacts
if: always() && steps.upload-check.outputs.result == '0' && exists('bin/unit_tests/output')
uses: actions/upload-artifact@v4
with:
name: macos-test-output
path: bin/unit_tests/output/*

View File

@@ -51,3 +51,21 @@ jobs:
set LIBGL_ALWAYS_SOFTWARE=1
set GALLIUM_DRIVER=llvmpipe
bin\unit_tests\eepp-unit_tests.exe
- name: Upload test artifacts if folder exists
if: always()
shell: cmd
run: |
if exist bin\unit_tests\output (
echo Artifact folder exists, uploading...
exit 0
) else (
echo No artifact folder (bin\unit_tests\output), tests passed, skipping upload.
exit 0
)
id: upload-check
- name: Upload artifacts
if: always() && steps.upload-check.outputs.result == '0' && exists('bin/unit_tests/output')
uses: actions/upload-artifact@v4
with:
name: windows-test-output
path: bin\unit_tests\output\*