Skip to content

Commit

Permalink
Release 3.1.0 : Update toolchain support for newer GCC versions and…
Browse files Browse the repository at this point in the history
… Raspberry Pi OS Bookworm (Fixes #86) [#119]

- Expand supported GCC versions up to `14.2.0`
- Add support for Raspberry Pi OS Bookworm (Debian 12)
- ⚠️ Remove support for Raspberry Pi OS Stretch (Debian 9)
- Update GDB version from `10.2` to `15.1`
- Update `CURL_VERSION` to `8.9.1`
- Revise supported hardware to include Raspberry Pi 5
- Update dependency versions and build configurations
- Improve error handling and cleanup processes in build scripts
- Update CI build scripts and GitHub Actions workflows
- Revise documentation (README.md and other docs) to reflect new changes
- Refactor SF_deployer and SF_docs_deployer scripts
- Rename 'Docs Root Deployer' job to 'Docs Experimental Deployer' in `docs.yml` workflow
- Enhance `curl_stfp_patcher` script
- Maintenance: Added GitHub sponsors
  • Loading branch information
abhiTronix authored Aug 26, 2024
2 parents e637cf7 + 31f62d4 commit 4ab3d1e
Show file tree
Hide file tree
Showing 47 changed files with 3,050 additions and 2,212 deletions.
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
ko_fi: abhitronix
github: abhiTronix
custom: https://paypal.me/AbhiTronix
46 changes: 23 additions & 23 deletions .github/workflows/builder_0_1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ on:

env:
RPI_TYPE: 0-1
CURL_VERSION: 7.72.0
CURL_VERSION: 8.9.1
CCACHE_COMPRESS: 1
CCACHE_DIR: $HOME/.ccache
USER_SFTP: ${{ secrets.USER_SFTP }}
Expand All @@ -54,18 +54,18 @@ env:
jobs:
builder-base:
name: Base GCC 32-bit Builder Pi[0-1]
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
strategy:
matrix:
gcc_versions: [6.3.0, 8.3.0, 10.2.0]
rpios_types: [stretch, buster, bullseye]
gcc_versions: [8.3.0, 10.2.0, 12.2.0]
rpios_types: [buster, bullseye, bookworm]
env:
RPIOS_TYPE: ${{ matrix.rpios_types }}
GCC_VERSION: ${{ matrix.gcc_versions }}
COMPILER_TYPE: CROSS
BASE: true
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: before_install
run: |
sudo apt-get update -qq
Expand All @@ -79,15 +79,15 @@ jobs:
if: success()
- name: install
run: |
sudo apt-get -y install -qq gcc g++ gperf git flex texinfo pigz gawk gfortran texinfo bison libncurses-dev ccache autoconf automake build-essential libssh2-1-dev openssl libcurl3 unzip wget figlet
sudo apt-get -y install -qq gcc g++ gperf git flex texinfo pigz gawk gfortran texinfo bison libncurses-dev ccache autoconf automake build-essential libssh2-1-dev openssl libcurl4 unzip wget figlet libgmp-dev libmpfr-dev
sudo /usr/sbin/update-ccache-symlinks
echo 'export PATH="/usr/lib/ccache:$PATH"' | tee -a ~/.bashrc
source ~/.bashrc && echo $PATH
if: success()
- name: script
run: bash build-scripts/CI/CIBB_32b -g $GCC_VERSION -r $RPI_TYPE -o $RPIOS_TYPE
shell: bash
if: success() && (github.event_name == 'pull_request' || github.event_name == 'release' || (github.event_name == 'push' && contains(github.event.head_commit.message, '[DEBUG]')))
if: success() && (github.event_name == 'pull_request' || github.event_name == 'release' || github.event_name == 'push')
- name: before_script
run: bash patches/curl_stfp_patcher
shell: bash
Expand All @@ -100,17 +100,17 @@ jobs:
builder-cross:
name: Cross GCC 32-bit Builder Pi[0-1]
needs: builder-base
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
strategy:
matrix:
gcc_versions: [6.3.0, 8.3.0, 9.4.0, 10.2.0, 10.3.0]
rpios_types: [stretch, buster, bullseye]
gcc_versions: [8.3.0, 10.2.0, 12.2.0, 13.3.0, 14.2.0]
rpios_types: [buster, bullseye, bookworm]
env:
GCC_VERSION: ${{ matrix.gcc_versions }}
RPIOS_TYPE: ${{ matrix.rpios_types }}
COMPILER_TYPE: CROSS
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: before_install
run: |
sudo apt-get update -qq
Expand All @@ -121,18 +121,18 @@ jobs:
chmod +x patches/curl_stfp_patcher
dos2unix utils/SF_deployer
chmod +x utils/SF_deployer
if: success()
if: success() && github.event_name == 'push'
- name: install
run: |
sudo apt-get -y install -qq gcc g++ gperf flex texinfo git pigz gawk gfortran texinfo bison libncurses-dev ccache autoconf automake build-essential libssh2-1-dev openssl libcurl3 unzip wget figlet
sudo apt-get -y install -qq gcc g++ gperf flex texinfo git pigz gawk gfortran texinfo bison libncurses-dev ccache autoconf automake build-essential libssh2-1-dev openssl libcurl4 unzip wget figlet libgmp-dev libmpfr-dev
sudo /usr/sbin/update-ccache-symlinks
echo 'export PATH="/usr/lib/ccache:$PATH"' | tee -a ~/.bashrc
source ~/.bashrc && echo $PATH
if: success()
if: success() && github.event_name == 'push'
- name: script
run: bash build-scripts/CI/CICTB_32b -g $GCC_VERSION -r $RPI_TYPE -o $RPIOS_TYPE
shell: bash
if: success()
if: success() && github.event_name == 'push'
- name: before_script
run: bash patches/curl_stfp_patcher
shell: bash
Expand All @@ -145,17 +145,17 @@ jobs:
builder-native:
name: Native GCC 32-bit Builder Pi[0-1]
needs: [builder-base, builder-cross]
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
strategy:
matrix:
gcc_versions: [9.4.0, 10.2.0, 10.3.0]
rpios_types: [stretch, buster, bullseye]
gcc_versions: [13.3.0, 14.2.0]
rpios_types: [buster, bullseye, bookworm]
env:
GCC_VERSION: ${{ matrix.gcc_versions }}
RPIOS_TYPE: ${{ matrix.rpios_types }}
COMPILER_TYPE: NATIVE
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: before_install
run: |
sudo apt-get update -qq
Expand All @@ -166,18 +166,18 @@ jobs:
chmod +x patches/curl_stfp_patcher
dos2unix utils/SF_deployer
chmod +x utils/SF_deployer
if: success()
if: success() && github.event_name == 'push'
- name: install
run: |
sudo apt-get -y install -qq gcc g++ gperf flex git texinfo pigz gawk gfortran texinfo bison libncurses-dev ccache autoconf automake build-essential libssh2-1-dev openssl libcurl3 unzip wget figlet
sudo apt-get -y install -qq gcc g++ gperf flex git texinfo pigz gawk gfortran texinfo bison libncurses-dev ccache autoconf automake build-essential libssh2-1-dev openssl libcurl4 unzip wget figlet libgmp-dev libmpfr-dev
sudo /usr/sbin/update-ccache-symlinks
echo 'export PATH="/usr/lib/ccache:$PATH"' | tee -a ~/.bashrc
source ~/.bashrc && echo $PATH
if: success()
if: success() && github.event_name == 'push'
- name: script
run: bash build-scripts/CI/CINTB_32b -g $GCC_VERSION -r $RPI_TYPE -o $RPIOS_TYPE
shell: bash
if: success()
if: success() && github.event_name == 'push'
- name: before_script
run: bash patches/curl_stfp_patcher
shell: bash
Expand Down
46 changes: 23 additions & 23 deletions .github/workflows/builder_2_3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ on:

env:
RPI_TYPE: 2-3
CURL_VERSION: 7.72.0
CURL_VERSION: 8.9.1
CCACHE_COMPRESS: 1
CCACHE_DIR: $HOME/.ccache
USER_SFTP: ${{ secrets.USER_SFTP }}
Expand All @@ -54,18 +54,18 @@ env:
jobs:
builder-base:
name: Base GCC 32-bit Builder Pi[2-3]
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
strategy:
matrix:
rpios_types: [stretch, buster, bullseye]
gcc_versions: [6.3.0, 8.3.0, 10.2.0]
rpios_types: [buster, bullseye, bookworm]
gcc_versions: [8.3.0, 10.2.0, 12.2.0]
env:
RPIOS_TYPE: ${{ matrix.rpios_types }}
GCC_VERSION: ${{ matrix.gcc_versions }}
COMPILER_TYPE: CROSS
BASE: true
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: before_install
run: |
sudo apt-get update -qq
Expand All @@ -79,15 +79,15 @@ jobs:
if: success()
- name: install
run: |
sudo apt-get -y install -qq gcc g++ gperf git flex texinfo pigz gawk gfortran texinfo bison libncurses-dev ccache autoconf automake build-essential libssh2-1-dev openssl libcurl3 unzip wget figlet
sudo apt-get -y install -qq gcc g++ gperf git flex texinfo pigz gawk gfortran texinfo bison libncurses-dev ccache autoconf automake build-essential libssh2-1-dev openssl libcurl4 unzip wget figlet libgmp-dev libmpfr-dev
sudo /usr/sbin/update-ccache-symlinks
echo 'export PATH="/usr/lib/ccache:$PATH"' | tee -a ~/.bashrc
source ~/.bashrc && echo $PATH
if: success()
- name: script
run: bash build-scripts/CI/CIBB_32b -g $GCC_VERSION -r $RPI_TYPE -o $RPIOS_TYPE
shell: bash
if: success() && (github.event_name == 'pull_request' || github.event_name == 'release' || (github.event_name == 'push' && contains(github.event.head_commit.message, '[DEBUG]')))
if: success() && (github.event_name == 'pull_request' || github.event_name == 'release' || github.event_name == 'push')
- name: before_script
run: bash patches/curl_stfp_patcher
shell: bash
Expand All @@ -100,17 +100,17 @@ jobs:
builder-cross:
name: Cross GCC 32-bit Builder Pi[2-3]
needs: builder-base
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
strategy:
matrix:
gcc_versions: [6.3.0, 8.3.0, 9.4.0, 10.2.0, 10.3.0]
rpios_types: [stretch, buster, bullseye]
gcc_versions: [8.3.0, 10.2.0, 12.2.0, 13.3.0, 14.2.0]
rpios_types: [buster, bullseye, bookworm]
env:
GCC_VERSION: ${{ matrix.gcc_versions }}
RPIOS_TYPE: ${{ matrix.rpios_types }}
COMPILER_TYPE: CROSS
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: before_install
run: |
sudo apt-get update -qq
Expand All @@ -121,18 +121,18 @@ jobs:
chmod +x patches/curl_stfp_patcher
dos2unix utils/SF_deployer
chmod +x utils/SF_deployer
if: success()
if: success() && github.event_name == 'push'
- name: install
run: |
sudo apt-get -y install -qq gcc g++ gperf flex git texinfo pigz gawk gfortran texinfo bison libncurses-dev ccache autoconf automake build-essential libssh2-1-dev openssl libcurl3 unzip wget figlet
sudo apt-get -y install -qq gcc g++ gperf flex git texinfo pigz gawk gfortran texinfo bison libncurses-dev ccache autoconf automake build-essential libssh2-1-dev openssl libcurl4 unzip wget figlet libgmp-dev libmpfr-dev
sudo /usr/sbin/update-ccache-symlinks
echo 'export PATH="/usr/lib/ccache:$PATH"' | tee -a ~/.bashrc
source ~/.bashrc && echo $PATH
if: success()
if: success() && github.event_name == 'push'
- name: script
run: bash build-scripts/CI/CICTB_32b -g $GCC_VERSION -r $RPI_TYPE -o $RPIOS_TYPE
shell: bash
if: success()
if: success() && github.event_name == 'push'
- name: before_script
run: bash patches/curl_stfp_patcher
shell: bash
Expand All @@ -145,17 +145,17 @@ jobs:
builder-native:
name: Native GCC 32-bit Builder Pi[2-3]
needs: [builder-base, builder-cross]
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
strategy:
matrix:
gcc_versions: [9.4.0, 10.2.0, 10.3.0]
rpios_types: [stretch, buster, bullseye]
gcc_versions: [13.3.0, 14.2.0]
rpios_types: [buster, bullseye, bookworm]
env:
GCC_VERSION: ${{ matrix.gcc_versions }}
RPIOS_TYPE: ${{ matrix.rpios_types }}
COMPILER_TYPE: NATIVE
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: before_install
run: |
sudo apt-get update -qq
Expand All @@ -166,18 +166,18 @@ jobs:
chmod +x patches/curl_stfp_patcher
dos2unix utils/SF_deployer
chmod +x utils/SF_deployer
if: success()
if: success() && github.event_name == 'push'
- name: install
run: |
sudo apt-get -y install -qq gcc g++ gperf flex git texinfo pigz gawk gfortran texinfo bison libncurses-dev ccache autoconf automake build-essential libssh2-1-dev openssl libcurl3 unzip wget figlet
sudo apt-get -y install -qq gcc g++ gperf flex git texinfo pigz gawk gfortran texinfo bison libncurses-dev ccache autoconf automake build-essential libssh2-1-dev openssl libcurl4 unzip wget figlet libgmp-dev libmpfr-dev
sudo /usr/sbin/update-ccache-symlinks
echo 'export PATH="/usr/lib/ccache:$PATH"' | tee -a ~/.bashrc
source ~/.bashrc && echo $PATH
if: success()
if: success() && github.event_name == 'push'
- name: script
run: bash build-scripts/CI/CINTB_32b -g $GCC_VERSION -r $RPI_TYPE -o $RPIOS_TYPE
shell: bash
if: success()
if: success() && github.event_name == 'push'
- name: before_script
run: bash patches/curl_stfp_patcher
shell: bash
Expand Down
Loading

0 comments on commit 4ab3d1e

Please sign in to comment.