Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 0 additions & 34 deletions .bazelci/presubmit.yml

This file was deleted.

11 changes: 6 additions & 5 deletions .github/workflows/presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ name: Distributed Point Functions

on:
push:
branches: [ "main" ]
branches: [ "master" ]
pull_request:
branches: [ "main" ]
branches: [ "master" ]

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
Expand All @@ -43,12 +43,13 @@ jobs:

- name: "Run `bazel build` (C++14)"
run: |
bazel build -c opt --cxxopt=-std=c++14 --host_cxxopt=-std=c++14 -- //... -//experiments/...
bazel --output_base $HOME/.cache/bazel/cpp14 build -c opt --cxxopt=-std=c++14 \
--host_cxxopt=-std=c++14 -- //... -//experiments/...

- name: "Run `bazel build` (C++17)"
run: |
bazel build -c opt --cxxopt=-std=c++17 --host_cxxopt=-std=c++17 //...
bazel --output_base $HOME/.cache/bazel/cpp17 build -c opt //...

- name: "Run `bazel test`"
run: |
bazel test -c opt --test_tag_filters=-benchmark //...
bazel --output_base $HOME/.cache/bazel/cpp17 test -c opt --test_tag_filters=-benchmark //...
Loading