Skip to content

Commit 85d8174

Browse files
committed
Inline bash script
1 parent e7d6837 commit 85d8174

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/unit-tests.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,13 @@ jobs:
4545

4646
- if: "matrix.os == 'ubuntu-20.04'"
4747
name: "Install gcc-10 (for c++20)"
48-
run: "sudo ${{github.workspace}}/tools/scripts/install-gcc-10.sh"
48+
run: |-
49+
apt-get update DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \
50+
g++-10 \
51+
gcc-10
52+
ln -s -f /usr/bin/gcc-10 /usr/bin/cc
53+
ln -s -f /usr/bin/g++-10 /usr/bin/c++
54+
ln -s -f /usr/bin/cpp-10 /usr/bin/cpp
4955
5056
- name: "Log tool versions"
5157
run: |-

0 commit comments

Comments
 (0)