Skip to content

Commit

Permalink
ci: Manual trigger of the ci jobs added.
Browse files Browse the repository at this point in the history
  • Loading branch information
jerzyjamroz committed Sep 15, 2023
1 parent b5324c6 commit b3c884a
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 10 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci-scripts-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ on:
- 'documentation/**'
- 'python/**'
- '**/*.md'
workflow_dispatch:

env:
SETUP_PATH: .ci-local:.ci
Expand Down Expand Up @@ -97,6 +98,11 @@ jobs:
configuration: default
base: "7.0"

- os: ubuntu-latest
cmp: gcc
configuration: default
base: "7.0"

steps:
- uses: actions/checkout@v2
with:
Expand Down
27 changes: 17 additions & 10 deletions .github/workflows/linux-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
pull_request:
paths:
- 'mrmShared/linux/**'
workflow_dispatch:

jobs:
specific:
Expand All @@ -20,23 +21,22 @@ jobs:
fail-fast: false
matrix:
include:
- os: ubuntu-16.04
series: 3.x
version: 3.2.1
cc: gcc-4.8

- os: ubuntu-16.04
series: 3.x
version: 3.16.1
cc: gcc-4.8

- os: ubuntu-20.04
series: 4.x
version: 4.9.1

- os: ubuntu-20.04
series: 5.x
version: 5.9.6

- os: ubuntu-latest
series: latest
version: latest

- os: ubuntu-latest
series: 6.x
version: 6.5.3

steps:
- uses: actions/checkout@v2
- name: Info
Expand All @@ -51,6 +51,13 @@ jobs:
- name: Setup Linux
run: |
install -d kernel
if [ "$KSER" == "latest" ]; then
KSER=$(curl -s https://cdn.kernel.org/pub/linux/kernel/ | grep -o 'v[0-9]\+\.[0-9a-zA-Z]\+/' | sed 's/\/\s*//' | sort -t. -k2,2V -k3,3V -k4,4V | tail -n 1 | sed 's/v//')
fi
if [ "$KVER" == "latest" ]; then
KVER=$(curl -s https://cdn.kernel.org/pub/linux/kernel/v$KSER/ | grep -o 'linux-[0-9]\+\.[0-9]\+\.[0-9]\+\.tar\.xz' | sort -t- -k2,2n -k3,3n -k4,4n | tail -n 1 | sed 's/linux-\(.*\)\.tar\.xz/\1/')
fi
echo "https://cdn.kernel.org/pub/linux/kernel/v$KSER/linux-$KVER.tar.xz"
curl -s https://cdn.kernel.org/pub/linux/kernel/v$KSER/linux-$KVER.tar.xz | tar -C kernel --strip-components=1 -xJ
make -C kernel CC=${CC:=gcc} defconfig
make -C kernel CC=${CC:=gcc} modules_prepare
Expand Down

0 comments on commit b3c884a

Please sign in to comment.