Skip to content

Update to latest internal version #289

Update to latest internal version

Update to latest internal version #289

Workflow file for this run

name: ci
on:
push:
branches: [copybara_staging]
pull_request:
branches: [master]
# Allows for manually triggering workflow runs.
workflow_dispatch:
# https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobs
jobs:
build-and-test:
runs-on: ubuntu-22.04
steps:
- name: Checkout the repo
uses: actions/checkout@v2
with:
path: ${{ env.WORKING_DIR }}
- name: Fetch dependencies
run: |
sudo apt-get -qq update
sudo apt-get install -y libelf-dev libssl-dev libcap-dev linux-tools-`uname -r`
git submodule update --init --recursive
- name: Update toolchain
run: |
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
sudo apt-get update
sudo apt-get install g++-12
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-12 1
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 1
- name: Build
run: bazel build //src:all //src/quipper:all
- name: Test
run: bazel test //src:all //src/quipper:all