Add github action

Former-commit-id: 3997b45684f5d22810c3f10c3b4198d1992d5304 [formerly 607a9478b7147d85e9f4c9a8033b2a6dd0e304f2] [formerly d50dfd1ca2398c736d0f87cb9956ed9a286d7760 [formerly e7260f200ba86ea26c02fefcef6bc461be1313eb]]
Former-commit-id: 010b667c07a0dfac0cc3748e9c9799f88ceac581 [formerly eedead8a3df9695d3df787a2ceae22e866a03a57]
Former-commit-id: eed02442683cf22c7a8626299c84982aeae51fc2
Former-commit-id: 62c8f8fba03417b644a4e0ddde2ab8a530e240d3
Former-commit-id: e8d3321ae87e8244d371072f32f577e2c207518c
Former-commit-id: 0953288321f73422c15059a103ac14c719d0b3df [formerly 8d729b72aa0ba54411d914f447f38e8884c32fbc]
Former-commit-id: 5a2b4b53c41a648ca76784e002ce3829bff6feb7
This commit is contained in:
Σrebe - Romain GERARD 2023-10-15 19:01:23 +02:00
parent 639ec6701a
commit fd0a6c4e8e

View file

@ -31,10 +31,10 @@ jobs:
target: armv7-unknown-linux-musleabihf
# Mac OS
# - name: MacOS x86_64
# target: x86_64-apple-darwin
# - name: MacOS aarch64
# target: aarch64-apple-darwin
- name: MacOS x86_64
target: x86_64-apple-darwin
- name: MacOS aarch64
target: aarch64-apple-darwin
# Windows
# - name: Windows x86_64
@ -71,13 +71,6 @@ jobs:
args: ${{ env.BUILD_ARGS }} --target ${{ matrix.platform.target }}
# Mac OS
- name: Login to DockerHub
if: contains(matrix.platform.target, 'apple')
# We log on DockerHub
uses: docker/login-action@v3
with:
username: ${{ env.DOCKER_LOGIN }}
password: ${{ env.DOCKER_TOKEN }}
- name: Build ${{ matrix.platform.name }} binary
if: contains(matrix.platform.target, 'apple')
# We use a dedicated Rust image containing required Apple libraries to cross-compile on multiple archs