[LOCAL] Add a GitLab-CI config #177
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 | |
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 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) |