Skip to content

Commit

Permalink
ci: add github action
Browse files Browse the repository at this point in the history
  • Loading branch information
dieortin authored Feb 10, 2024
1 parent 00536a3 commit 80c7d23
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Continuous integration
on: [push, pull_request]
jobs:
build_tutorial:
runs-on: ubuntu-latest
steps:
- name: Download Bazelisk
run: sudo curl -Lo /usr/local/bin/bazel https://github.com/bazelbuild/bazelisk/releases/download/v1.19.0/bazelisk-linux-amd64

- name: Make Bazelisk executable
run: sudo chmod +x /usr/local/bin/bazel

- name: Verify Bazelisk installation
run: bazel --version

- name: Install OS library dependencies
run: sudo apt-get install -y libsasl2-dev libssl-dev libsnappy-dev libzstd-dev

- name: Check out repository
uses: actions/checkout@v4.1.1

- name: Build the tutorial target
run: bazel build :tutorial

0 comments on commit 80c7d23

Please sign in to comment.