Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ffi-builds.yml #262

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ jobs:
fail-fast: false
matrix:
include:
- os: windows-latest
- os: windows-2019
target: x86_64-pc-windows-msvc
- os: windows-latest
- os: windows-2019
target: aarch64-pc-windows-msvc
#extraargs: --exclude livekit-api --exclude livekit-ffi # waiting for v0.17 of ring
- os: macos-latest
Expand Down
26 changes: 13 additions & 13 deletions .github/workflows/ffi-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,17 @@ jobs:
fail-fast: false
matrix:
include:
#- os: windows-latest
# platform: windows
# dylib: livekit_ffi.dll
# target: x86_64-pc-windows-msvc
# name: ffi-windows-x86_64
#- os: windows-latest
# platform: windows
# dylib: livekit_ffi.dll
# buildargs: --no-default-features --features "native-tls" # ring 0.16 is incompatible with win aarch64
# target: aarch64-pc-windows-msvc
# name: ffi-windows-arm64
- os: windows-2019
platform: windows
dylib: livekit_ffi.dll
target: x86_64-pc-windows-msvc
name: ffi-windows-x86_64
- os: windows-2019
platform: windows
dylib: livekit_ffi.dll
buildargs: --no-default-features --features "native-tls" # ring 0.16 is incompatible with win aarch64
target: aarch64-pc-windows-msvc
name: ffi-windows-arm64
- os: macos-latest
platform: macos
dylib: liblivekit_ffi.dylib
Expand Down Expand Up @@ -158,14 +158,14 @@ jobs:

# zip the files
- name: Zip artifact (Unix)
if: ${{ matrix.os != 'windows-latest' }}
if: ${{ matrix.os != 'windows-2019' }}
run: |
cp livekit-ffi/include/livekit_ffi.h target/${{ matrix.target }}/release/
cd target/${{ matrix.target }}/release/
zip ${{ github.workspace }}/${{ matrix.name }}.zip ${{ matrix.dylib }} livekit_ffi.h LICENSE.md

- name: Zip artifact (Windows)
if: ${{ matrix.os == 'windows-latest' }}
if: ${{ matrix.os == 'windows-2019' }}
run: |
cp livekit-ffi/include/livekit_ffi.h target/${{ matrix.target }}/release/
cd target/${{ matrix.target }}/release/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
matrix:
include:
# Platform supports is limited for tests (no aarch64)
- os: windows-latest
- os: windows-2019
target: x86_64-pc-windows-msvc
- os: macos-latest
target: x86_64-apple-darwin
Expand Down
Loading