Skip to content

Commit

Permalink
Update java test and .net SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
Danielku15 committed Dec 24, 2023
1 parent 612b726 commit d83f6ca
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/~dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:
dotnet:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '8'
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
with:
Expand Down Expand Up @@ -53,6 +56,9 @@ jobs:
runs-on: ${{ matrix.runs-on }}
needs: [dotnet]
steps:
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '8'
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
with:
Expand Down
6 changes: 3 additions & 3 deletions test/java/src/main/java/alphaTab/alphaSkia/test/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -175,13 +175,13 @@ private static int mainWithExitCode() {
private static void initializeAlphaSkia() throws IOException {
switch(getOperatingSystemRid()) {
case "macos":
AlphaSkiaPlatform.loadLibrary(AlphaSkiaMacOs.class);
AlphaSkiaMacOs.INSTANCE.inititalize();
break;
case "win":
AlphaSkiaPlatform.loadLibrary(AlphaSkiaWindows.class);
AlphaSkiaWindows.INSTANCE.inititalize();
break;
case "linux":
AlphaSkiaPlatform.loadLibrary(AlphaSkiaLinux.class);
AlphaSkiaLinux.INSTANCE.inititalize();
break;
}
}
Expand Down

0 comments on commit d83f6ca

Please sign in to comment.