Skip to content

Only Jit on parameters that is friendly to decode. #308

Only Jit on parameters that is friendly to decode.

Only Jit on parameters that is friendly to decode. #308

Workflow file for this run

name: ubuntu-bazel
on: [push]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Install bazelisk
run: |
curl -LO "https://github.com/bazelbuild/bazelisk/releases/download/v1.11.0/bazelisk-linux-amd64"
mkdir -p "${GITHUB_WORKSPACE}/bin/"
mv bazelisk-linux-amd64 "${GITHUB_WORKSPACE}/bin/bazel"
chmod +x "${GITHUB_WORKSPACE}/bin/bazel"
- name: Install Swift dependencies
run: |
sudo apt-get install clang libicu-dev
wget https://download.swift.org/swift-5.8.1-release/ubuntu2004/swift-5.8.1-RELEASE/swift-5.8.1-RELEASE-ubuntu20.04.tar.gz
tar xzf swift-5.8.1-RELEASE-ubuntu20.04.tar.gz
echo "$(pwd)/swift-5.8.1-RELEASE-ubuntu20.04/usr/bin" >> $GITHUB_PATH
- name: Setup clang
run: |
sudo apt -y install libpng-dev libjpeg-dev libatlas-base-dev libblas-dev libgsl-dev clang llvm libdispatch-dev libomp-dev liblinear-dev libfftw3-dev libtesseract-dev
./bazel/setup_clang.sh
echo "build --config=clang" >> "${GITHUB_WORKSPACE}/.bazelrc.local"
- name: Run tests
run: |
"${GITHUB_WORKSPACE}/bin/bazel" test //test:nnc