Skip to content
This repository was archived by the owner on Mar 9, 2026. It is now read-only.

Commit a7a9240

Browse files
committed
build-check GHA added
Signed-off-by: Gromadzki, Tomasz <tomasz.gromadzki@intel.com>
1 parent 9c65f0d commit a7a9240

1 file changed

Lines changed: 38 additions & 0 deletions

File tree

.github/workflows/build-check.yaml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: build-check
2+
3+
on:
4+
push:
5+
pull_request:
6+
schedule:
7+
# run this job at 06:00 UTC every Monday
8+
- cron: "0 6 * * 1"
9+
10+
jobs:
11+
check-build:
12+
strategy:
13+
matrix:
14+
os: [ubuntu-latest, ubuntu-20.04]
15+
runs-on: ${{ matrix.os }}
16+
17+
steps:
18+
- name: Checkout repository
19+
uses: actions/checkout@v3
20+
21+
- name: Install dependencies
22+
run: sudo apt-get install -y libndctl-dev
23+
24+
- name: Checkout edk
25+
run: cd ..; git clone https://github.com/tianocore/edk2.git
26+
27+
- name: Update ipmctl based on the latest edk and apply patches
28+
run: ./updateedk.sh;
29+
./patch_OS.sh ./src/os/patches/0001-Ignore-STATIC_ASSERTs-and-NULL-define-for-os-and-ut-builds.patch
30+
31+
- name: Build (debug)
32+
run: mkdir build; cd build; cmake .. -DCMAKE_BUILD_TYPE=Debug; make -j $nproc
33+
34+
- name: Check built executable (debug)
35+
run: ./output/debug/ipmctl version
36+
37+
38+

0 commit comments

Comments
 (0)