|
20 | 20 | steps: |
21 | 21 | - name: Install Dependencies for Ubuntu |
22 | 22 | # git >= 2.18 required for actions/checkout git support |
23 | | - run: apt-get update && apt-get install -y software-properties-common && add-apt-repository -y ppa:git-core/ppa && apt-get update && apt-get install -y git build-essential clang-8 lld-8 libssl-dev libkrb5-dev libc++-dev wget |
| 23 | + run: apt-get update && apt-get install -y software-properties-common && add-apt-repository -y ppa:git-core/ppa && apt-get update && apt-get install -y git build-essential clang libssl-dev libkrb5-dev libc++-dev wget |
24 | 24 | env: |
25 | 25 | ACTIONS_ALLOW_UNSECURE_COMMANDS: true |
26 | 26 |
|
|
29 | 29 | CC: clang |
30 | 30 | CXX: clang++ |
31 | 31 | run: | |
32 | | - update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-8 100 |
33 | | - update-alternatives --install /usr/bin/clang clang /usr/bin/clang-8 100 |
34 | | - update-alternatives --install /usr/bin/ld ld /usr/bin/lld-8 100 |
35 | 32 | mkdir ~/python |
36 | 33 | cd ~/python |
37 | 34 | wget https://www.python.org/ftp/python/3.6.15/Python-3.6.15.tgz |
@@ -68,17 +65,10 @@ jobs: |
68 | 65 | CXX: clang++ |
69 | 66 | npm_config_clang: 1 |
70 | 67 | GYP_DEFINES: use_obsolete_asm=true |
71 | | - AR: "/usr/lib/llvm-8/bin/llvm-ar" |
72 | | - NM: "/usr/lib/llvm-8/bin/llvm-nm" |
73 | | - # ranlib is not needed, and doesn't support .bc files in .a |
74 | | - RANLIB: /bin/true |
75 | 68 | # There is a race condition in node/generate that needs to be fixed |
76 | 69 | # Node 16 changed the logic it uses to select it's UID which means to make node run as root and not 1001, we need to chwon the current directory. More Details: |
77 | 70 | # https://stackoverflow.com/questions/70298238/getting-eaccess-when-running-npm-8-as-root |
78 | 71 | run: | |
79 | | - update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-8 100 |
80 | | - update-alternatives --install /usr/bin/clang clang /usr/bin/clang-8 100 |
81 | | - update-alternatives --install /usr/bin/ld ld /usr/bin/lld-8 100 |
82 | 72 | chown root.root -R . |
83 | 73 | npm set unsafe-perm true |
84 | 74 | node utils/retry npm install |
|
0 commit comments