fix: mobile UI responsive layout improvements #14
Workflow file for this run
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: Release | |
| on: | |
| push: | |
| tags: | |
| - 'v*' | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| include: | |
| - target: x86_64-unknown-linux-gnu | |
| archive_target: x86_64-linux-gnu | |
| os: ubuntu-latest | |
| use_cross: false | |
| - target: aarch64-unknown-linux-gnu | |
| archive_target: aarch64-linux-gnu | |
| os: ubuntu-latest | |
| use_cross: true | |
| - target: aarch64-apple-darwin | |
| archive_target: aarch64-apple-darwin | |
| os: macos-latest | |
| use_cross: false | |
| - target: x86_64-apple-darwin | |
| archive_target: x86_64-apple-darwin | |
| os: macos-15-intel | |
| use_cross: false | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Checkout squic-rust | |
| run: git clone --depth 1 https://github.com/wave-cl/squic-rust.git ../squic-rust | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| targets: ${{ matrix.target }} | |
| - name: Install cross | |
| if: matrix.use_cross | |
| run: cargo install cross --locked | |
| - name: Build | |
| run: | | |
| if [ "${{ matrix.use_cross }}" = "true" ]; then | |
| cross build --release --target ${{ matrix.target }} | |
| else | |
| cargo build --release --target ${{ matrix.target }} | |
| fi | |
| - name: Package | |
| run: | | |
| VERSION="${GITHUB_REF_NAME}" | |
| ARCHIVE="bti-${VERSION}-${{ matrix.archive_target }}.tar.gz" | |
| BINDIR="target/${{ matrix.target }}/release" | |
| tar -czf "${ARCHIVE}" -C "${BINDIR}" bti | |
| echo "ARCHIVE=${ARCHIVE}" >> $GITHUB_ENV | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: bti-${{ matrix.archive_target }} | |
| path: ${{ env.ARCHIVE }} | |
| release: | |
| needs: build | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - uses: actions/download-artifact@v4 | |
| with: | |
| merge-multiple: true | |
| - name: Create Release | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| generate_release_notes: true | |
| files: bti-*.tar.gz |