Release GCC Build #50
This file contains hidden or 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
name: Release GCC Build | |
on: | |
workflow_dispatch: | |
env: | |
GITHUB_TOKEN: ${{ secrets.PERSONAL_GITHUB_TOKEN }} | |
TELEGRAM_TOKEN: ${{ secrets.TELEGRAM_TOKEN }} | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup ccache | |
uses: hendrikmuhs/ccache-action@main | |
with: | |
key: ccache-gcc-release | |
max-size: 4G | |
- name: Install dependencies | |
shell: sudo bash --noprofile --norc -e -o pipefail {0} | |
run: | | |
apt update && apt upgrade -y && apt install -y --no-install-recommends lsb-release wget \ | |
software-properties-common gnupg bc binutils-dev u-boot-tools bison gcc g++ ca-certificates ccache \ | |
cmake curl file flex patchelf libelf-dev libssl-dev make python3-all-dev texinfo xz-utils \ | |
zlib1g-dev hub help2man locales ca-certificates build-essential ncurses-dev gperf patch libtool \ | |
automake libncurses5-dev gawk subversion expat libexpat1-dev binutils-dev bc libcap-dev autoconf \ | |
libgmp-dev pkg-config libmpc-dev libmpfr-dev autopoint gettext git txt2man liblzma-dev libz-dev \ | |
mercurial tar zstd locales libzstd-dev gcc-multilib g++-multilib | |
- name: Force safe directory | |
run: git config --global --add safe.directory '*' | |
- name: Download Resources | |
run: ./resources.sh | |
- name: Build & Release | |
run: ./build.sh |