Update README.md #350
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Bazel Compile | |
on: | |
[push,pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Cache | |
uses: actions/[email protected] | |
with: | |
path: | | |
/home/runner/.cache/bazel | |
/home/runner/.cache/bazelisk | |
key: bazel-${{ hashFiles('.bazelversion') }} | |
- name: Install Dependencies | |
run: sudo apt-get update && sudo apt-get install -y flex bison libssl-dev autoconf g++ libtool make cmake libz-dev locate gfortran | |
- name: Install Bazelisk | |
uses: tullyliu/[email protected] | |
- name: Build | |
run: bazelisk build //:all |