Skip to content

Commit

Permalink
CI Update (#622)
Browse files Browse the repository at this point in the history
* Update python version for Ubuntu 24.04 Noble

Due to the upgrade of Ubuntu version that is used in the CI we must upgrade the Python version to be compatible with Ubuntu 24.04 Noble. It could be relevant in the future to lock the Ubuntu version but that is a minor issue.

* Only remove images if there are any
  • Loading branch information
saefstroem authored Jan 6, 2025
1 parent 8fe4663 commit ecbd6f3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ jobs:
# Clean unnecessary files to save disk space
- name: clean unnecessary files to save space
run: |
docker rmi `docker images -q`
if [ "$(docker images -q)" ]; then
docker rmi $(docker images -q)
fi
sudo rm -rf /usr/share/dotnet /etc/mysql /etc/php /etc/sudo apt/sources.list.d
sudo apt -y autoremove --purge
sudo apt -y autoclean
Expand Down
2 changes: 1 addition & 1 deletion musl-toolchain/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ source preset.sh
if [ ! -d "$HOME/x-tools" ] || [ ! -f "$PRESET_HASH_FILE" ] || [ "$(cat $PRESET_HASH_FILE)" != "$CURRENT_PRESET_HASH" ]; then
# Install dependencies
sudo apt-get update
sudo apt-get install -y autoconf automake libtool libtool-bin unzip help2man python3.10-dev gperf bison flex texinfo gawk libncurses5-dev
sudo apt-get install -y autoconf automake libtool libtool-bin unzip help2man python3-dev gperf bison flex texinfo gawk libncurses5-dev

# Clone crosstool-ng
git clone https://github.com/crosstool-ng/crosstool-ng
Expand Down

0 comments on commit ecbd6f3

Please sign in to comment.