summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStevenWdV <stevenwdv@gmail.com>2022-02-10 13:03:35 +0100
committerStevenWdV <stevenwdv@gmail.com>2022-02-10 13:04:23 +0100
commit93edb58effcc9b001fd9fb1e5bd5b7f9f79ca1c5 (patch)
tree630e946fa822cc951b6ec207b822f4309b0437b0
parentc5a12983d63c95aa0314d8b910cd06ef45974f16 (diff)
Only test C# for Windows on CI
-rw-r--r--.github/workflows/test-win.yml86
1 files changed, 3 insertions, 83 deletions
diff --git a/.github/workflows/test-win.yml b/.github/workflows/test-win.yml
index 09fde62..6a9ce46 100644
--- a/.github/workflows/test-win.yml
+++ b/.github/workflows/test-win.yml
@@ -4,7 +4,7 @@ on: [ push, pull_request ]
jobs:
test-go:
- name: Test Go
+ name: "[Windows] Test Go"
runs-on: windows-latest
steps:
@@ -15,7 +15,7 @@ jobs:
- run: make test-go
build-lib:
- name: Build shared Go library
+ name: "[Windows] Build shared Go library"
runs-on: windows-latest
steps:
@@ -31,7 +31,7 @@ jobs:
retention-days: 1
test-csharp:
- name: Test C# wrapper
+ name: "[Windows] Test C# wrapper"
needs: build-lib
runs-on: windows-latest
@@ -49,83 +49,3 @@ jobs:
run: make -C wrappers/csharp test
- name: Build .nupkg
run: make -C wrappers/csharp pack
-
- test-java-android:
- name: Test Android (Java) wrapper
- needs: build-lib
- runs-on: windows-latest
-
- steps:
- - uses: actions/checkout@v2
- - uses: actions/setup-java@v2
- with:
- distribution: temurin
- java-version: 11
- - uses: android-actions/setup-android@v2
-
- - uses: actions/download-artifact@v2
- with:
- name: shared-lib
- path: exports/lib/
- - name: Test
- run: make -C wrappers/java-android test NO_DAEMON=1 NO_EMULATOR=1
- - name: Build .aar
- run: make -C wrappers/java-android pack NO_DAEMON=1
-
- test-php:
- name: Test PHP wrapper
- needs: build-lib
- runs-on: windows-latest
-
- steps:
- - uses: actions/checkout@v2
- # Note: PHP is already included: https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu2004-Readme.md
-
- - uses: actions/download-artifact@v2
- with:
- name: shared-lib
- path: exports/lib/
- - name: Test
- run: make -C wrappers/php test
-
- test-python:
- name: Test Python wrapper
- needs: build-lib
- runs-on: windows-latest
-
- steps:
- - uses: actions/checkout@v2
- # Note: Python 3 is already included
-
- - uses: actions/download-artifact@v2
- with:
- name: shared-lib
- path: exports/lib/
- - name: Test
- run: make -C wrappers/python test
- - name: Build .whl
- run: make -C wrappers/python pack
-
- test-swift:
- name: Test Swift wrapper
- needs: build-lib
- runs-on: windows-latest
-
- steps:
- - uses: actions/checkout@v2
- - name: Set up Visual Studio shell
- uses: egor-tensin/vs-shell@v2
- with:
- arch: x64
- - name: Generate import library
- run: exports/generate_lib.ps1 -DllPath (Get-ChildItem -Recurse exports/lib *.dll)
- - uses: rinsuki/setup-swift-windows
- with:
- version: 5.5
-
- - uses: actions/download-artifact@v2
- with:
- name: shared-lib
- path: exports/lib/
- - name: Test
- run: make -C wrappers/swift test