Skip to content

Commit 98d230e

Browse files
authored
[CI] Remove Tensorflow leftovers (#230)
1 parent a2c15e1 commit 98d230e

1 file changed

Lines changed: 1 addition & 17 deletions

File tree

.github/workflows/static-analysis.yml

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,6 @@ jobs:
1212
- name: Install prerequisites
1313
run: |
1414
sudo apt install clang libomp-dev
15-
- name: Download and extract TensorFlow
16-
run: |
17-
wget https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-linux-x86_64-2.7.0.tar.gz
18-
tar -xzvf libtensorflow-cpu-linux-x86_64-2.7.0.tar.gz
19-
- name: Set TensorFlow environment variables
20-
run: |
21-
echo "TensorFlow_INCLUDE_DIRS=${PWD}/include" >> $GITHUB_ENV
22-
echo "TensorFlow_LIBRARIES=${PWD}/lib/libtensorflow.so" >> $GITHUB_ENV
23-
echo "export TensorFlow_INCLUDE_DIRS=${PWD}/include" >> $GITHUB_ENV
24-
echo "export TensorFlow_LIBRARIES=${PWD}/lib/libtensorflow.so" >> $GITHUB_ENV
25-
- name: Display TensorFlow environment variables
26-
run: |
27-
echo "TensorFlow_INCLUDE_DIRS: ${{ env.TensorFlow_INCLUDE_DIRS }}"
28-
echo "TensorFlow_LIBRARIES: ${{ env.TensorFlow_LIBRARIES }}"
2915
- name: Setup ccache
3016
uses: hendrikmuhs/ccache-action@v1.2
3117
with:
@@ -37,9 +23,7 @@ jobs:
3723
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
3824
-DCMAKE_C_COMPILER=clang \
3925
-DCMAKE_CXX_COMPILER=clang++ \
40-
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
41-
-DTensorFlow_INCLUDE_DIRS=$TensorFlow_INCLUDE_DIRS \
42-
-DTensorFlow_LIBRARIES=$TensorFlow_LIBRARIES
26+
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON
4327
cmake --build build --parallel
4428
- name: Run clang-tidy
4529
run: |

0 commit comments

Comments
 (0)