Feature: Setup Cosmos CLI #1
Workflow file for this run
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: Build and Test C++ Project | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Install Bazelisk | |
run: | | |
# Install Bazelisk | |
curl -Lo /usr/local/bin/bazel https://github.com/bazelbuild/bazelisk/releases/latest/download/bazelisk-linux-amd64 | |
chmod +x /usr/local/bin/bazel | |
bazel --version | |
- name: Install Dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y g++ | |
- name: Build and Test | |
run: | | |
./tools/build.sh |