Skip to content

Commit

Permalink
Update workflows, bump KJna version
Browse files Browse the repository at this point in the history
  • Loading branch information
toasterofbread committed Jun 12, 2024
1 parent 7ec1545 commit 1878f30
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-linux-arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ jobs:
working-directory: zeromq-4.3.5
run: make -j$(nproc) && make install

- name: Copy libzmq into src/nativeInterop/linuxArm64
run: mkdir -p src/nativeInterop/linuxArm64 && cp -r libzmq/* src/nativeInterop/linuxArm64
- name: Copy libzmq into library/src/nativeInterop/linuxArm64
run: mkdir -p library/src/nativeInterop/linuxArm64 && cp -r libzmq/* library/src/nativeInterop/linuxArm64

- name: Add arm64 architecture to dpkg
run: dpkg --add-architecture arm64
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-linux-x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ jobs:
working-directory: zeromq-4.3.5
run: make -j$(nproc) && make install

- name: Copy libzmq into src/nativeInterop/linuxX64
run: mkdir -p src/nativeInterop/linuxX64 && cp -r libzmq/* src/nativeInterop/linuxX64
- name: Copy libzmq into library/src/nativeInterop/linuxX64
run: mkdir -p library/src/nativeInterop/linuxX64 && cp -r libzmq/* library/src/nativeInterop/linuxX64

- name: Set up Gradle
uses: gradle/gradle-build-action@v3
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build-windows-x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,21 +35,21 @@ jobs:
github-binarycache: true

- name: Copy built files
run: xcopy /s /i /y "${{ github.workspace }}\vcpkg\installed\x64-windows\*" "${{ github.workspace }}\src\nativeInterop\mingwX64"
run: xcopy /s /i /y "${{ github.workspace }}\vcpkg\installed\x64-windows\*" "${{ github.workspace }}\library\src\nativeInterop\mingwX64"

- name: Download mpv
run: curl -L https://downloads.sourceforge.net/project/mpv-player-windows/libmpv/mpv-dev-x86_64-20240114-git-bd35dc8.7z --output mpv.7z

- name: Extract mpv
shell: bash
run: |
"/c/Program Files/7-Zip/7z.exe" x mpv.7z -o"src\nativeInterop\mingwX64"
"/c/Program Files/7-Zip/7z.exe" x mpv.7z -o"library\src\nativeInterop\mingwX64"
- name: Move libmpv.dll.a
run: move src\nativeInterop\mingwX64\libmpv.dll.a src\nativeInterop\mingwX64\lib\libmpv.dll.a
run: move library\src\nativeInterop\mingwX64\libmpv.dll.a library\src\nativeInterop\mingwX64\lib\libmpv.dll.a

- name: Move libmpv-2.dll
run: move src\nativeInterop\mingwX64\libmpv-2.dll src\nativeInterop\mingwX64\bin\libmpv-2.dll
run: move library\src\nativeInterop\mingwX64\libmpv-2.dll library\src\nativeInterop\mingwX64\bin\libmpv-2.dll

- name: Set up Gradle
uses: gradle/gradle-build-action@v3
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ clikt.version=4.4.0
mediasession.version=0.1.1
ytm.version=0.2.1
ktor.version=3.0.0-beta-1
kjna.version=69923b28b5
kjna.version=06023e1f27

kotlin.native.cacheKind.linuxX64=none

0 comments on commit 1878f30

Please sign in to comment.