Skip to content

Commit b8e9e91

Browse files
committed
Added CI workflows for Raspbian Bullseye OS(Debian 11) ARM/ARM64 Raspberry Pi Toolchains. (Fixes #84)
- Updated GitHub action workflows. - Added support for GCC `10.2.0`. - Added support for Bullseye OS. - Added workflow to update Bullseye Toolchains docs. - Added patch to disable GCC `10.2.0` builds for non-Bullseye OSes.
1 parent b5f4069 commit b8e9e91

File tree

9 files changed

+76
-24
lines changed

9 files changed

+76
-24
lines changed

.github/workflows/builder_0_1.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ jobs:
5757
runs-on: ubuntu-18.04
5858
strategy:
5959
matrix:
60-
gcc_versions: [6.3.0, 8.3.0]
61-
rpios_types: [stretch, buster]
60+
gcc_versions: [6.3.0, 8.3.0, 10.2.0]
61+
rpios_types: [stretch, buster, bullseye]
6262
env:
6363
RPIOS_TYPE: ${{ matrix.rpios_types }}
6464
GCC_VERSION: ${{ matrix.gcc_versions }}
@@ -103,8 +103,8 @@ jobs:
103103
runs-on: ubuntu-18.04
104104
strategy:
105105
matrix:
106-
gcc_versions: [6.3.0, 8.3.0, 9.4.0, 10.3.0]
107-
rpios_types: [stretch, buster]
106+
gcc_versions: [6.3.0, 8.3.0, 9.4.0, 10.2.0, 10.3.0]
107+
rpios_types: [stretch, buster, bullseye]
108108
env:
109109
GCC_VERSION: ${{ matrix.gcc_versions }}
110110
RPIOS_TYPE: ${{ matrix.rpios_types }}
@@ -148,8 +148,8 @@ jobs:
148148
runs-on: ubuntu-18.04
149149
strategy:
150150
matrix:
151-
gcc_versions: [9.4.0, 10.3.0]
152-
rpios_types: [stretch, buster]
151+
gcc_versions: [9.4.0, 10.2.0, 10.3.0]
152+
rpios_types: [stretch, buster, bullseye]
153153
env:
154154
GCC_VERSION: ${{ matrix.gcc_versions }}
155155
RPIOS_TYPE: ${{ matrix.rpios_types }}

.github/workflows/builder_2_3.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ jobs:
5757
runs-on: ubuntu-18.04
5858
strategy:
5959
matrix:
60-
rpios_types: [stretch, buster]
61-
gcc_versions: [6.3.0, 8.3.0]
60+
rpios_types: [stretch, buster, bullseye]
61+
gcc_versions: [6.3.0, 8.3.0, 10.2.0]
6262
env:
6363
RPIOS_TYPE: ${{ matrix.rpios_types }}
6464
GCC_VERSION: ${{ matrix.gcc_versions }}
@@ -103,8 +103,8 @@ jobs:
103103
runs-on: ubuntu-18.04
104104
strategy:
105105
matrix:
106-
gcc_versions: [6.3.0, 8.3.0, 9.4.0, 10.3.0]
107-
rpios_types: [stretch, buster]
106+
gcc_versions: [6.3.0, 8.3.0, 9.4.0, 10.2.0, 10.3.0]
107+
rpios_types: [stretch, buster, bullseye]
108108
env:
109109
GCC_VERSION: ${{ matrix.gcc_versions }}
110110
RPIOS_TYPE: ${{ matrix.rpios_types }}
@@ -148,8 +148,8 @@ jobs:
148148
runs-on: ubuntu-18.04
149149
strategy:
150150
matrix:
151-
gcc_versions: [9.4.0, 10.3.0]
152-
rpios_types: [stretch, buster]
151+
gcc_versions: [9.4.0, 10.2.0, 10.3.0]
152+
rpios_types: [stretch, buster, bullseye]
153153
env:
154154
GCC_VERSION: ${{ matrix.gcc_versions }}
155155
RPIOS_TYPE: ${{ matrix.rpios_types }}

.github/workflows/builder_3_plus.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ jobs:
5757
runs-on: ubuntu-18.04
5858
strategy:
5959
matrix:
60-
rpios_types: [stretch, buster]
61-
gcc_versions: [6.3.0, 8.3.0]
60+
rpios_types: [stretch, buster, bullseye]
61+
gcc_versions: [6.3.0, 8.3.0, 10.2.0]
6262
env:
6363
RPIOS_TYPE: ${{ matrix.rpios_types }}
6464
GCC_VERSION: ${{ matrix.gcc_versions }}
@@ -103,8 +103,8 @@ jobs:
103103
runs-on: ubuntu-18.04
104104
strategy:
105105
matrix:
106-
gcc_versions: [6.3.0, 8.3.0, 9.4.0, 10.3.0]
107-
rpios_types: [stretch, buster]
106+
gcc_versions: [6.3.0, 8.3.0, 9.4.0, 10.2.0, 10.3.0]
107+
rpios_types: [stretch, buster, bullseye]
108108
env:
109109
GCC_VERSION: ${{ matrix.gcc_versions }}
110110
RPIOS_TYPE: ${{ matrix.rpios_types }}
@@ -148,8 +148,8 @@ jobs:
148148
runs-on: ubuntu-18.04
149149
strategy:
150150
matrix:
151-
gcc_versions: [9.4.0, 10.3.0]
152-
rpios_types: [stretch, buster]
151+
gcc_versions: [9.4.0, 10.2.0, 10.3.0]
152+
rpios_types: [stretch, buster, bullseye]
153153
env:
154154
GCC_VERSION: ${{ matrix.gcc_versions }}
155155
RPIOS_TYPE: ${{ matrix.rpios_types }}

.github/workflows/builder_64.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ jobs:
5757
runs-on: ubuntu-18.04
5858
strategy:
5959
matrix:
60-
gcc_versions: [6.3.0, 8.3.0]
61-
rpios_types: [stretch, buster]
60+
gcc_versions: [6.3.0, 8.3.0, 10.2.0]
61+
rpios_types: [stretch, buster, bullseye]
6262
env:
6363
RPIOS_TYPE: ${{ matrix.rpios_types }}
6464
GCC_VERSION: ${{ matrix.gcc_versions }}
@@ -103,8 +103,8 @@ jobs:
103103
runs-on: ubuntu-18.04
104104
strategy:
105105
matrix:
106-
gcc_versions: [6.3.0, 8.3.0, 9.4.0, 10.3.0]
107-
rpios_types: [stretch, buster]
106+
gcc_versions: [6.3.0, 8.3.0, 9.4.0, 10.2.0, 10.3.0]
107+
rpios_types: [stretch, buster, bullseye]
108108
env:
109109
RPIOS_TYPE: ${{ matrix.rpios_types }}
110110
GCC_VERSION: ${{ matrix.gcc_versions }}
@@ -148,8 +148,8 @@ jobs:
148148
runs-on: ubuntu-18.04
149149
strategy:
150150
matrix:
151-
gcc_versions: [9.4.0, 10.3.0]
152-
rpios_types: [stretch, buster]
151+
gcc_versions: [9.4.0, 10.2.0, 10.3.0]
152+
rpios_types: [stretch, buster, bullseye]
153153
env:
154154
RPIOS_TYPE: ${{ matrix.rpios_types }}
155155
GCC_VERSION: ${{ matrix.gcc_versions }}

.github/workflows/docs.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,13 @@ jobs:
173173
bash utils/SF_docs_deployer -t "cross" -f "main" -o "buster"
174174
shell: bash
175175
if: success()
176+
- name: move_deploy_cross_bullseye
177+
run: |
178+
mkdir -p $HOME/main
179+
cp docs/cross-gcc-bullseye.md $HOME/main/README.md
180+
bash utils/SF_docs_deployer -t "cross" -f "main" -o "bullseye"
181+
shell: bash
182+
if: success()
176183
- name: move_deploy_cross_stretch
177184
run: |
178185
mkdir -p $HOME/main
@@ -187,6 +194,13 @@ jobs:
187194
bash utils/SF_docs_deployer -t "native" -f "main" -o "buster"
188195
shell: bash
189196
if: success()
197+
- name: move_deploy_native_bullseye
198+
run: |
199+
mkdir -p $HOME/main
200+
cp docs/native-gcc-bullseye.md $HOME/main/README.md
201+
bash utils/SF_docs_deployer -t "native" -f "main" -o "bullseye"
202+
shell: bash
203+
if: success()
190204
- name: move_deploy_native_stretch
191205
run: |
192206
mkdir -p $HOME/main
@@ -201,6 +215,13 @@ jobs:
201215
bash utils/SF_docs_deployer -t "cross_64" -f "main" -o "buster"
202216
shell: bash
203217
if: success()
218+
- name: move_deploy_cross_64_bullseye
219+
run: |
220+
mkdir -p $HOME/main
221+
cp docs/cross-gcc64-bullseye.md $HOME/main/README.md
222+
bash utils/SF_docs_deployer -t "cross_64" -f "main" -o "bullseye"
223+
shell: bash
224+
if: success()
204225
- name: move_deploy_cross_64_stretch
205226
run: |
206227
mkdir -p $HOME/main
@@ -215,6 +236,13 @@ jobs:
215236
bash utils/SF_docs_deployer -t "native_64" -f "main" -o "buster"
216237
shell: bash
217238
if: success()
239+
- name: move_deploy_native_64_bullseye
240+
run: |
241+
mkdir -p $HOME/main
242+
cp docs/native-gcc64-bullseye.md $HOME/main/README.md
243+
bash utils/SF_docs_deployer -t "native_64" -f "main" -o "bullseye"
244+
shell: bash
245+
if: success()
218246
- name: move_deploy_native_64_stretch
219247
run: |
220248
mkdir -p $HOME/main

build-scripts/CI/CICTB_32b

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,12 @@ else
7575
exit
7676
fi
7777

78+
# skip bullseye base
79+
if [ "$RPIOS_TYPE" != "bullseye" ] && [ "$GCC_VERSION" = "10.2.0" ]; then
80+
echo "Invalid GCC: $GCC_VERSION!"
81+
exit
82+
fi
83+
7884
#collect dependencies versions from raspberry pi os
7985
if [ "$RPIOS_TYPE" = "stretch" ]; then
8086
if [ "$GCC_VERSION" == "8.3.0" ]; then

build-scripts/CI/CICTB_64b

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,12 @@ else
5959
echo "Parameters configured!"
6060
fi
6161

62+
# skip bullseye base
63+
if [ "$RPIOS_TYPE" != "bullseye" ] && [ "$GCC_VERSION" = "10.2.0" ]; then
64+
echo "Invalid GCC: $GCC_VERSION!"
65+
exit
66+
fi
67+
6268
#collect dependencies versions from raspberry pi os
6369
if [ "$RPIOS_TYPE" = "stretch" ]; then
6470
if [ "$GCC_VERSION" == "8.3.0" ]; then

build-scripts/CI/CINTB_32b

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,12 @@ if [ -z "$GCC_VERSION" ] || [ -z "$RPI_TYPE" ] || [ -z "$RPIOS_TYPE" ]; then
5757
helpfunction
5858
fi
5959

60+
# skip bullseye base
61+
if [ "$RPIOS_TYPE" != "bullseye" ] && [ "$GCC_VERSION" = "10.2.0" ]; then
62+
echo "Invalid GCC: $GCC_VERSION!"
63+
exit
64+
fi
65+
6066
if [ "$RPIOS_TYPE" = "buster" ]; then
6167
if echo ${GCC_VERSION%.*} "8.3" | awk '{exit ( $1 >= $2 )}'; then
6268
echo "$GCC_VERSION is not supported on buster!"

build-scripts/CI/CINTB_64b

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,12 @@ else
5959
echo "Parameters configured!"
6060
fi
6161

62+
# skip bullseye base
63+
if [ "$RPIOS_TYPE" != "bullseye" ] && [ "$GCC_VERSION" = "10.2.0" ]; then
64+
echo "Invalid GCC: $GCC_VERSION!"
65+
exit
66+
fi
67+
6268
if [ "$RPIOS_TYPE" = "buster" ]; then
6369
if echo ${GCC_VERSION%.*} "8.3" | awk '{exit ( $1 >= $2 )}'; then
6470
echo "$GCC_VERSION is not supported on buster!"

0 commit comments

Comments
 (0)