Skip to content

Remove obsolete check for value_type in DCF constructor #10

Remove obsolete check for value_type in DCF constructor

Remove obsolete check for value_type in DCF constructor #10

Workflow file for this run

# Copyright 2025 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: Distributed Point Functions
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on:
labels: ubuntu-24.04-64core
steps:
- name: Check out repository code
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # pin@v3
- name: Cache bazel build artifacts
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # [email protected]
with:
path: |
~/.cache/bazel
key: ${{ runner.os }}-${{ hashFiles('.bazelrc', 'MODULE.bazel.lock') }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-${{ hashFiles('.bazelrc', 'MODULE.bazel.lock') }}-
- name: "Run `bazel build` (C++14)"
run: |
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 --output_base $HOME/.cache/bazel/cpp17 build -c opt //...
- name: "Run `bazel test`"
run: |
bazel --output_base $HOME/.cache/bazel/cpp17 test -c opt --test_tag_filters=-benchmark //...