File tree 1 file changed +11
-10
lines changed
1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change 13
13
submodules : ' true'
14
14
fetch-depth : ' 0'
15
15
16
+ - run : |
17
+ cmake \
18
+ --preset default --fresh \
19
+ -DCMAKE_BUILD_TYPE=Release \
20
+ -DSLANG_SLANG_LLVM_FLAVOR=DISABLE \
21
+ -DSLANG_EMBED_STDLIB=1 \
22
+ -G 'Unix Makefiles'
23
+
16
24
# build the binary in docker image
17
25
- name : Run the build process with Docker
18
26
uses : addnab/docker-run-action@v3
@@ -22,18 +30,11 @@ jobs:
22
30
run : |
23
31
source /opt/rh/devtoolset-9/enable
24
32
25
- wget https://cmake.org/files/v3.30/cmake-3.30.0.tar.gz
26
- yum install -y openssl-devel
27
- tar zxvf cmake-3.*
28
- cd cmake-3.*
29
- ./bootstrap --prefix=/usr/local
30
- make -j$(nproc)
31
- make install
32
-
33
33
cd /home/app
34
34
git config --global --add safe.directory /home/app
35
- cmake --preset default --fresh -DSLANG_SLANG_LLVM_FLAVOR=DISABLE -DSLANG_EMBED_STDLIB=1 -G 'Unix Makefiles'
36
- cmake --build --preset release -j
35
+
36
+ cd build
37
+ make -j$(nproc)
37
38
38
39
- name : Package Slang
39
40
id : package
You can’t perform that action at this time.
0 commit comments