Skip to content

[LOCAL] Add a GitLab-CI config #180

[LOCAL] Add a GitLab-CI config

[LOCAL] Add a GitLab-CI config #180

Workflow file for this run

name: build
on: [push]
jobs:
dt-binding-check:
runs-on: ubuntu-latest
steps:
- run: sudo apt-get update
- run: sudo apt-get install -y libyaml-dev
- run: pip3 --user install git+https://github.com/devicetree-org/dt-schema.git@main
- run: pwd; echo ~; ls -lh ~/.local/bin # DEBUG
- uses: actions/checkout@v2
- run: make ARCH=arm W=1 wpcm450_defconfig
- run: make ARCH=arm W=1 dt_binding_check -j$(nproc || echo 1)
build:
runs-on: ubuntu-latest
steps:
- run: sudo apt-get update
- run: sudo apt-get install -y gcc-arm-linux-gnueabi
- uses: actions/checkout@v2
- run: make ARCH=arm W=1 CROSS_COMPILE=arm-linux-gnueabi- wpcm450_defconfig
- run: make ARCH=arm W=1 CROSS_COMPILE=arm-linux-gnueabi- -j$(nproc || echo 1)