Skip to content

Commit

Permalink
Refactored GitHub Actions workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
abhiTronix committed Aug 31, 2024
1 parent 4ab3d1e commit 6deb61e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/builder_0_1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,18 +166,18 @@ jobs:
chmod +x patches/curl_stfp_patcher
dos2unix utils/SF_deployer
chmod +x utils/SF_deployer
if: success() && github.event_name == 'push'
if: success() && github.event_name == 'release' && github.event.action == 'published'
- 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 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 == 'push'
if: success() && github.event_name == 'release' && github.event.action == 'published'
- name: script
run: bash build-scripts/CI/CINTB_32b -g $GCC_VERSION -r $RPI_TYPE -o $RPIOS_TYPE
shell: bash
if: success() && github.event_name == 'push'
if: success() && github.event_name == 'release' && github.event.action == 'published'
- name: before_script
run: bash patches/curl_stfp_patcher
shell: bash
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/builder_2_3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,18 +166,18 @@ jobs:
chmod +x patches/curl_stfp_patcher
dos2unix utils/SF_deployer
chmod +x utils/SF_deployer
if: success() && github.event_name == 'push'
if: success() && github.event_name == 'release' && github.event.action == 'published'
- 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 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 == 'push'
if: success() && github.event_name == 'release' && github.event.action == 'published'
- name: script
run: bash build-scripts/CI/CINTB_32b -g $GCC_VERSION -r $RPI_TYPE -o $RPIOS_TYPE
shell: bash
if: success() && github.event_name == 'push'
if: success() && github.event_name == 'release' && github.event.action == 'published'
- name: before_script
run: bash patches/curl_stfp_patcher
shell: bash
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/builder_3_plus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,18 +166,18 @@ jobs:
chmod +x patches/curl_stfp_patcher
dos2unix utils/SF_deployer
chmod +x utils/SF_deployer
if: success() && github.event_name == 'push'
if: success() && github.event_name == 'release' && github.event.action == 'published'
- 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 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 == 'push'
if: success() && github.event_name == 'release' && github.event.action == 'published'
- name: script
run: bash build-scripts/CI/CINTB_32b -g $GCC_VERSION -r $RPI_TYPE -o $RPIOS_TYPE
shell: bash
if: success() && github.event_name == 'push'
if: success() && github.event_name == 'release' && github.event.action == 'published'
- name: before_script
run: bash patches/curl_stfp_patcher
shell: bash
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/builder_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,18 +166,18 @@ jobs:
chmod +x patches/curl_stfp_patcher
dos2unix utils/SF_deployer
chmod +x utils/SF_deployer
if: success() && github.event_name == 'push'
if: success() && github.event_name == 'release' && github.event.action == 'published'
- name: install
run: |
sudo apt-get -y install -qq gcc g++ gperf flex texinfo pigz gawk git 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 == 'push'
if: success() && github.event_name == 'release' && github.event.action == 'published'
- name: script
run: bash build-scripts/CI/CINTB_64b -g $GCC_VERSION -o $RPIOS_TYPE
shell: bash
if: success() && github.event_name == 'push'
if: success() && github.event_name == 'release' && github.event.action == 'published'
- name: before_script
run: bash patches/curl_stfp_patcher
shell: bash
Expand Down

0 comments on commit 6deb61e

Please sign in to comment.