-
Notifications
You must be signed in to change notification settings - Fork 15
32 lines (31 loc) · 1021 Bytes
/
ci.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: CI
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: "Checkout the sources"
uses: actions/checkout@v4
- name: "Setup Bazelisk"
uses: bazelbuild/setup-bazelisk@v2
- name: "Building //bazel:android-all"
run: bazel build //bazel:android-all --enable_bzlmod=false
- name: "Building //bazel:android-all with bzlmod"
run: bazel build //bazel:android-all --enable_bzlmod=true
integration-tests:
runs-on: ubuntu-latest
steps:
- name: "Checkout the sources"
uses: actions/checkout@v4
- name: "Setup Bazelisk"
uses: bazelbuild/setup-bazelisk@v2
- name: "Running integration tests"
working-directory: examples/simple
run: bazel test //:SparseArraySetTest --enable_bzlmod=false
- name: "Running integration tests with bzlmod"
working-directory: examples/simple
run: bazel test //:SparseArraySetTest --enable_bzlmod=true