File tree 3 files changed +4
-21
lines changed
3 files changed +4
-21
lines changed Original file line number Diff line number Diff line change 9
9
linux :
10
10
name : Linux
11
11
runs-on : ubuntu-20.04
12
- env :
13
- INSTALL_PREFIX : " /opt/smelibs"
14
- SUDO_CMD : " sudo"
15
- TARGET_TRIPLE : " x86_64-unknown-linux-gnu"
16
- PYTHON_EXE : " /usr/bin/python3"
17
- OS : " linux"
18
- CC : " clang"
19
- CXX : " clang++"
20
12
defaults :
21
13
run :
22
14
shell : bash
23
15
steps :
24
- - name : Add llvm repo for clang 18 & install
25
- run : |
26
- sudo wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
27
- sudo add-apt-repository "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-18 main"
28
- sudo apt update -yy
29
- sudo apt install -yy clang-18
30
- - name : Set clang version
31
- run : |
32
- sudo update-alternatives --remove-all clang || echo "nothing to remove"
33
- sudo update-alternatives --remove-all clang++ || echo "nothing to remove"
34
- sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-18 100
35
- sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-18 100
16
+ - uses : spatial-model-editor/setup-ci
36
17
- uses : actions/checkout@v4
37
18
- name : Build script
38
19
run : ./build.sh
Original file line number Diff line number Diff line change 1
1
repos :
2
2
- repo : https://github.com/pre-commit/pre-commit-hooks
3
- rev : v4.5 .0
3
+ rev : v4.6 .0
4
4
hooks :
5
5
- id : check-yaml
6
6
- id : end-of-file-fixer
Original file line number Diff line number Diff line change @@ -19,6 +19,8 @@ cmake --version
19
19
which python
20
20
python --version
21
21
22
+ exit
23
+
22
24
NPROCS=4
23
25
if [[ " $OS_TARGET " == " osx" ]]; then
24
26
NPROCS=3
You can’t perform that action at this time.
0 commit comments