Skip to content

Commit

Permalink
Update cmake-single-platform.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nyadla-sys authored Sep 17, 2023
1 parent 8a0c91d commit 74d41cd
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/cmake-single-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,17 @@ jobs:
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
run: |
cmake --version
cd ${{github.workspace}}/tflite_example
git clone https://github.com/tensorflow/tensorflow.git tensorflow_src
cp minimal.cc tensorflow_src/tensorflow/lite/examples/minimal/
cp *.h tensorflow_src/tensorflow/lite/examples/minimal/
mkdir minimal_build
cd minimal_build
cmake ../tensorflow_src/tensorflow/lite/examples/minimal
cmake --build . -j 8
apt-get install git-lfs
git lfs install
# cmake --version
# cd ${{github.workspace}}/tflite_example
# git clone https://github.com/tensorflow/tensorflow.git tensorflow_src
# cp minimal.cc tensorflow_src/tensorflow/lite/examples/minimal/
# cp *.h tensorflow_src/tensorflow/lite/examples/minimal/
# mkdir minimal_build
# cd minimal_build
# cmake ../tensorflow_src/tensorflow/lite/examples/minimal
# cmake --build . -j 8
- name: Test
working-directory: ${{github.workspace}}/tflite_example/minimal_build
Expand Down

0 comments on commit 74d41cd

Please sign in to comment.