Skip to content

Commit aa36d77

Browse files
committed
deploy: 7883147
patch ci Signed-off-by: CSE CI <cse-ci-notifications@analog.com>
1 parent 7461179 commit aa36d77

34 files changed

+4211
-0
lines changed

.github/CODEOWNERS

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# This document lists the code owners for all Linux repo sources, and it is
2+
# used automatically whenever Pull Requests are created, in next way:
3+
# - People listed as CODEOWNERS are automatically added as reviewers to all
4+
# PRs open to branches containing this file.
5+
# - In addition to Code Owners, other reviewers can be added.
6+
# - There can be different code owners for different branches.
7+
# - PRs will require the approval of at least one code owner.
8+
#
9+
# For more details, you can refer [GitHub CodeOwners Documentation](ttps://github.blog/2017-07-06-introducing-code-owners/)
10+
#
11+
# The format of CODEOWNERS is: <pattern> + <mail address of one/more owners>
12+
#
13+
# In case of multiple matches, the last pattern matched will take precedence.
14+
15+
##### Global code owners (for folders with no later match) #####
16+
17+
* nuno.sa@analog.com michael.hennerich@analog.com dragos.bogdan@analog.com bogdan.togorean@analog.com ciprian.hegbeli@analog.com darius.berghe@analog.com antoniu.miclaus@analog.com ramona.gradinariu@analog.com george.mois@analog.com ciprian.regus@analog.com marcelo.schmitt@analog.com

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
## PR Description
2+
3+
- Please replace this comment with a summary of your changes, and add any context
4+
necessary to understand them. List any dependencies required for this change.
5+
- To check the checkboxes below, insert a 'x' between square brackets (without
6+
any space), or simply check them after publishing the PR.
7+
- If you changes include a breaking change, please specify dependent PRs in the
8+
description and try to push all related PRs simultaneously.
9+
10+
## PR Type
11+
- [ ] Bug fix (a change that fixes an issue)
12+
- [ ] New feature (a change that adds new functionality)
13+
- [ ] Breaking change (a change that affects other repos or cause CIs to fail)
14+
15+
## PR Checklist
16+
- [ ] I have conducted a self-review of my own code changes
17+
- [ ] I have tested the changes on the relevant hardware
18+
- [ ] I have updated the documentation outside this repo accordingly (if there is the case)

.github/issue_template

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
Thank you for reporting an issue with us for this repository.
2+
3+
We typically recommend using our forum (EngineerZone) for reporting issues.
4+
That is where you may also find some resolutions to some questions you may have.
5+
6+
The link is:
7+
https://ez.analog.com/linux-device-drivers/linux-software-drivers
8+
9+
You are still free to open an issue on Github, in case you prefer it here.
10+
There are various other use-cases where this issue tracker is better suited than
11+
the forum, such as punctual issues/items related to driver code, or keeping track
12+
of certain tasks/items related to a particular driver changeset.
13+
14+
Thank you
15+
Analog Devices, Inc. Linux Group

.github/workflows.bak/build.yml

Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
name: Build the ADI kernel matrix
2+
3+
on:
4+
push:
5+
branches:
6+
- 'staging/**'
7+
pull_request:
8+
branches:
9+
- main
10+
- master
11+
- '20[1-9][0-9]_R[1-9]'
12+
13+
jobs:
14+
checkpatch:
15+
runs-on: ubuntu-latest
16+
if: ${{ github.event_name == 'pull_request' }}
17+
env:
18+
BUILD_TYPE: checkpatch
19+
steps:
20+
- uses: actions/checkout@v2
21+
with:
22+
fetch-depth: 50
23+
- name: Run Linux's checkpatch script
24+
run: ./ci/travis/run-build.sh
25+
26+
check_is_new_adi_driver_dual_licensed:
27+
runs-on: ubuntu-latest
28+
env:
29+
BUILD_TYPE: check_is_new_adi_driver_dual_licensed
30+
steps:
31+
- uses: actions/checkout@v2
32+
with:
33+
fetch-depth: 50
34+
- name: Check that this is a new ADI driver and is dual-licensed
35+
run: ./ci/travis/run-build.sh
36+
37+
dtb_build_test:
38+
runs-on: ubuntu-latest
39+
env:
40+
BUILD_TYPE: dtb_build_test
41+
DTS_FILES: "arch/arm/boot/dts/zynq-*.dts
42+
arch/arm/boot/dts/socfpga_*.dts
43+
arch/arm64/boot/dts/xilinx/zynqmp-*.dts
44+
arch/microblaze/boot/dts/*.dts
45+
arch/nios2/boot/dts/*.dts"
46+
steps:
47+
- uses: actions/checkout@v2
48+
- name: Build device-trees
49+
run: ./ci/travis/run-build.sh
50+
51+
zynq_adi_default:
52+
runs-on: ubuntu-latest
53+
steps:
54+
- uses: actions/checkout@v2
55+
- name: Build the Zynq ADI kernel flavour (all ADI drivers)
56+
env:
57+
DEFCONFIG: zynq_xcomm_adv7511_defconfig
58+
ARCH: arm
59+
IMAGE: uImage
60+
CHECK_ALL_ADI_DRIVERS_HAVE_BEEN_BUILT: 1
61+
run: ./ci/travis/run-build-docker.sh
62+
63+
socfpga_adi_default:
64+
runs-on: ubuntu-latest
65+
steps:
66+
- uses: actions/checkout@v2
67+
- name: Build the SoCFPGA ADI kernel flavour (all ADI drivers)
68+
env:
69+
DEFCONFIG: socfpga_adi_defconfig
70+
ARCH: arm
71+
IMAGE: zImage
72+
CHECK_ALL_ADI_DRIVERS_HAVE_BEEN_BUILT: 1
73+
run: ./ci/travis/run-build-docker.sh
74+
75+
zynqmp_adi_default:
76+
runs-on: ubuntu-latest
77+
steps:
78+
- uses: actions/checkout@v2
79+
- name: Build the ZynqMP ADI kernel flavour (all ADI drivers)
80+
env:
81+
DEFCONFIG: adi_zynqmp_defconfig
82+
ARCH: arm64
83+
IMAGE: Image
84+
CHECK_ALL_ADI_DRIVERS_HAVE_BEEN_BUILT: 1
85+
run: ./ci/travis/run-build-docker.sh
86+
87+
zynq_pluto:
88+
runs-on: ubuntu-latest
89+
steps:
90+
- uses: actions/checkout@v2
91+
- name: Build the ADALM-PLUTO kernel
92+
env:
93+
DEFCONFIG: zynq_pluto_defconfig
94+
ARCH: arm
95+
IMAGE: uImage
96+
run: ./ci/travis/run-build-docker.sh
97+
98+
zynq_m2k:
99+
runs-on: ubuntu-latest
100+
steps:
101+
- uses: actions/checkout@v2
102+
- name: Build the Zynq ADALM-2000 kernel
103+
env:
104+
DEFCONFIG: zynq_m2k_defconfig
105+
ARCH: arm
106+
IMAGE: uImage
107+
run: ./ci/travis/run-build-docker.sh

.github/workflows.bak/build_rpi.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: Build the Raspberry Pi kernel matrix (ADI flavours)
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- 'rpi-[4-9].[0-9].y'
7+
- 'rpi-[4-9].[1-9][0-9].y'
8+
push:
9+
branches:
10+
- 'rpi-[4-9].[0-9].y'
11+
- 'rpi-[4-9].[1-9][0-9].y'
12+
13+
jobs:
14+
checkpatch:
15+
runs-on: ubuntu-latest
16+
if: ${{ github.event_name == 'pull_request' }}
17+
env:
18+
BUILD_TYPE: checkpatch
19+
steps:
20+
- uses: actions/checkout@v2
21+
with:
22+
fetch-depth: 50
23+
- name: Run Linux's checkpatch script
24+
run: ./ci/travis/run-build.sh
25+
26+
bcm2709_arm_adi:
27+
runs-on: ubuntu-latest
28+
steps:
29+
- uses: actions/checkout@v2
30+
- name: Build the BCM2709 ADI kernel flavour (all ADI drivers)
31+
env:
32+
DEFCONFIG: adi_bcm2709_defconfig
33+
ARCH: arm
34+
run: ./ci/travis/run-build-docker.sh
35+
36+
bcm2711_arm_adi:
37+
runs-on: ubuntu-latest
38+
steps:
39+
- uses: actions/checkout@v2
40+
- name: Build the BCM2711 ADI kernel flavour (all ADI drivers)
41+
env:
42+
DEFCONFIG: adi_bcm2711_defconfig
43+
ARCH: arm
44+
run: ./ci/travis/run-build-docker.sh
45+
46+
bcmrpi_arm_adi:
47+
runs-on: ubuntu-latest
48+
steps:
49+
- uses: actions/checkout@v2
50+
- name: Build the RPi Zero ADI kernel flavour (all ADI drivers)
51+
env:
52+
DEFCONFIG: adi_bcmrpi_defconfig
53+
ARCH: arm
54+
run: ./ci/travis/run-build-docker.sh
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Synchronize legacy branches with main branch
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- master
8+
9+
jobs:
10+
sync:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
with:
15+
fetch-depth: 50
16+
- name: Synchronize legacy branches with main branch
17+
env:
18+
BUILD_TYPE: sync_branches_with_main
19+
run: MAIN_BRANCH="${GITHUB_REF#refs/heads/}" ./ci/travis/run-build.sh

.github/workflows.mirror/cron.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
on:
2+
workflow_dispatch:
3+
schedule:
4+
- cron: "0 0 * * *"
5+
6+
jobs:
7+
adi-main:
8+
uses: ./.github/workflows/mirror.yml
9+
secrets: inherit
10+
permissions:
11+
contents: write
12+
with:
13+
remote_name: "analogdevicesinc/linux"
14+
fetch_url: "https://github.com/analogdevicesinc/linux.git"
15+
branch: "main"
16+
patch_ci: "false"
17+
18+
next-linux-next-master:
19+
uses: ./.github/workflows/mirror.yml
20+
needs: [adi-main]
21+
secrets: inherit
22+
permissions:
23+
contents: write
24+
with:
25+
remote_name: "next/linux-next"
26+
fetch_url: "https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git"
27+
branch: "master"
28+
ci_branch: "mirror/analogdevicesinc/linux/main"
29+
30+
jic23-iio-testing:
31+
uses: ./.github/workflows/mirror.yml
32+
needs: [adi-main]
33+
secrets: inherit
34+
permissions:
35+
contents: write
36+
with:
37+
remote_name: "jic23/iio"
38+
fetch_url: "https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git"
39+
branch: "testing"
40+
ci_branch: "mirror/analogdevicesinc/linux/main"
41+
42+
self:
43+
uses: ./.github/workflows/self.yml
44+
needs: [adi-main]
45+
secrets: inherit
46+
permissions:
47+
contents: write
48+

.github/workflows.mirror/self.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
on:
2+
workflow_call:
3+
inputs:
4+
ci_branch:
5+
required: false
6+
type: string
7+
default: mirror/analogdevicesinc/linux/main
8+
9+
jobs:
10+
self:
11+
runs-on: [self-hosted, v1]
12+
13+
steps:
14+
- uses: analogdevicesinc/doctools/checkout@v1
15+
16+
- name: update-self
17+
run: |
18+
git fetch origin ${{ inputs.ci_branch }} --depth=1
19+
git fetch origin cron:cron -f
20+
git checkout cron
21+
git rm .github/workflows -r
22+
git checkout origin/${{ inputs.ci_branch }} -- .github/workflows.mirror
23+
git mv .github/workflows.mirror .github/workflows
24+
git checkout origin/${{ inputs.ci_branch }} -- .github/workflows/mirror.yml
25+
echo "commit=$(git rev-parse origin/${{ inputs.ci_branch }})" >> $GITHUB_ENV
26+
27+
- name: push-self
28+
env:
29+
WORKFLOW_SECRET: ${{ secrets.WORKFLOW_SECRET}}
30+
if: ${{ env.WORKFLOW_SECRET != '' }}
31+
run: |
32+
url_=$(git remote get-url origin)
33+
url="https://x-access-token:${{ secrets.WORKFLOW_SECRET }}@github.com/${{ github.repository }}.git"
34+
git remote set-url origin "$url"
35+
git commit -m "deploy: $commit" -s && \
36+
git push origin cron:cron ||
37+
true
38+
git remote set-url origin "$url_"
39+
40+
- name: push-self
41+
env:
42+
WORKFLOW_SECRET: ${{ secrets.WORKFLOW_SECRET}}
43+
if: ${{ env.WORKFLOW_SECRET == '' }}
44+
run: |
45+
git commit -m "deploy: $commit" -s && \
46+
git push origin cron:cron ||
47+
true

0 commit comments

Comments
 (0)