fix mimalloc crash on i686 #25
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: Build | |
| on: [push, pull_request] | |
| jobs: | |
| download_source: | |
| name: Download source | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Download source | |
| run: | | |
| ./main.py --arch x86_64 --branch main --download-only | |
| ./main.py --arch x86_64 --branch time32 --download-only | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: src | |
| path: | | |
| assets | |
| build: | |
| name: Build | |
| needs: [download_source] | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| arch: | |
| - x86_64 | |
| - aarch64 | |
| - riscv64 | |
| - loong64 | |
| - i686 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Download source | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: src | |
| path: assets | |
| - name: Build | |
| run: | | |
| if [[ "${{ matrix.arch }}" == "i686" ]]; then | |
| branch="time32" | |
| else | |
| branch="main" | |
| fi | |
| podman run \ | |
| --platform linux/amd64 \ | |
| --rm \ | |
| --cap-add=sys_admin \ | |
| --volume $PWD:/mnt \ | |
| --workdir /mnt \ | |
| docker.io/amd64/ubuntu:24.04 \ | |
| bash -c \ | |
| "./support/dep.sh && ./main.py -a ${{ matrix.arch }} -b $branch" | |
| - name: Upload | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: ${{ matrix.arch }} | |
| path: container/${{ matrix.arch }}/qt.tar | |
| - name: OCI image | |
| uses: macbre/push-to-ghcr@master | |
| if: github.ref_type == 'tag' | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| image_name: redpanda-cpp/appimage-builder-${{ matrix.arch }} | |
| dockerfile: container/${{ matrix.arch }}/Dockerfile | |
| context: container/${{ matrix.arch }} | |
| image_tag: ${{ github.ref_name }} |