Skip to content

Commit

Permalink
Remove macOS docker action; add build badge
Browse files Browse the repository at this point in the history
  • Loading branch information
smittytone committed May 7, 2024
1 parent 63fe72b commit 5bc809b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 22 deletions.
22 changes: 0 additions & 22 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,28 +66,6 @@ jobs:
name: mv-clock-demo-win-wsl
path: ${{ github.workspace }}/build/app/microvisor-cpp-clock-demo.*
if-no-files-found: error
build_mac_docker:
name: Build on macOS with Docker
runs-on: macos-latest
steps:
- name: Get application code
uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Get Docker
run: brew install docker
- name: Run Docker
run: colima start
- name: Build docker image
run: docker build --build-arg UID=$(id -u) --build-arg GID=$(id -g) -t mv-clock-image-mac-dock .
- name: Build code
run: docker run --rm -v $(pwd)/:/home/mvisor/project/ --env BUILD_ONLY=true --name mv-clock-mac-dock mv-clock-image-mac-dock
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: mv-clock-demo-mac-docker
path: ${{ github.workspace }}/build/app/microvisor-cpp-clock-demo.*
if-no-files-found: error
build_mac_native:
name: Build on macOS with native tooling
runs-on: macos-latest
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Microvisor C++ Clock Demo

[![.github/workflows/build.yml](https://github.com/korewireless/Microvisor-Demo-Clock/actions/workflows/build.yml/badge.svg)](https://github.com/korewireless/Microvisor-Demo-Clock/actions/workflows/build.yml)

This rudimentary digital clock sample demonstrates Microvisor application development using C++.

It makes use of a Microvisor Nucleo Development Board and a four-digit seven-segment LED display driven by the Holtek HT16K33 controller. These I²C devices are widely available from electronics suppliers. Interaction with the I² bus is mediated by the [STM32U585 HAL](#working-with-c-and-the-stm32u585-hal) (Hardware Abstraction Layer).
Expand Down

0 comments on commit 5bc809b

Please sign in to comment.