Skip to content

Commit af8012d

Browse files
committed
CD: some minor cleaning up.
1 parent 0ef631d commit af8012d

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

.github/workflows/cd.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
BUILDCACHE_COMPRESS_FORMAT: ZSTD
1515
BUILDCACHE_DEBUG: -1
1616
BUILDCACHE_LOG_FILE: ""
17-
DOXYGEN_VERSION: 1.9.3
17+
DOXYGEN_VERSION: 1_9_3
1818
steps:
1919
- name: Install CMake and Ninja
2020
uses: lukka/get-cmake@latest
@@ -24,21 +24,21 @@ jobs:
2424
cache_key: doxygen
2525
- name: Build Doxygen
2626
run: |
27-
export DOXYGEN_RELEASE=Release_${DOXYGEN_VERSION//./_}
27+
export DOXYGEN_RELEASE=Release_${{ env.DOXYGEN_VERSION }}
2828
wget https://github.com/doxygen/doxygen/archive/refs/tags/${DOXYGEN_RELEASE}.tar.gz -O - | tar -xz
2929
cd doxygen-${DOXYGEN_RELEASE}
3030
mkdir build
3131
cd build
3232
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release ..
3333
ninja
3434
cd bin
35-
tar -cz doxygen -f ${{github.workspace}}/doxygen.tar.gz
36-
ls -lh ${{github.workspace}}
35+
tar -cz doxygen -f ${{ github.workspace }}/doxygen.tar.gz
36+
ls -lh ${{ github.workspace }}
3737
- name: Upload Doxygen artifact
3838
uses: actions/upload-artifact@v4
3939
with:
4040
name: Doxygen
41-
path: ${{github.workspace}}/doxygen.tar.gz
41+
path: ${{ github.workspace }}/doxygen.tar.gz
4242
llvm-clang:
4343
name: LLVM+Clang tools
4444
runs-on: ubuntu-22.04
@@ -58,23 +58,23 @@ jobs:
5858
cache_key: llvmclang
5959
- name: Build LLVM+Clang
6060
run: |
61-
wget https://github.com/llvm/llvm-project/archive/refs/tags/llvmorg-${LLVMCLANG_VERSION}.tar.gz -O - | tar -xz
62-
cd llvm-project-llvmorg-${LLVMCLANG_VERSION}
61+
wget https://github.com/llvm/llvm-project/archive/refs/tags/llvmorg-${{ env.LLVMCLANG_VERSION }}.tar.gz -O - | tar -xz
62+
cd llvm-project-llvmorg-${{ env.LLVMCLANG_VERSION }}
6363
mkdir build
6464
cd build
6565
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra" -DLLVM_TARGETS_TO_BUILD=X86 ../llvm
6666
ninja
6767
cd bin
6868
\rm clang
69-
cp -p clang-${LLVMCLANG_MAJOR_VERSION} clang
70-
tar -cz clang -f ${{github.workspace}}/clang.tar.gz
71-
tar -cz clang-format -f ${{github.workspace}}/clang-format.tar.gz
72-
tar -cz clang-tidy -f ${{github.workspace}}/clang-tidy.tar.gz
73-
cd ../lib/clang/${LLVMCLANG_MAJOR_VERSION}
74-
tar -cz . -f ${{github.workspace}}/clang-include.tar.gz
75-
ls -lh ${{github.workspace}}
69+
cp -p clang-${{ env.LLVMCLANG_MAJOR_VERSION }} clang
70+
tar -cz clang -f ${{ github.workspace }}/clang.tar.gz
71+
tar -cz clang-format -f ${{ github.workspace }}/clang-format.tar.gz
72+
tar -cz clang-tidy -f ${{ github.workspace }}/clang-tidy.tar.gz
73+
cd ../lib/clang/${{ env.LLVMCLANG_MAJOR_VERSION }}
74+
tar -cz . -f ${{ github.workspace }}/clang-include.tar.gz
75+
ls -lh ${{ github.workspace }}
7676
- name: Upload LLVM+Clang tools artifact
7777
uses: actions/upload-artifact@v4
7878
with:
7979
name: LLVM+Clang tools
80-
path: ${{github.workspace}}/clang*.tar.gz
80+
path: ${{ github.workspace }}/clang*.tar.gz

0 commit comments

Comments
 (0)