Skip to content

Commit

Permalink
try to speed up CI by disabling firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
serges147 committed Nov 27, 2024
1 parent c0a3998 commit a7aa35f
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
chmod +x llvm.sh
sudo ./llvm.sh $LLVM_VERSION
# we don't need firefox but it takes a lot of time to upgrade
snap disable firefox && snap remove --purge firefox
sudo snap disable firefox && sudo snap remove --purge firefox
sudo apt update -y && sudo apt upgrade -y
sudo apt-get -y install gcc-multilib g++-multilib clang-tidy-$LLVM_VERSION
sudo update-alternatives --install /usr/bin/clang-tidy clang-tidy /usr/bin/clang-tidy-$LLVM_VERSION 50
Expand Down Expand Up @@ -63,8 +63,9 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: |
# Upgrading and installing dependencies.
# we don't need firefox but it takes a lot of time to upgrade
snap disable firefox && snap remove --purge firefox
sudo snap disable firefox && sudo snap remove --purge firefox
sudo apt update -y && sudo apt upgrade -y
sudo apt install gcc-multilib g++-multilib
- run: >
Expand Down Expand Up @@ -95,8 +96,9 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: |
# Upgrading and installing dependencies.
# we don't need firefox but it takes a lot of time to upgrade
snap disable firefox && snap remove --purge firefox
sudo snap disable firefox && sudo snap remove --purge firefox
sudo apt update -y && sudo apt upgrade -y
sudo apt install gcc-avr avr-libc
avr-gcc --version
Expand All @@ -113,8 +115,9 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: |
# Upgrading and installing dependencies.
# we don't need firefox but it takes a lot of time to upgrade
snap disable firefox && snap remove --purge firefox
sudo snap disable firefox && sudo snap remove --purge firefox
sudo apt update -y && sudo apt upgrade -y
sudo apt-get install -y gcc-arm-none-eabi
- run: arm-none-eabi-gcc libcanard/*.c -c -std=c99 ${{ env.flags }}
Expand Down Expand Up @@ -152,8 +155,9 @@ jobs:

- name: Install Dependencies
run: |
# Upgrading and installing dependencies.
# we don't need firefox but it takes a lot of time to upgrade
snap disable firefox && snap remove --purge firefox
sudo snap disable firefox && sudo snap remove --purge firefox
sudo apt update -y && sudo apt upgrade -y
sudo apt install -y gcc-multilib g++-multilib
Expand Down

0 comments on commit a7aa35f

Please sign in to comment.