blob: 51e4d8b9c2f16c796f289c5b6b125820a26f29e4 (
plain)
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
name: Test Erlang Git Master
on:
schedule:
- cron: '0 2 * * *'
workflow_dispatch:
jobs:
test-erlang-git:
name: Test (Erlang Git Master)
runs-on: ubuntu-20.04
timeout-minutes: 120
steps:
- name: CHECKOUT REPOSITORY
uses: actions/checkout@v3
- name: MOUNT BAZEL CACHE
uses: actions/cache@v3.2.2
with:
path: "/home/runner/repo-cache/"
key: repo-cache
- name: CONFIGURE BAZEL
run: |
if [ -n "${{ secrets.BUILDBUDDY_API_KEY }}" ]; then
cat << EOF >> user.bazelrc
build:buildbuddy --remote_header=x-buildbuddy-api-key=${{ secrets.BUILDBUDDY_API_KEY }}
EOF
fi
cat << EOF >> user.bazelrc
build:buildbuddy --build_metadata=ROLE=CI
build:buildbuddy --build_metadata=VISIBILITY=PUBLIC
build:buildbuddy --repository_cache=/home/runner/repo-cache/
build:buildbuddy --color=yes
build:buildbuddy --disk_cache=
build:rbe --platforms=//bazel/platforms:erlang_linux_git_master_platform
EOF
bazelisk info release
#! - name: Setup tmate session
#! uses: mxschmitt/action-tmate@v3
- name: RUN TESTS
run: |
sudo sysctl -w net.ipv4.tcp_keepalive_time=60
sudo ethtool -K eth0 tso off gso off gro off tx off rx off lro off
bazelisk test //... \
--config=rbe \
--test_tag_filters=-mixed-version-cluster,-exclusive,-aws,-docker \
--build_tests_only \
--verbose_failures
|