Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
satoshiotomakan committed Oct 14, 2024
1 parent 6b620eb commit fc5b907
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linux-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ concurrency:
jobs:
build:
runs-on: ubuntu-latest
# if: github.event.pull_request.draft == false
if: github.event.pull_request.draft == false
steps:
- uses: actions/checkout@v3
- name: Install system dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linux-sampleapp-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v3
- name: Install system dependencies
run: |
tools/install-sys-dependencies-linux ci
tools/install-sys-dependencies-linux
tools/install-rust-dependencies
- name: Cache internal dependencies
id: internal_cache
Expand Down
18 changes: 0 additions & 18 deletions tools/install-sys-dependencies-linux
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,6 @@

set -e

# Downgrade libc to temporarily fix https://github.com/actions/runner-images/issues/8659
if [[ "$1" == "ci" ]]; then
LIBSTD_PACKAGE_VERSION="12.3.0-*"
# Bump this version if the CI has been broken due to the packages update.
LIBC_PACKAGE_VERSION="2.35-*"

echo "Remove GCC 13 from runner image - runner-images/8659 workaround"
echo "NOTE: Bump $LIBC_PACKAGE_VERSION version if the CI has been broken due to the packages update"

sudo rm -f /etc/apt/sources.list.d/ubuntu-toolchain-r-ubuntu-test-jammy.list
sudo apt-get update
sudo apt-get install -y --allow-downgrades \
libc6=$LIBC_PACKAGE_VERSION \
libc6-dev=$LIBC_PACKAGE_VERSION \
libstdc++6=$LIBSTD_PACKAGE_VERSION \
libgcc-s1=$LIBSTD_PACKAGE_VERSION
fi

# build-essential clang-14 libc++-dev libc++abi-dev ruby-full cmake
sudo apt-get update && sudo apt-get install ninja-build llvm-14 clang-tidy-14 libboost-all-dev rustc --fix-missing

Expand Down

0 comments on commit fc5b907

Please sign in to comment.