@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user