Skip to content

Commit f436db6

Browse files
committed
GHA: testing.
1 parent 8efea15 commit f436db6

1 file changed

Lines changed: 17 additions & 11 deletions

File tree

.github/workflows/buildThirdPartyLibrary.yml

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -67,18 +67,24 @@ jobs:
6767
uses: cscouto/buildcache-action@v1
6868
with:
6969
cache_key: libraries-${{ matrix.os }}-${{ matrix.shared_libs }}
70-
- name: Configure libOpenCOR
71-
shell: bash
72-
run: |
73-
mkdir build
74-
cd build
75-
cmake -G Ninja -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DTARGET_ARCHITECTURE=${{ matrix.target_architecture }} -DBUILD_TYPE=${{ matrix.build_type }} -DONLY_BUILD_THIRD_PARTY_LIBRARIES=ON -DPREBUILT_${{ inputs.third_party_library_name }}=OFF ${{ env.DLLVMCLANG_LLVM_TABLEGEN }} ${{ env.DLLVMCLANG_CLANG_TABLEGEN }} ..
76-
- name: Upload library artifact
77-
if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
78-
uses: actions/upload-artifact@v4
70+
- name: Install LLVM+Clang
71+
uses: KyleMayes/install-llvm-action@v2
7972
with:
80-
name: ${{ matrix.name }}
81-
path: ./build/*.tar.gz
73+
version: 18
74+
- name: Check the version of Clang
75+
run: clang --version
76+
# - name: Configure libOpenCOR
77+
# shell: bash
78+
# run: |
79+
# mkdir build
80+
# cd build
81+
# cmake -G Ninja -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DTARGET_ARCHITECTURE=${{ matrix.target_architecture }} -DBUILD_TYPE=${{ matrix.build_type }} -DONLY_BUILD_THIRD_PARTY_LIBRARIES=ON -DPREBUILT_${{ inputs.third_party_library_name }}=OFF ${{ env.DLLVMCLANG_LLVM_TABLEGEN }} ${{ env.DLLVMCLANG_CLANG_TABLEGEN }} ..
82+
# - name: Upload library artifact
83+
# if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
84+
# uses: actions/upload-artifact@v4
85+
# with:
86+
# name: ${{ matrix.name }}
87+
# path: ./build/*.tar.gz
8288
webassembly:
8389
name: WebAssembly
8490
if: ${{ inputs.wasm_support }}

0 commit comments

Comments
 (0)