Release 3.1.0
: Update toolchain support for newer GCC versions and Raspberry Pi OS Bookworm (Fixes #86)
#72
Workflow file for this run
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
# =============================================== | |
# Raspberry Pi Toolchains(raspberry-pi-cross-compilers): This project | |
# provides latest automated GCC Cross Compiler & Native (ARM & ARM64) | |
# build-scripts and precompiled standalone toolchains for Raspberry Pi. | |
# Copyright (C) 2020 Abhishek Thakur(@abhiTronix) <abhi.una12@gmail.com> | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# This program is distributed in the hope that it will be useful, | |
# but WITHOUT ANY WARRANTY; without even the implied warranty of | |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
# GNU General Public License for more details. | |
# You should have received a copy of the GNU General Public License | |
# along with this program. If not, see <https://www.gnu.org/licenses/>. | |
# =============================================== | |
name: CI Docs Deployer | |
on: | |
# Trigger the workflow on push or pull request, | |
# but only for the master branch | |
push: | |
branches: | |
- master | |
paths: | |
- '**.md' | |
- '**.yml' | |
pull_request: | |
branches: | |
- master | |
paths: | |
- '**.md' | |
- '**.yml' | |
release: | |
branches: | |
- master | |
paths: | |
- '**.md' | |
- '**.yml' | |
env: | |
CURL_VERSION: 8.9.1 | |
CCACHE_COMPRESS: 1 | |
CCACHE_DIR: $HOME/.ccache | |
USER_SFTP: ${{ secrets.USER_SFTP }} | |
PASSWORD_SFTP: ${{ secrets.PASSWORD_SFTP }} | |
jobs: | |
builder-docs_root: | |
name: Docs Root Deployer | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: before_install | |
run: | | |
sudo apt-get update -qq | |
sudo apt-get install -qq dos2unix -y | |
dos2unix patches/curl_stfp_patcher | |
chmod +x patches/curl_stfp_patcher | |
dos2unix utils/SF_docs_deployer | |
chmod +x utils/SF_docs_deployer | |
if: success() | |
- name: install | |
run: | | |
sudo apt-get -y install -qq ccache autoconf automake build-essential libssh2-1-dev openssl libcurl4 unzip wget figlet | |
sudo /usr/sbin/update-ccache-symlinks | |
echo 'export PATH="/usr/lib/ccache:$PATH"' | tee -a ~/.bashrc | |
source ~/.bashrc && echo $PATH | |
if: success() | |
- name: before_script | |
run: bash patches/curl_stfp_patcher | |
shell: bash | |
if: success() | |
- name: move_deploy_root | |
run: | | |
mkdir -p $HOME/root | |
cp docs/root-gcc.md $HOME/root/README.md | |
bash utils/SF_docs_deployer -f "root" | |
shell: bash | |
if: success() | |
builder-docs_base: | |
name: Docs Base Deployer | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: before_install | |
run: | | |
sudo apt-get update -qq | |
sudo apt-get install -qq dos2unix -y | |
dos2unix patches/curl_stfp_patcher | |
chmod +x patches/curl_stfp_patcher | |
dos2unix utils/SF_docs_deployer | |
chmod +x utils/SF_docs_deployer | |
if: success() | |
- name: install | |
run: | | |
sudo apt-get -y install -qq ccache autoconf automake build-essential libssh2-1-dev openssl libcurl4 unzip wget figlet | |
sudo /usr/sbin/update-ccache-symlinks | |
echo 'export PATH="/usr/lib/ccache:$PATH"' | tee -a ~/.bashrc | |
source ~/.bashrc && echo $PATH | |
if: success() | |
- name: before_script | |
run: bash patches/curl_stfp_patcher | |
shell: bash | |
if: success() | |
- name: move_deploy_cli | |
run: | | |
mkdir -p $HOME/base | |
cp docs/base-gcc.md $HOME/base/README.md | |
bash utils/SF_docs_deployer -t "CLI" -f "base" | |
shell: bash | |
if: success() | |
- name: move_deploy_cross_64 | |
run: | | |
mkdir -p $HOME/base | |
cp docs/gcc64.md $HOME/base/README.md | |
bash utils/SF_docs_deployer -t "cross_64" -f "base" | |
shell: bash | |
if: success() | |
- name: move_deploy_native | |
run: | | |
mkdir -p $HOME/base | |
cp docs/native-gcc.md $HOME/base/README.md | |
bash utils/SF_docs_deployer -t "native" -f "base" | |
shell: bash | |
if: success() | |
- name: move_deploy_cross | |
run: | | |
mkdir -p $HOME/base | |
cp docs/cross-gcc.md $HOME/base/README.md | |
bash utils/SF_docs_deployer -t "cross" -f "base" | |
shell: bash | |
if: success() | |
builder-docs_main: | |
name: Docs Main Deployer | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: before_install | |
run: | | |
sudo apt-get update -qq | |
sudo apt-get install -qq dos2unix -y | |
dos2unix patches/curl_stfp_patcher | |
chmod +x patches/curl_stfp_patcher | |
dos2unix utils/SF_docs_deployer | |
chmod +x utils/SF_docs_deployer | |
if: success() | |
- name: install | |
run: | | |
sudo apt-get -y install -qq ccache autoconf automake build-essential libssh2-1-dev openssl libcurl4 unzip wget figlet | |
sudo /usr/sbin/update-ccache-symlinks | |
echo 'export PATH="/usr/lib/ccache:$PATH"' | tee -a ~/.bashrc | |
source ~/.bashrc && echo $PATH | |
if: success() | |
- name: before_script | |
run: bash patches/curl_stfp_patcher | |
shell: bash | |
if: success() | |
- name: move_deploy_cross_buster | |
run: | | |
mkdir -p $HOME/main | |
cp docs/cross-gcc-buster.md $HOME/main/README.md | |
bash utils/SF_docs_deployer -t "cross" -f "main" -o "buster" | |
shell: bash | |
if: success() | |
- name: move_deploy_cross_bullseye | |
run: | | |
mkdir -p $HOME/main | |
cp docs/cross-gcc-bullseye.md $HOME/main/README.md | |
bash utils/SF_docs_deployer -t "cross" -f "main" -o "bullseye" | |
shell: bash | |
if: success() | |
- name: move_deploy_cross_bookworm | |
run: | | |
mkdir -p $HOME/main | |
cp docs/cross-gcc-bookworm.md $HOME/main/README.md | |
bash utils/SF_docs_deployer -t "cross" -f "main" -o "bookworm" | |
shell: bash | |
if: success() | |
- name: move_deploy_native_buster | |
run: | | |
mkdir -p $HOME/main | |
cp docs/native-gcc-buster.md $HOME/main/README.md | |
bash utils/SF_docs_deployer -t "native" -f "main" -o "buster" | |
shell: bash | |
if: success() | |
- name: move_deploy_native_bullseye | |
run: | | |
mkdir -p $HOME/main | |
cp docs/native-gcc-bullseye.md $HOME/main/README.md | |
bash utils/SF_docs_deployer -t "native" -f "main" -o "bullseye" | |
shell: bash | |
if: success() | |
- name: move_deploy_native_bookworm | |
run: | | |
mkdir -p $HOME/main | |
cp docs/native-gcc-bookworm.md $HOME/main/README.md | |
bash utils/SF_docs_deployer -t "native" -f "main" -o "bookworm" | |
shell: bash | |
if: success() | |
- name: move_deploy_cross_64_buster | |
run: | | |
mkdir -p $HOME/main | |
cp docs/cross-gcc64-buster.md $HOME/main/README.md | |
bash utils/SF_docs_deployer -t "cross_64" -f "main" -o "buster" | |
shell: bash | |
if: success() | |
- name: move_deploy_cross_64_bullseye | |
run: | | |
mkdir -p $HOME/main | |
cp docs/cross-gcc64-bullseye.md $HOME/main/README.md | |
bash utils/SF_docs_deployer -t "cross_64" -f "main" -o "bullseye" | |
shell: bash | |
if: success() | |
- name: move_deploy_cross_64_bookworm | |
run: | | |
mkdir -p $HOME/main | |
cp docs/cross-gcc64-bookworm.md $HOME/main/README.md | |
bash utils/SF_docs_deployer -t "cross_64" -f "main" -o "bookworm" | |
shell: bash | |
if: success() | |
- name: move_deploy_native_64_buster | |
run: | | |
mkdir -p $HOME/main | |
cp docs/native-gcc64-buster.md $HOME/main/README.md | |
bash utils/SF_docs_deployer -t "native_64" -f "main" -o "buster" | |
shell: bash | |
if: success() | |
- name: move_deploy_native_64_bullseye | |
run: | | |
mkdir -p $HOME/main | |
cp docs/native-gcc64-bullseye.md $HOME/main/README.md | |
bash utils/SF_docs_deployer -t "native_64" -f "main" -o "bullseye" | |
shell: bash | |
if: success() | |
- name: move_deploy_native_64_bookworm | |
run: | | |
mkdir -p $HOME/main | |
cp docs/native-gcc64-bookworm.md $HOME/main/README.md | |
bash utils/SF_docs_deployer -t "native_64" -f "main" -o "bookworm" | |
shell: bash | |
if: success() | |
builder-docs_experimental: | |
name: Docs Root Deployer | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: before_install | |
run: | | |
sudo apt-get update -qq | |
sudo apt-get install -qq dos2unix -y | |
dos2unix patches/curl_stfp_patcher | |
chmod +x patches/curl_stfp_patcher | |
dos2unix utils/SF_docs_deployer | |
chmod +x utils/SF_docs_deployer | |
if: success() | |
- name: install | |
run: | | |
sudo apt-get -y install -qq ccache autoconf automake build-essential libssh2-1-dev openssl libcurl4 unzip wget figlet | |
sudo /usr/sbin/update-ccache-symlinks | |
echo 'export PATH="/usr/lib/ccache:$PATH"' | tee -a ~/.bashrc | |
source ~/.bashrc && echo $PATH | |
if: success() | |
- name: before_script | |
run: bash patches/curl_stfp_patcher | |
shell: bash | |
if: success() | |
- name: move_deploy_x86 | |
run: | | |
mkdir -p $HOME/experiment | |
cp docs/desktop-gcc-x86.md $HOME/experiment/README.md | |
bash utils/SF_docs_deployer -f "experimental" -r "x86" | |
shell: bash | |
if: success() | |
- name: move_deploy_x86_64 | |
run: | | |
mkdir -p $HOME/experiment | |
cp docs/desktop-gcc-x86_64.md $HOME/experiment/README.md | |
bash utils/SF_docs_deployer -f "experimental" -r "x86_64" | |
shell: bash | |
if: success() | |
- name: move_deploy_main | |
run: | | |
mkdir -p $HOME/main | |
cp docs/desktop-gcc.md $HOME/main/README.md | |
bash utils/SF_docs_deployer -f "experimental" | |
shell: bash | |
if: success() | |
- name: move_deploy_base | |
run: | | |
mkdir -p $HOME/base | |
cp docs/exp-gcc.md $HOME/base/README.md | |
bash utils/SF_docs_deployer -f "experimental" | |
shell: bash | |
if: success() | |