add aarch64 image #2
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: CI | ||
on: push | ||
jobs: | ||
manylinux: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
- os: "ubuntu-22.04" | ||
Check failure on line 10 in .github/workflows/ci.yml
|
||
arch: "x86_64" | ||
- os: "ubuntu-22.04-arm" | ||
arch: "aarch64" | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: docker compose build --build-arg="ARCH=${{ matrix.arch }}" | ||
- if: github.repository == 'spatial-model-editor/sme_manylinux' && github.event_name == 'push' && (startsWith(github.event.ref, 'refs/tags/')) | ||
uses: docker/login-action@v3 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
- if: github.repository == 'spatial-model-editor/sme_manylinux' && github.event_name == 'push' && (startsWith(github.event.ref, 'refs/tags/')) | ||
run: | | ||
docker compose build . --build-arg="ARCH=${{ARCH}}" -t ghcr.io/spatial-model-editor/manylinux_${{ matrix.arch }}:${{ github.ref_name }} | ||
docker compose push ghcr.io/spatial-model-editor/manylinux_${{ matrix.arch }}:${{ github.ref_name }} |