Add Scarthgap to docs #885
Workflow file for this run
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: ci | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: '0 4 * * */2' | |
jobs: | |
build_linux: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
arch: | |
- x86_64 | |
container: | |
image: ghcr.io/jhnc-oss/yocto-image/yocto:38 | |
options: --user root | |
name: "Build (${{ matrix.arch }})" | |
steps: | |
- uses: actions/checkout@main | |
- name: Synchronize Repositories | |
run: | | |
PATH="${HOME}/.local/bin:${PATH}" | |
repo init -u https://github.com/jhnc-oss/yocto-manifests.git -b main | |
repo sync | |
shell: sudo -u yocto bash --noprofile --norc -eo pipefail {0} | |
working-directory: /opt/yocto | |
- name: Build | |
run: | | |
export YOCTO_TARGET_ARCH=${{ matrix.arch }} | |
export BB_ENV_PASSTHROUGH_ADDITIONS=YOCTO_TARGET_ARCH | |
export TEMPLATECONF=/opt/yocto/protos/conf/templates | |
source poky/oe-init-build-env | |
bitbake-layers show-layers | |
bitbake -p zlib | |
# disabled due to #69; 'world' is broken at the moment | |
#if [[ ${{ github.event_name }} == 'schedule' ]]; then | |
# bitbake -n world | |
#fi | |
shell: sudo -u yocto bash --noprofile --norc -eo pipefail {0} | |
working-directory: /opt/yocto |