Skip to content

Commit 455fd35

Browse files
cyberknight777Mayankgaj
authored andcommitted
This is an auto generated commit. Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
1 parent fe95a9a commit 455fd35

581 files changed

Lines changed: 477701 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
name: Build
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
7+
commontasks:
8+
runs-on: ubuntu-latest
9+
outputs:
10+
matrix: ${{ steps.set-matrix.outputs.matrix }}
11+
steps:
12+
- uses: actions/checkout@v2
13+
- name: Avoid 0x0BDA
14+
#Find devices that not use 0x0BDA instead of const USB_VENDOR_ID_REALTEK
15+
run: grep -c -i "0x0BDA" os_dep/linux/usb_intf.c | grep -w 1
16+
- name: Find duplicates
17+
#Find devices that not use 0x0BDA instead of const USB_VENDOR_ID_REALTEK
18+
run: grep -i "{USB_DEVICE(" os_dep/linux/usb_intf.c | cut -d ')' -f1 | sort | uniq -cd | wc -c | grep -w 0
19+
- name: Get kernel matrix
20+
id: set-matrix
21+
run: |
22+
JSON=$(curl -s https://www.kernel.org/releases.json)
23+
VERSIONSARRAY=$(echo $JSON | jq -c '[.releases[] | {version: .version, moniker: .moniker} | select(.moniker != "linux-next") | .version]')
24+
echo ::set-output name=matrix::${VERSIONSARRAY}
25+
26+
build:
27+
needs: commontasks
28+
runs-on: ubuntu-latest
29+
strategy:
30+
fail-fast: false
31+
matrix:
32+
version: ${{fromJson(needs.commontasks.outputs.matrix)}}
33+
#version: [4.9.248, 4.4.248]
34+
include:
35+
#Version 4.15.x requested to test Ubuntu 18.04 LTS version
36+
- os: ubuntu-18.04
37+
version: $(uname -r)
38+
use_apt: true
39+
40+
steps:
41+
- name: install deb packages
42+
env:
43+
VERSION: ${{matrix.version }}
44+
if: ${{ !matrix.use_apt }}
45+
run: |
46+
KERNEL_URL=https://kernel.ubuntu.com/~kernel-ppa/mainline/
47+
KERNEL_URL_DETAILS=$(wget --quiet -O - ${KERNEL_URL}v${VERSION}/ | grep -A8 "Build for amd64\|Test amd64")
48+
ALL_DEB=$(echo "$KERNEL_URL_DETAILS" | grep -m1 'all.deb' | cut -d '"' -f 2)
49+
AMD64_DEB=$(echo "$KERNEL_URL_DETAILS" | grep -m1 "amd64.deb" | cut -d '"' -f 2)
50+
[ -z "$ALL_DEB" ] && exit 1
51+
[ -z "$AMD64_DEB" ] && exit 2
52+
wget -nv ${KERNEL_URL}v${VERSION}/$AMD64_DEB
53+
wget -nv ${KERNEL_URL}v${VERSION}/$ALL_DEB
54+
wget -nv http://mirrors.kernel.org/ubuntu/pool/main/g/glibc/libc6_2.33-0ubuntu5_amd64.deb
55+
sudo dpkg --force-all -i *.deb
56+
echo "KVER=$(echo $ALL_DEB | cut -d '_' -f 2 | rev | cut -c14- | rev)-generic" >> $GITHUB_ENV
57+
- name: apt-linux-headers
58+
if: ${{ matrix.use_apt }}
59+
run: |
60+
sudo apt-get install linux-headers-$(uname -r)
61+
echo "KVER=${{matrix.version }}" >> $GITHUB_ENV
62+
- uses: actions/checkout@v2
63+
- name: build
64+
run: make KVER=$KVER
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
*.o
2+
*.cmd
3+
*.ko
4+
*.cm
5+
Module.symvers
6+
modules.order
7+
*.mod.c
8+
.tmp_versions
9+
.cache.mk
10+
*.mod
11+
*.o.d
12+
*.c.orig

drivers/staging/rtl8812au/Kconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
config 88XXAU
2+
tristate "Realtek 88XXau USB WiFi"
3+
depends on USB
4+
help
5+
Help message of 88XXau
6+

drivers/staging/rtl8812au/LICENSE

Lines changed: 339 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)