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ć <[email protected]>
  • Loading branch information
mkopec committed Feb 29, 2024
1 parent f486f37 commit 23e8395
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,33 @@ jobs:
path: |
build/coreboot.rom
retention-days: 30
build_lenovo:
environment: Lenovo
runs-on: ubuntu-22.04
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 23e8395

Please sign in to comment.