|
5 | 5 | branches-ignore: |
6 | 6 | # Exclude the push event for exported diffs, because the CI for export |
7 | 7 | # should have been covered by GitHub Actions triggered by pull requests. |
8 | | - - 'export-D+' |
| 8 | + - "export-D+" |
9 | 9 | pull_request: |
10 | 10 |
|
11 | 11 | concurrency: |
|
25 | 25 | DEBIAN_FRONTEND: "noninteractive" |
26 | 26 |
|
27 | 27 | jobs: |
28 | | - build_ubuntu_focal_nightly: |
29 | | - runs-on: 8-core-ubuntu |
30 | | - container: |
31 | | - image: ubuntu:noble |
32 | | - env: |
33 | | - DISTRO: ubuntu-24.04-noble |
34 | | - IS_NIGHTLY: 1 |
35 | | - CLANG_VERSION: 18 |
| 28 | + build_ubuntu_noble_nightly: |
| 29 | + runs-on: ubuntu-latest |
36 | 30 | steps: |
37 | | - - 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 |
39 | | - - name: Making LLVM the default compiler |
40 | | - run: | |
41 | | - if [ -f /etc/alternatives/cc ] |
42 | | - then |
43 | | - update-alternatives --remove-all cc |
44 | | - fi |
45 | | -
|
46 | | - if [ -f /etc/alternatives/c++ ] |
47 | | - then |
48 | | - update-alternatives --remove-all c++ |
49 | | - fi |
50 | | -
|
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} |
55 | | - - name: Fetching HHVM and its submodules |
56 | | - uses: actions/checkout@v4 |
57 | | - with: |
58 | | - submodules: 'recursive' |
59 | | - - name: Installing HHVM deps and building HHVM |
60 | | - run: ci/bin/make-debianish-package |
61 | | - - name: Uploading artifacts |
62 | | - uses: actions/upload-artifact@v4 |
63 | | - with: |
64 | | - name: out-directory |
65 | | - path: ${{ env.OUT }} |
| 31 | + - name: Fetching HHVM and its submodules |
| 32 | + uses: actions/checkout@v4 |
| 33 | + with: |
| 34 | + submodules: "recursive" |
| 35 | + - name: Installing HHVM deps and building HHVM |
| 36 | + uses: docker://ubuntu:noble |
| 37 | + env: |
| 38 | + DISTRO: ubuntu-24.04-noble |
| 39 | + IS_NIGHTLY: 1 |
| 40 | + CLANG_VERSION: 18 |
| 41 | + with: |
| 42 | + entrypoint: /bin/bash |
| 43 | + args: ci/bin/make-debianish-package |
| 44 | + - name: Uploading artifacts |
| 45 | + uses: actions/upload-artifact@v4 |
| 46 | + with: |
| 47 | + name: out-directory |
| 48 | + path: ${{ env.OUT }} |
0 commit comments