bug修复及功能支持 #353
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/cache@v2.1.2 | |
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/bazelisk-action@1.2 | |
- name: Build | |
run: bazelisk build //:all |