Skip to content

Commit 29e799a

Browse files
committed
Add new uboot way and github CI
Signed-off-by: Corentin Labbe <[email protected]>
1 parent 1a33186 commit 29e799a

File tree

3 files changed

+673
-16
lines changed

3 files changed

+673
-16
lines changed

.github/workflows/tests.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
# yamllint disable rule:line-length
3+
name: Build and tests
4+
5+
on: # yamllint disable-line rule:truthy
6+
push:
7+
pull_request:
8+
9+
jobs:
10+
simpletest:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- name: cache sources
15+
id: cache-source
16+
uses: actions/cache@v4
17+
with:
18+
path: sources
19+
key: sources
20+
- name: Run
21+
run: |
22+
# fix sources path
23+
sed -i 's,/mnt/sources,$HOME/sources,' uboot.yaml
24+
sed -i 's,/usr/src/uboot/uboot,$HOME/sources/uboot,' uboot.yaml
25+
git diff
26+
./uboot.py -s uboot -a update

0 commit comments

Comments
 (0)