v3.1.1-alpha #102
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) <[email protected]> | |
# 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 Builder Pi[Desktop] | |
on: | |
# Trigger the workflow on push or pull request, | |
# but only for the master branch | |
push: | |
branches: | |
- master | |
paths-ignore: | |
- '**.md' | |
pull_request: | |
branches: | |
- master | |
paths-ignore: | |
- '**.md' | |
release: | |
branches: | |
- master | |
types: [published] | |
paths-ignore: | |
- '**.md' | |
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-x86_64: | |
name: GCC x86_64 Builder Pi[Desktop] | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
gcc_versions: [14.2.0] | |
env: | |
GCC_VERSION: ${{ matrix.gcc_versions }} | |
OS_TYPE: x86_64 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: before_install | |
run: | | |
sudo apt-get update -qq | |
sudo apt-get install -qq dos2unix -y | |
dos2unix build-scripts/CI/x86_64TB | |
chmod +x build-scripts/CI/x86_64TB | |
dos2unix patches/curl_stfp_patcher | |
chmod +x patches/curl_stfp_patcher | |
dos2unix utils/SF_deployer | |
chmod +x utils/SF_deployer | |
if: success() && (github.event_name == 'release' || (github.event_name == 'push' && contains(github.event.head_commit.message, '[DEBUG]'))) | |
- name: install | |
run: | | |
sudo apt-get -y install -qq gcc g++ gperf flex texinfo pigz git 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() && (github.event_name == 'release' || (github.event_name == 'push' && contains(github.event.head_commit.message, '[DEBUG]'))) | |
- name: script | |
run: bash build-scripts/CI/x86_64TB -g $GCC_VERSION | |
shell: bash | |
if: success() && (github.event_name == 'release' || (github.event_name == 'push' && contains(github.event.head_commit.message, '[DEBUG]'))) | |
- name: before_script | |
run: bash patches/curl_stfp_patcher | |
shell: bash | |
if: success() && github.event_name == 'release' | |
- name: deploy | |
run: bash utils/SF_deployer | |
shell: bash | |
if: success() && github.event_name == 'release' | |
builder-x86: | |
name: GCC x86 Builder Pi[Desktop] | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
gcc_versions: [14.2.0] | |
env: | |
GCC_VERSION: ${{ matrix.gcc_versions }} | |
OS_TYPE: x86 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: before_install | |
run: | | |
sudo apt-get update -qq | |
sudo apt-get install -qq dos2unix -y | |
dos2unix build-scripts/CI/x86_64TB | |
chmod +x build-scripts/CI/x86_64TB | |
dos2unix patches/curl_stfp_patcher | |
chmod +x patches/curl_stfp_patcher | |
dos2unix utils/SF_deployer | |
chmod +x utils/SF_deployer | |
if: success() && (github.event_name == 'release' || (github.event_name == 'push' && contains(github.event.head_commit.message, '[DEBUG]'))) | |
- name: install | |
run: | | |
sudo apt-get -y install -qq gcc g++ gperf git gcc-multilib g++-multilib libc6-i386 libc6-dev-i386 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() && (github.event_name == 'release' || (github.event_name == 'push' && contains(github.event.head_commit.message, '[DEBUG]'))) | |
- name: script | |
run: bash build-scripts/CI/x86_64TB -g $GCC_VERSION -t $OS_TYPE | |
shell: bash | |
if: success() && (github.event_name == 'release' || (github.event_name == 'push' && contains(github.event.head_commit.message, '[DEBUG]'))) | |
- name: before_script | |
run: bash patches/curl_stfp_patcher | |
shell: bash | |
if: success() && github.event_name == 'release' | |
- name: deploy | |
run: bash utils/SF_deployer | |
shell: bash | |
if: success() && github.event_name == 'release' |