propagate error messages from ffi properly #162
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build minimuxer | |
| on: [push] | |
| jobs: | |
| build: | |
| name: Build minimuxer | |
| if: startsWith(github.event.head_commit.message, '[build]') | |
| concurrency: | |
| group: ${{ github.ref }} | |
| cancel-in-progress: true | |
| runs-on: macos-15 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - name: Install rust | |
| uses: actions-rs/toolchain@v1 | |
| with: | |
| toolchain: stable | |
| profile: minimal | |
| - name: Install rust targets for iOS | |
| run: rustup target add aarch64-apple-ios aarch64-apple-ios-sim x86_64-apple-ios | |
| - name: Install bindgen for aws-lc | |
| run: cargo install --force --locked bindgen-cli | |
| - name: Cache rust | |
| uses: Swatinem/rust-cache@v2 | |
| - name: Setup Xcode | |
| uses: maxim-lobanov/setup-xcode@v1.4.1 | |
| with: | |
| xcode-version: 16.2 | |
| - name: Build | |
| run: make zip | |
| - name: Upload to release | |
| uses: IsaacShelton/update-existing-release@v1.3.1 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| release: "Build" | |
| tag: "build" | |
| files: | | |
| minimuxer.xcframework.zip | |
| generated.zip | |
| target/libminimuxer-ios.a | |
| target/libminimuxer-sim.a | |
| body: | | |
| Commit: https://github.com/${{ github.repository }}/commit/${{ github.sha }} |