Skip to content

Commit

Permalink
Add build workflow for MacOS (Tencent#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
iyangsj authored Dec 21, 2023
1 parent 08a11a5 commit a0448ea
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,20 @@ jobs:
submodules: 'recursive'
- name: Update rust
run: rustup update
- name: Build TQUIC library
run: cargo build -F ffi --verbose
- name: Build TQUIC tools
run: cargo build --all --verbose
- name: Build TQUIC library and tools
run: cargo build --all -F ffi --verbose

build_macos:
name: Build for MacOS
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Update rust
run: rustup update
- name: Build TQUIC library and tools
run: cargo build --all -F ffi --verbose

build_ios:
name: Build for iOS
Expand All @@ -41,7 +51,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: build
args: --target=${{ env.TARGET }} --verbose
args: --target=${{ env.TARGET }} --verbose --features ffi

build_android:
name: Build for Android
Expand Down

0 comments on commit a0448ea

Please sign in to comment.