Skip to content

Commit

Permalink
ci: add windows tests using prebuilt dlls
Browse files Browse the repository at this point in the history
  • Loading branch information
gotson committed Aug 21, 2024
1 parent ff72746 commit aba2dfc
Show file tree
Hide file tree
Showing 19 changed files with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,36 @@ jobs:
name: test-reports-${{ matrix.os }}
path: '**/build/reports/tests/'

test-windows:
runs-on: windows-latest
name: Test windows
steps:
- uses: actions/checkout@v4
- name: Setup test-libraries in path
run: Add-Content $env:GITHUB_PATH $env:GITHUB_WORKSPACE\test-libraries\windows\x64\
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'liberica'
java-version: '21'
- name: Gradle build
uses: gradle/actions/setup-gradle@v3
env:
LD_LIBRARY_PATH: /home/linuxbrew/.linuxbrew/lib
JAVA_LIBRARY_PATH: /usr/local/lib/
with:
arguments: build
gradle-home-cache-includes: |
caches
notifications
jdks
- name: Upload Unit Test Reports
if: always()
uses: actions/upload-artifact@v4
with:
name: test-reports-windows
path: '**/build/reports/tests/'

version:
runs-on: macos-latest
if: github.repository_owner == 'gotson' && github.ref == 'refs/heads/main'
Expand Down
Binary file added test-libraries/windows/x64/aom.dll
Binary file not shown.
Binary file added test-libraries/windows/x64/brotlicommon.dll
Binary file not shown.
Binary file added test-libraries/windows/x64/brotlidec.dll
Binary file not shown.
Binary file added test-libraries/windows/x64/brotlienc.dll
Binary file not shown.
Binary file added test-libraries/windows/x64/dav1d.dll
Binary file not shown.
Binary file added test-libraries/windows/x64/heif.dll
Binary file not shown.
Binary file added test-libraries/windows/x64/hwy.dll
Binary file not shown.
Binary file added test-libraries/windows/x64/jxl.dll
Binary file not shown.
Binary file added test-libraries/windows/x64/jxl_threads.dll
Binary file not shown.
Binary file added test-libraries/windows/x64/lcms2.dll
Binary file not shown.
Binary file added test-libraries/windows/x64/libde265.dll
Binary file not shown.
Binary file added test-libraries/windows/x64/libsharpyuv.dll
Binary file not shown.
Binary file added test-libraries/windows/x64/libwebp.dll
Binary file not shown.
Binary file added test-libraries/windows/x64/libwebpdecoder.dll
Binary file not shown.
Binary file added test-libraries/windows/x64/libwebpmux.dll
Binary file not shown.
Binary file added test-libraries/windows/x64/libx265.dll
Binary file not shown.
Binary file added test-libraries/windows/x64/webpdemux.dll
Binary file not shown.
Binary file added test-libraries/windows/x64/zlib1.dll
Binary file not shown.

0 comments on commit aba2dfc

Please sign in to comment.