-
Notifications
You must be signed in to change notification settings - Fork 115
59 lines (49 loc) · 1.41 KB
/
main.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
---
# CI config for https://github.com
name: CI
on:
push:
branches:
- master
schedule:
- cron: '0 0 1 * *'
jobs:
check:
name: make test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Fix Checkout
run: |
git fetch --force --tags
- name: Prepare environment
run: |
touch .config
sudo make build-deps
- name: Test with both patches enabled
run: |
make patch_enable_keyboard patch_enable_battery
make test
- name: Test with batteryonly targets
run: |
make patch_disable_keyboard patch_enable_battery
make test.batteryonly
- name: Test with default build
run: |
rm -f .config
make test
- name: Test we can download all known Lenovo files
run: |
make test.img.orig
- name: Make a test report
run: |
make test.report
- name: Upload lenovo files
uses: actions/upload-artifact@v3
with:
name: lenovo-files
path: |
*.iso.orig
*.exe.orig