feat: tls features (#86)

* feat: tls features

* Update builds.yml
This commit is contained in:
Théo Monnom
2023-06-09 23:03:35 +02:00
committed by GitHub
parent d33e40c972
commit 9c2ba04f71
5 changed files with 124 additions and 106 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ jobs:
target: x86_64-pc-windows-msvc
- os: windows-latest
target: aarch64-pc-windows-msvc
extraargs: --exclude livekit-api # livekit-api isn't compatible with windows arm64 (waiting for v0.17 of ring)
extraargs: --exclude livekit-api --exclude livekit-ffi # waiting for v0.17 of ring
- os: macos-latest
target: x86_64-apple-darwin
- os: macos-latest
+4 -2
View File
@@ -15,6 +15,8 @@ jobs:
target: x86_64-pc-windows-msvc
- os: windows-latest
dylib: livekit_ffi.dll
# due to ring 0.16 compatibilities with win aarch64, we need to use native-tls instead of rustls
buildargs: --no-default-features --features "native-tls"
target: aarch64-pc-windows-msvc
- os: macos-latest
dylib: liblivekit_ffi.dylib
@@ -65,13 +67,13 @@ jobs:
- name: Zip artifact (Unix)
if: ${{ matrix.os != 'windows-latest' }}
run: |
cd target/release/
cd ${{ matrix.target }}/target/release/
zip ${{ github.workspace }}/${{ steps.setup.outputs.ZIP }} ${{ matrix.dylib }}
- name: Zip artifact (Windows)
if: ${{ matrix.os == 'windows-latest' }}
run: |
cd target/release/
cd ${{ matrix.target }}/target/release/
Compress-Archive -Path ${{ matrix.dylib }} -DestinationPath ${{ github.workspace }}\${{ steps.setup.outputs.ZIP }}
# doublezip here but I don't think there is an alternative