Skip to content

Feature: Setup Cosmos CLI #7

Feature: Setup Cosmos CLI

Feature: Setup Cosmos CLI #7

Workflow file for this run

name: Build and Test Cosmos CLI
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 bazel https://github.com/bazelbuild/bazelisk/releases/latest/download/bazelisk-linux-amd64
chmod +x bazel
mkdir -p "$HOME/bin"
mv bazel "$HOME/bin/"
export PATH="$HOME/bin:$PATH"
bazel --version
- name: Install Dependencies
run: |
sudo apt-get update
sudo apt-get install -y g++
- name: Build and Test
run: |
./tools/build.sh