Skip to content

👷 Add mac test builds to CI #1

👷 Add mac test builds to CI

👷 Add mac test builds to CI #1

Workflow file for this run

# Copyright 2024 - 2025 Khalil Estell and the libhal contributors

Check failure on line 1 in .github/workflows/14.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/14.yml

Invalid workflow file

(Line: 78, Col: 5): Unexpected value 'display_name', (Line: 86, Col: 5): Unexpected value 'display_name', (Line: 94, Col: 5): Unexpected value 'display_name'
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: 🚀 Deploy 🔧 GCC 14
on:
workflow_dispatch:
workflow_call:
inputs:
upload:
type: boolean
default: true
version:
type: string
default: "14"
jobs:
# Native compilation tests
verify-linux-x86_64:
uses: ./.github/workflows/verify.yml
with:
display_name: Linux x86_64
version: ${{ inputs.version }}
os: ubuntu-24.04
verify-linux-arm:
uses: ./.github/workflows/verify.yml
with:
display_name: Linux ARM
version: ${{ inputs.version }}
os: ubuntu-24.04-arm
verify-windows-x86_64:
uses: ./.github/workflows/verify.yml
with:
display_name: Windows x86_64
version: ${{ inputs.version }}
os: windows-latest
# ARM Cortex-M cross-compilation tests
verify-linux-x86_64-cortex-m4f:
uses: ./.github/workflows/verify.yml
with:
display_name: Linux x86_64 → Cortex-M4F
version: ${{ inputs.version }}
os: ubuntu-24.04
host_profile: -pr:h cortex-m4f
verify-linux-arm-cortex-m4:
uses: ./.github/workflows/verify.yml
with:
display_name: Linux ARM → Cortex-M4
version: ${{ inputs.version }}
os: ubuntu-24.04-arm
host_profile: -pr:h cortex-m4
verify-windows-x86_64-cortex-m33f:
uses: ./.github/workflows/verify.yml
with:
display_name: Windows x86_64 → Cortex-M33F
version: ${{ inputs.version }}
os: windows-latest
host_profile: -pr:h cortex-m33f
verify-macos-14-arm-cortex-m1:
uses: ./.github/workflows/verify.yml
display_name: Mac 14 ARM → Cortex-m1
with:
version: ${{ inputs.version }}
runner_os: macos-15
arch: cortex-m1
verify-macos-15-arm-cortex-m7d:
uses: ./.github/workflows/verify.yml
display_name: Mac 15 ARM → Cortex-M7D
with:
version: ${{ inputs.version }}
runner_os: macos-15
arch: cortex-m7d
verify-macos-15-intel-cortex-m0plus:
uses: ./.github/workflows/verify.yml
display_name: Mac 15 x86_64 → Cortex-M0+
with:
version: ${{ inputs.version }}
runner_os: macos-15-intel
arch: cortex-m0plus
upload-package:
needs:
- verify-linux-x86_64
- verify-linux-arm
- verify-windows-x86_64
- verify-linux-x86_64-cortex-m4f
- verify-linux-arm-cortex-m4
- verify-windows-x86_64-cortex-m33f
- verify-macos-14-arm-cortex-m1
- verify-macos-15-arm-cortex-m7d
- verify-macos-15-intel-cortex-m0plus
if: ${{ startsWith(github.ref, 'refs/tags/') && inputs.upload == true }}
uses: ./.github/workflows/upload.yml
secrets: inherit
with:
version: ${{ inputs.version }}