You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.2 KiB
YAML
55 lines
1.2 KiB
YAML
---
|
|
# 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
|
|
|
|
- name: Prepare environment
|
|
run: |
|
|
touch .config
|
|
sudo make build-deps
|
|
|
|
- name: Test with both patches enabled
|
|
run: |
|
|
make patch_enable_battery
|
|
make test
|
|
|
|
- name: Test with batteryonly targets
|
|
run: |
|
|
make patch_disable_keyboard
|
|
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@v2
|
|
with:
|
|
name: lenovo-files
|
|
path: |
|
|
*.iso.orig
|
|
*.exe.orig
|