Skip to content

Commit

Permalink
.github/workflows/build.yml: add Lenovo M900 Tiny
Browse files Browse the repository at this point in the history
Change-Id: I58acc105c0e04c02cffce84e0306d07a28c52441
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
  • Loading branch information
mkopec committed Feb 29, 2024
1 parent f486f37 commit 4b31dac
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,35 @@ jobs:
path: |
build/coreboot.rom
retention-days: 30
build_lenovo:
runs-on: ubuntu-22.04
container:
image: coreboot/coreboot-sdk:2021-09-23_b0d87f753c
options: --user 1001
strategy:
matrix:
vendor: [ lenovo ]
model: [ m900_tiny ]
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
# Checkout pull request HEAD commit instead of merge commit
# See: https://github.com/actions/checkout#checkout-pull-request-head-commit-instead-of-merge-commit
ref: ${{ github.event.pull_request.head.sha }}
# Fetch complete history
fetch-depth: 0
- name: Checkout all submodules
run: git submodule update --init --recursive --checkout
- name: Build Dasharo
run: |
cp configs/config.${{ matrix.vendor }}_${{ matrix.model }} .config
make olddefconfig
make
- name: Save artifacts
uses: actions/upload-artifact@v2
with:
name: "dasharo-${{ matrix.vendor }}-${{ matrix.model }}-${{ matrix.build }}"
path: |
build/coreboot.rom
retention-days: 30

0 comments on commit 4b31dac

Please sign in to comment.