forked from epics-modules/mrfioc2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/epics-modules/mrfioc2 int…
…o bobConversion
- Loading branch information
Showing
40 changed files
with
1,553 additions
and
355 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
# See https://help.github.com/articles/about-codeowners/ for valid syntax for entries. | ||
|
||
# Sets the relevant support. | ||
evm-mtca-300*.substitutions @jerzyjamroz | ||
evr-mtca-300*.substitutions @jerzyjamroz | ||
*.uv.substitutions @jerzyjamroz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: Linux latest kernel module test | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
specific: | ||
name: With ${{ matrix.version }} | ||
runs-on: ${{ matrix.os }} | ||
env: | ||
KSER: ${{ matrix.series }} | ||
KVER: ${{ matrix.version }} | ||
CC: ${{ matrix.cc }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- name: Ubuntu Latest - Series Latest | ||
os: ubuntu-latest | ||
series: latest | ||
version: latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Info | ||
run: | | ||
gcc --version | ||
- name: Deps | ||
run: | | ||
sudo apt-get update | ||
# linux-headers-* only to pull in kbuild deps | ||
sudo apt-get -y install linux-headers-`uname -r` kmod libelf-dev | ||
[ "${{ matrix.cc }}" != "gcc-4.8" ] || sudo apt-get -y install gcc-4.8 | ||
- 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 | ||
- name: Build | ||
run: | | ||
make -C mrmShared/linux CC=${CC:=gcc} KERNELDIR="$PWD/kernel" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.