forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2ccdd1b
commit 03ebb03
Showing
2 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
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 --user -vvv 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) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
image: debian:11 | ||
|
||
.common: | ||
before_script: | ||
- apt-get update | ||
- apt-get install -y git pkg-config python3-pip yamllint libyaml-dev build-essential gcc-arm-linux-gnueabi flex bison bc lzop libssl-dev swig | ||
- pip3 install git+https://github.com/devicetree-org/dt-schema.git@main | ||
- pwd; echo ~; ls -lh ~/.local/bin # DEBUG | ||
script: | ||
- make ARCH=arm W=1 CROSS_COMPILE=arm-linux-gnueabi- wpcm450_defconfig | ||
- make ARCH=arm W=1 CROSS_COMPILE=arm-linux-gnueabi- ${TARGET} -j$(nproc || echo 1) | ||
|
||
build: | ||
extends: .common | ||
|
||
binding-check: | ||
extends: .common | ||
variables: | ||
TARGET: dt_binding_check |