-
Notifications
You must be signed in to change notification settings - Fork 61
49 lines (49 loc) · 1.35 KB
/
extra.yaml
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
name: Manual actions
on:
workflow_dispatch:
inputs:
BUILD_KERNEL_PATCH:
description: 'Test build kernel patch'
required: true
default: 'true'
type: choice
options:
- true
- false
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Dependencies
run: ./deploy/dependencies/install_dependencies_ubuntu.sh
shell: bash
- name: Build
run: ./tests/test_kernel_build.sh
shell: bash
- name: Install
run: ./tests/test_kernel_install.sh
shell: bash
test-ci-env:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup upterm session
uses: lhotari/action-upterm@v1
with:
## limits ssh access and adds the ssh public key for the user which triggered the workflow
limit-access-to-actor: true
## limits ssh access and adds the ssh public keys of the listed GitHub users
limit-access-to-users: johnfanv2
# Use to test kernel patch build if needed
release-kernel-patch:
runs-on: ubuntu-latest
if: ${{ github.event.inputs.BUILD_KERNEL_PATCH }} == 'true'
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Build kernel patch
run: ./deploy/build_kernelpatch.sh
shell: bash