CI #18
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| workflow_dispatch: | |
| jobs: | |
| build-job: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: ghcr.io/jaster-prj/devcontainer-zephyr-dev:latest | |
| steps: | |
| - name: Clone Workspace | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: jaster-prj/zephyr_workspace | |
| path: './zephyr_workspace' | |
| - name: Clone Application | |
| uses: actions/checkout@v4 | |
| with: | |
| path: './zephyr_workspace/application' | |
| submodules: recursive | |
| - name: link custom boards | |
| working-directory: ./zephyr_workspace/application/custom_boards | |
| run: | | |
| ls -lap . | |
| ./link.sh | |
| - name: show boards directory | |
| working-directory: ./zephyr_workspace/application | |
| run: | | |
| ls -lap boards | |
| - name: initialize west | |
| working-directory: ./zephyr_workspace | |
| run: | | |
| west update | |
| west zephyr-export | |
| pip install -r zephyr/scripts/requirements.txt | |
| - name: patch git | |
| working-directory: ./zephyr_workspace/zephyr | |
| run: | | |
| git apply ../.patch/gpio_pcf857x.patch | |
| - name: build application | |
| working-directory: ./zephyr_workspace | |
| run: | | |
| west build -b gartennode application --build-dir build -- -DEXTRA_CONF_FILE=prj.conf |