Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
markirb committed Dec 24, 2024
1 parent 8d60995 commit 5fef9ec
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,15 @@ on:
jobs:
build:
name: Build ${{ matrix.model }}
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
container:
image: shellyhomekit/mos:latest
services:
docker:
image: docker:dind
options: --privileged
ports:
- 2375:2375
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -41,12 +49,10 @@ jobs:
- name: Build docker image # remove if newer mos docker image is available
if: ${{ contains( matrix.model , 'Plus') || contains( matrix.model , 'Gen3') }}
run: docker build -t mgos/esp32-build:4.4.1-r7 -f .github/workflows/Dockerfile-esp32-build .
- name: Install mos build tool
run: |
sudo add-apt-repository -y ppa:mongoose-os/mos
sudo apt -q install -y mos-latest
- name: Build
run: make ${{ matrix.model }} RELEASE=1 RELEASE_SUFFIX=$(.github/version.py --suffix)
run: |
git config --global --add safe.directory /__w/shelly-homekit/shelly-homekit
make ${{ matrix.model }} LOCAL=1 RELEASE=1 RELEASE_SUFFIX=$(.github/version.py --suffix)
- name: Upload firmware artifacts
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 5fef9ec

Please sign in to comment.