Skip to content

Commit 4b31dac

Browse files
committed
.github/workflows/build.yml: add Lenovo M900 Tiny
Change-Id: I58acc105c0e04c02cffce84e0306d07a28c52441 Signed-off-by: Michał Kopeć <[email protected]>
1 parent f486f37 commit 4b31dac

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/build.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,3 +97,35 @@ jobs:
9797
path: |
9898
build/coreboot.rom
9999
retention-days: 30
100+
build_lenovo:
101+
runs-on: ubuntu-22.04
102+
container:
103+
image: coreboot/coreboot-sdk:2021-09-23_b0d87f753c
104+
options: --user 1001
105+
strategy:
106+
matrix:
107+
vendor: [ lenovo ]
108+
model: [ m900_tiny ]
109+
steps:
110+
- name: Checkout repository
111+
uses: actions/checkout@v3
112+
with:
113+
# Checkout pull request HEAD commit instead of merge commit
114+
# See: https://github.com/actions/checkout#checkout-pull-request-head-commit-instead-of-merge-commit
115+
ref: ${{ github.event.pull_request.head.sha }}
116+
# Fetch complete history
117+
fetch-depth: 0
118+
- name: Checkout all submodules
119+
run: git submodule update --init --recursive --checkout
120+
- name: Build Dasharo
121+
run: |
122+
cp configs/config.${{ matrix.vendor }}_${{ matrix.model }} .config
123+
make olddefconfig
124+
make
125+
- name: Save artifacts
126+
uses: actions/upload-artifact@v2
127+
with:
128+
name: "dasharo-${{ matrix.vendor }}-${{ matrix.model }}-${{ matrix.build }}"
129+
path: |
130+
build/coreboot.rom
131+
retention-days: 30

0 commit comments

Comments
 (0)