Skip to content

Commit 34b6dda

Browse files
committed
See whether we can build on a regular runner without debug info
1 parent 7d5f537 commit 34b6dda

File tree

2 files changed

+16
-17
lines changed

2 files changed

+16
-17
lines changed

.github/workflows/ubuntu.yml

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
name: Ubuntu CI
22

33
on:
4-
push:
5-
branches-ignore:
6-
# Exclude the push event for exported diffs, because the CI for export
7-
# should have been covered by GitHub Actions triggered by pull requests.
8-
- 'export-D+'
94
pull_request:
105

116
concurrency:
@@ -26,36 +21,40 @@ env:
2621

2722
jobs:
2823
build_ubuntu_focal_nightly:
29-
runs-on: 8-core-ubuntu
30-
container:
31-
image: ubuntu:noble
32-
env:
24+
runs-on: ubuntu-24.04
25+
env:
3326
DISTRO: ubuntu-24.04-noble
3427
IS_NIGHTLY: 1
3528
CLANG_VERSION: 18
3629
steps:
3730
- name: Installing dependencies to bootstrap env
38-
run: apt update -y && apt install -y git wget lsb-release software-properties-common gpg clang clang-${CLANG_VERSION} libc++-${CLANG_VERSION}-dev libc++abi-${CLANG_VERSION}-dev
31+
run: sudo apt update -y && sudo apt install -y git wget lsb-release software-properties-common gpg clang clang-${CLANG_VERSION} libc++-${CLANG_VERSION}-dev libc++abi-${CLANG_VERSION}-dev
3932
- name: Making LLVM the default compiler
4033
run: |
4134
if [ -f /etc/alternatives/cc ]
4235
then
43-
update-alternatives --remove-all cc
36+
sudo update-alternatives --remove-all cc
4437
fi
4538
4639
if [ -f /etc/alternatives/c++ ]
4740
then
48-
update-alternatives --remove-all c++
41+
sudo update-alternatives --remove-all c++
4942
fi
5043
51-
update-alternatives --install /usr/bin/cc cc /usr/bin/clang++-${CLANG_VERSION} 500
52-
update-alternatives --set cc /usr/bin/clang++-${CLANG_VERSION}
53-
update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang++-${CLANG_VERSION} 500
54-
update-alternatives --set c++ /usr/bin/clang++-${CLANG_VERSION}
44+
sudo update-alternatives --install /usr/bin/cc cc /usr/bin/clang++-${CLANG_VERSION} 500
45+
sudo update-alternatives --set cc /usr/bin/clang++-${CLANG_VERSION}
46+
sudo update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang++-${CLANG_VERSION} 500
47+
sudo update-alternatives --set c++ /usr/bin/clang++-${CLANG_VERSION}
5548
- name: Fetching HHVM and its submodules
5649
uses: actions/checkout@v4
5750
with:
5851
submodules: 'recursive'
52+
- name: Show disk space at start
53+
run: df -h
54+
- name: Free up disk space
55+
run: sudo rm -rf /usr/local/lib/android
56+
- name: Show disk space after freeing up
57+
run: df -h
5958
- name: Installing HHVM deps and building HHVM
6059
run: ci/bin/make-debianish-package
6160
- name: Uploading artifacts

ci/ubuntu-24.04-noble/debian/rules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ override_dh_auto_configure:
1313
-Wno-dev \
1414
-DCMAKE_INSTALL_PREFIX=/opt/hhvm/$(DEB_VERSION_UPSTREAM) \
1515
-DMYSQL_UNIX_SOCK_ADDR=/var/run/mysqld/mysqld.sock \
16-
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
16+
-DCMAKE_BUILD_TYPE=Release \
1717
-DCLANG_FORCE_LIBCPP=On \
1818
-DFORCE_BUNDLED_LZ4=Off \
1919
-DENABLE_XED=On \

0 commit comments

Comments
 (0)