threads: handle zero-sized requests and preload a la mpi #186
Workflow file for this run
This file contains 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*.*.*' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | |
jobs: | |
build-images: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
image: [faabric, planner] | |
steps: | |
- name: "Get the code" | |
uses: actions/checkout@v4 | |
- name: "Get tag version" | |
run: echo "TAG_VERSION=${GITHUB_REF#refs/tags/v*}" >> $GITHUB_ENV | |
- name: "Print tag version" | |
run: echo ${{ env.TAG_VERSION }} | |
- name: "Set up QEMU" | |
uses: docker/setup-qemu-action@v3 | |
- name: "Set up Docker Buildx" | |
uses: docker/setup-buildx-action@v3 | |
- name: "Log in to ACR" | |
uses: docker/login-action@v3 | |
with: | |
registry: faasm.azurecr.io | |
username: ${{ secrets.ACR_SERVICE_PRINCIPAL_ID }} | |
password: ${{ secrets.ACR_SERVICE_PRINCIPAL_PASSWORD }} | |
- name: "Build Faabric container" | |
uses: docker/build-push-action@v5.2.0 | |
with: | |
push: true | |
file: docker/${{ matrix.image }}.dockerfile | |
context: . | |
tags: faasm.azurecr.io/${{ matrix.image }}:${{ env.TAG_VERSION }} | |
build-args: FAABRIC_VERSION=${{ env.TAG_VERSION }} |