Skip to content

Github actions

Github actions #5

Workflow file for this run

name: CI-OSX
on:
pull_request:
branches: [ "main", "develop" ]
jobs:
build:
runs-on: macos-latest
env:
TEST_TMPDIR: "/Users/runner/.cache/bazel"
steps:
- name: Set up Go 1.19
uses: actions/setup-go@v3
with:
go-version: 1.19
- name: Setup cmake
uses: jwlawson/actions-setup-cmake@v1.13
with:
cmake-version: '3.16.x'
- name: Setup bazelisk
uses: bazelbuild/setup-bazelisk@v2
- name: Mount bazel cache
uses: actions/cache@v3
with:
path: "/Users/runner/.cache/bazel"
key: bazel-osx
- name: Test
run: go test -v ./...