File tree Expand file tree Collapse file tree 2 files changed +8
-10
lines changed Expand file tree Collapse file tree 2 files changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -10,21 +10,20 @@ jobs:
10
10
steps :
11
11
- uses : actions/checkout@v2
12
12
with :
13
- ref : ' sycl'
13
+ ref : sycl
14
14
path : repo
15
+ - uses : actions/checkout@v2
16
+ with :
17
+ repository : intel/llvm-docs
18
+ path : docs
15
19
- name : Install deps
16
20
run : sudo apt-get install -y doxygen graphviz ssh
17
21
- name : Build Docs
18
22
run : |
19
23
mkdir -p $GITHUB_WORKSPACE/build
20
24
cd $GITHUB_WORKSPACE/build
21
- cmake -DCMAKE_BUILD_TYPE=Release \
22
- -DLLVM_EXTERNAL_PROJECTS="llvm-spirv;sycl" \
23
- -DLLVM_ENABLE_PROJECTS="clang;llvm-spirv;sycl" \
24
- -DLLVM_EXTERNAL_SYCL_SOURCE_DIR=$GITHUB_WORKSPACE/repo/sycl \
25
- -DLLVM_EXTERNAL_LLVM_SPIRV_SOURCE_DIR=$GITHUB_WORKSPACE/repo/llvm-spirv \
26
- -DLLVM_ENABLE_DOXYGEN=ON \
27
- $GITHUB_WORKSPACE/repo/llvm
25
+ python $GITHUB_WORKSPACE/repo/buildbot/configure.py -w $GITHUB_WORKSPACE \
26
+ -s $GITHUB_WORKSPACE/repo -o $GITHUB_WORKSPACE/build -t Release
28
27
cmake --build . --target doxygen-sycl
29
28
- name : Deploy
30
29
env :
35
34
chmod 600 ~/.ssh/id_rsa
36
35
eval "$(ssh-agent -s)"
37
36
ssh-add -k ~/.ssh/id_rsa
38
- mkdir -p $GITHUB_WORKSPACE/docs
39
37
cd $GITHUB_WORKSPACE/docs
40
- git clone --single-branch --branch gh-pages [email protected] :intel/llvm-docs.git .
41
38
yes | \cp -rf $GITHUB_WORKSPACE/build/tools/sycl/doc/doxygen/html/* .
42
39
git config --global user.name "iclsrc"
43
40
git config --global user.email "[email protected] "
Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ def do_configure(args):
52
52
"-DSYCL_ENABLE_WERROR=ON" ,
53
53
"-DCMAKE_INSTALL_PREFIX={}" .format (install_dir ),
54
54
"-DSYCL_INCLUDE_TESTS=ON" , # Explicitly include all kinds of SYCL tests.
55
+ "-DLLVM_ENABLE_DOXYGEN=ON" ,
55
56
llvm_dir
56
57
]
57
58
You can’t perform that action at this time.
0 commit comments