Skip to content

Commit

Permalink
Remove manylinux container from CI (#670)
Browse files Browse the repository at this point in the history
* Remove manylinux container from CI

* Add `pip install numpy`

* Update checkout action
  • Loading branch information
Tombana authored Jun 24, 2021
1 parent d7db21a commit ef32e8f
Showing 1 changed file with 9 additions and 14 deletions.
23 changes: 9 additions & 14 deletions .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,26 +10,21 @@ jobs:
TFLite:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci-skip')"
container:
image: tensorflow/tensorflow:2.2.0-custom-op-ubuntu16

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
with:
submodules: true
- name: Install Bazelisk
run: |
curl -L https://github.com/bazelbuild/bazelisk/releases/download/v1.7.4/bazelisk-linux-amd64 > bazelisk
chmod +x bazelisk
fetch-depth: 0
- uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Configure Bazel
run: ./configure.py
shell: bash
env:
MANYLINUX2010: 1
# CC unit tests needs to run after the configure is finished
# since the CC builds rely on compiler options generated by configure.
- name: Run TFLite Ops and Core CC Unit Tests
run: ./bazelisk test larq_compute_engine/tests:cc_tests --copt=-O2 --distinct_host_configuration=false --test_output=all
- name: Install pip dependencies
run: pip install numpy --no-cache-dir
- name: Run C++ Unit Tests
run: bazelisk test larq_compute_engine/tests:cc_tests --copt=-O2 --distinct_host_configuration=false --test_output=all
- name: Build TF Lite Static Library with Make
run: larq_compute_engine/tflite/build_make/build_lce.sh --native

Expand Down

0 comments on commit ef32e8f

Please sign in to comment.