Skip to content

testing yml

testing yml #111

Workflow file for this run

name: 🚀 deploy
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
schedule:
- cron: '0 12 * * 0'
jobs:
deploy:
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-22.04
profile_name: x86_64/linux
- os: macos-12
profile_name: x86_64/mac
- os: windows-2022
profile_name: x86_64/windows
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
with:
submodules: true
fetch-depth: 0
- name: 📥 Install CMake & Conan
run: python3 -m pip install "conan>=2.0.6" cmake
- name: 📡 Add `libhal-trunk` conan remote
run: conan remote add libhal-trunk https://libhal.jfrog.io/artifactory/api/conan/trunk-conan
- name: Setting up conan profile
run: conan profile detect --force; conan config install -sf profiles/${{matrix.profile_name}}/ -tf profiles https://github.com/libhal/conan-config.git; conan config install -sf conan/profiles/ -tf profiles https://github.com/libhal/libhal-armcortex.git; conan config install -sf conan/profiles/ -tf profiles https://github.com/libhal/libhal-lpc40.git;
- name: Build drive
working-directory: drive
run: conan build . -pr lpc4078 -s build_type=MinSizeRel -b missing
- name: Build arm
working-directory: arm
run: conan build . -pr lpc4078 -s build_type=MinSizeRel -b missing