Fix: don't clone with .git directory ending. #24
This file contains 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: Build Yocto Image | |
on: | |
push: | |
pull_request: | |
schedule: | |
# run every Tuesday at 3 AM UTC | |
- cron: "0 3 * * 2" | |
workflow_dispatch: | |
repository_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout pika-spark/lmp-manifest | |
uses: actions/checkout@v4 | |
with: | |
repository: pika-spark/lmp-manifest | |
path: 'lmp-manifest' | |
ref: pika-spark | |
- name: Build Docker image | |
run: | | |
docker build -t yocto-build ./lmp-manifest | |
- name: Check out this repository containing build script | |
uses: actions/checkout@v4 | |
- name: Build Yocto image | |
run: | | |
docker run --rm \ | |
-v ${{ github.workspace }}:/workdir \ | |
-u $(id -u):$(id -g) \ | |
yocto-build \ | |
/bin/sh -c "cd /workdir && sh portenta-x8_build.sh" |