Skip to content

Commit db7b679

Browse files
committed
Use preinstalled Rust in CI
1 parent ad01ea2 commit db7b679

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/ubuntu.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ jobs:
3131
uses: actions/checkout@v4
3232
with:
3333
submodules: "recursive"
34+
- name: Install Rust
35+
uses: dtolnay/rust-toolchain@master
36+
with:
37+
toolchain: nightly-2025-09-01
3438
- name: Installing HHVM deps and building HHVM
3539
uses: docker://ubuntu:noble
3640
env:

ci/ubuntu-24.04-noble/debian/rules

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ 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+
-DRUSTC_EXECUTABLE=$(which rustc) \
17+
-DCARGO_EXECUTABLE=$(which cargo) \
1618
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
1719
-DCLANG_FORCE_LIBCPP=On \
1820
-DFORCE_BUNDLED_LZ4=Off \

0 commit comments

Comments
 (0)