File tree Expand file tree Collapse file tree 2 files changed +17
-3
lines changed Expand file tree Collapse file tree 2 files changed +17
-3
lines changed Original file line number Diff line number Diff line change 52
52
# `llvm-14-tools` is needed to install the `FileCheck` binary which is used for asm tests.
53
53
run : sudo apt-get install ninja-build ripgrep llvm-14-tools llvm libstdc++6
54
54
55
- - run : g++ -v
56
-
57
- - run : find / -name libstdc++.so | true
55
+ - run : find / -name libstdc++.so 2> /dev/null | true
58
56
59
57
- name : Install rustfmt & clippy
60
58
run : rustup component add rustfmt clippy
67
65
sudo dpkg --force-overwrite -i ${{ matrix.libgccjit_version.gcc }}
68
66
echo 'gcc-path = "/usr/lib/"' > config.toml
69
67
68
+ - name : Install libstdc++
69
+ run : sudo apt-get --reinstall install libstdc++6
70
+
71
+ - run : find / -name libstdc++.so 2> /dev/null | true
72
+
73
+ - run : g++ -v
74
+
75
+ - run : cc tests/main.cpp -o main -lstdc++
76
+ - run : cc tests/main.cpp -o main
77
+
70
78
- name : Set env
71
79
run : |
72
80
echo "workspace="$GITHUB_WORKSPACE >> $GITHUB_ENV
Original file line number Diff line number Diff line change
1
+ #include < iostream>
2
+
3
+ int main () {
4
+ std::cout << " Hello, world!\n " ;
5
+ return 0 ;
6
+ }
You can’t perform that action at this time.
0 commit comments