-
-
Notifications
You must be signed in to change notification settings - Fork 130
41 lines (30 loc) · 1.06 KB
/
checks-linux.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Checks (Ubuntu)
on: [push, pull_request]
jobs:
ubuntu:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.11'
- name: Set up the build environment
run: ./skift.sh tools setup && ./skift.sh tools doctor
- name: Download third-party dependencies
run: ./skift.sh model install
- name: Build Kernel (x86_64)
run: ./skift.sh builder build --target=kernel-x86_64
- name: Build EFI (x86_64)
run: ./skift.sh builder build --target=efi-x86_64
- name: Build Userspace (x86_64)
run: ./skift.sh builder build --target=skift-x86_64
- name: Build Userspace (Host)
run: ./skift.sh builder build
- name: Test Userspace (Host)
run: ./skift.sh builder test
- name: Check for formatting errors
run: ./meta/scripts/style-check.sh || echo "Please run ./meta/scripts/style-format.sh"