Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
84 changes: 42 additions & 42 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,64 +24,64 @@ on:
- cron: "0 12 * * 0"

jobs:
ci:
library_check:
uses: libhal/ci/.github/workflows/library_check.yml@5.x.y
secrets: inherit

deploy_all_check:
uses: libhal/ci/.github/workflows/deploy_all.yml@5.x.y
deployment_check:
uses: libhal/ci/.github/workflows/package_and_upload_all.yml@5.x.y
secrets: inherit

demo_check_lpc4074:
uses: libhal/ci/.github/workflows/demo_builder.yml@5.x.y
uses: libhal/ci/.github/workflows/app_builder2.yml@5.x.y
with:
compiler_profile_url: https://github.com/libhal/arm-gnu-toolchain.git
compiler_profile: v1/arm-gcc-12.3
platform_profile_url: https://github.com/libhal/libhal-arm-mcu.git
platform_profile: v1/lpc4074
dir: demos
library_dir: .
compiler_profile: hal/tc/arm-gcc
platform_profile: hal/mcu/lpc4074
secrets: inherit

demo_check_lpc4078:
uses: libhal/ci/.github/workflows/demo_builder.yml@5.x.y
uses: libhal/ci/.github/workflows/app_builder2.yml@5.x.y
with:
compiler_profile_url: https://github.com/libhal/arm-gnu-toolchain.git
compiler_profile: v1/arm-gcc-12.3
platform_profile_url: https://github.com/libhal/libhal-arm-mcu.git
platform_profile: v1/lpc4078
dir: demos
library_dir: .
compiler_profile: hal/tc/arm-gcc
platform_profile: hal/mcu/lpc4078
secrets: inherit

demo_check_stm32f103c8:
uses: libhal/ci/.github/workflows/demo_builder.yml@5.x.y
uses: libhal/ci/.github/workflows/app_builder2.yml@5.x.y
with:
compiler_profile_url: https://github.com/libhal/arm-gnu-toolchain.git
compiler_profile: v1/arm-gcc-12.3
platform_profile_url: https://github.com/libhal/libhal-arm-mcu.git
platform_profile: v1/stm32f103c8
dir: demos
library_dir: .
compiler_profile: hal/tc/arm-gcc
platform_profile: hal/mcu/stm32f103c8
secrets: inherit

demo_check_stm32f411re:
uses: libhal/ci/.github/workflows/demo_builder.yml@5.x.y
with:
compiler_profile_url: https://github.com/libhal/arm-gnu-toolchain.git
compiler_profile: v1/arm-gcc-12.3
platform_profile_url: https://github.com/libhal/libhal-arm-mcu.git
platform_profile: v1/stm32f411re
secrets: inherit
# demo_check_stm32f411re:
# uses: libhal/ci/.github/workflows/demo_builder.yml@5.x.y
# with:
# compiler_profile_url: https://github.com/libhal/arm-gnu-toolchain.git
# compiler_profile: v1/arm-gcc-12.3
# platform_profile_url: https://github.com/libhal/libhal-arm-mcu.git
# platform_profile: v1/stm32f411re
# secrets: inherit

demo_check_mod-stm32f1-v4:
uses: libhal/ci/.github/workflows/demo_builder.yml@5.x.y
with:
compiler_profile_url: https://github.com/libhal/arm-gnu-toolchain.git
compiler_profile: v1/arm-gcc-12.3
platform_profile_url: https://github.com/libhal/libhal-micromod.git
platform_profile: v1/mod-stm32f1-v4
secrets: inherit
# demo_check_mod-stm32f1-v4:
# uses: libhal/ci/.github/workflows/demo_builder.yml@5.x.y
# with:
# compiler_profile_url: https://github.com/libhal/arm-gnu-toolchain.git
# compiler_profile: v1/arm-gcc-12.3
# platform_profile_url: https://github.com/libhal/libhal-micromod.git
# platform_profile: v1/mod-stm32f1-v4
# secrets: inherit

demo_check_mod-lpc40-v5:
uses: libhal/ci/.github/workflows/demo_builder.yml@5.x.y
with:
compiler_profile_url: https://github.com/libhal/arm-gnu-toolchain.git
compiler_profile: v1/arm-gcc-12.3
platform_profile_url: https://github.com/libhal/libhal-micromod.git
platform_profile: v1/mod-lpc40-v5
secrets: inherit
# demo_check_mod-lpc40-v5:
# uses: libhal/ci/.github/workflows/demo_builder.yml@5.x.y
# with:
# compiler_profile_url: https://github.com/libhal/arm-gnu-toolchain.git
# compiler_profile: v1/arm-gcc-12.3
# platform_profile_url: https://github.com/libhal/libhal-micromod.git
# platform_profile: v1/mod-lpc40-v5
# secrets: inherit
4 changes: 3 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ on:
jobs:
deploy:
if: startsWith(github.ref, 'refs/tags/')
uses: libhal/ci/.github/workflows/deploy_all.yml@5.x.y
uses: libhal/ci/.github/workflows/package_and_upload_all.yml@5.x.y
with:
dir: .
version: ${{ github.ref_name }}
remote_url: https://libhal.jfrog.io/artifactory/api/conan/trunk-conan
secrets: inherit
4 changes: 4 additions & 0 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ class libhal_sensor_conan(ConanFile):
python_requires = "libhal-bootstrap/[>=4.3.0 <5]"
python_requires_extend = "libhal-bootstrap.library"

def set_version(self):
if not self.version:
self.version = "latest"

def requirements(self):
# Adds libhal and libhal-util as transitive headers, meaning library
# consumers get the libhal and libhal-util headers downstream.
Expand Down
2 changes: 1 addition & 1 deletion demos/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ class demos(ConanFile):
def requirements(self):
bootstrap = self.python_requires["libhal-bootstrap"]
bootstrap.module.add_demo_requirements(self)
self.requires("libhal-sensor/[1.1.2 || latest]")
self.requires("libhal-sensor/latest")
Loading