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
69 changes: 0 additions & 69 deletions Dockerfile

This file was deleted.

2 changes: 1 addition & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ bazel_dep(
)
bazel_dep(
name = "abseil-cpp",
version = "20260107.0",
version = "20260526.0",
repo_name = "com_google_absl",
)
bazel_dep(
Expand Down
17 changes: 11 additions & 6 deletions cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
steps:
- name: 'gcr.io/cel-analysis/cel-cpp/ubuntu_floor@sha256:211a0c505b361d987b3d8b08a5144a84e62cb95edc3f897fe46d5cd3f556f79d'
- name: 'gcr.io/cel-analysis/cel-cpp/ubuntu_floor@sha256:fbcc9edb13aa855f435993bf12ec4fd59f8b72e7d715bbc4c72e7a2298f0bcc2'
args:
- '--output_base=/bazel' # This is mandatory to avoid steps accidently sharing data.
- 'test'
Expand All @@ -14,18 +14,23 @@ steps:
- '--local_ram_resources=HOST_RAM*.4'
- '--remote_cache=https://storage.googleapis.com/cel-cpp-remote-cache'
- '--google_default_credentials'
id: gcc-9
id: gcc-10
waitFor: ['-']
- name: 'gcr.io/cel-analysis/cel-cpp/ubuntu_floor@sha256:211a0c505b361d987b3d8b08a5144a84e62cb95edc3f897fe46d5cd3f556f79d'
- name: 'gcr.io/cel-analysis/cel-cpp/ubuntu_floor@sha256:fbcc9edb13aa855f435993bf12ec4fd59f8b72e7d715bbc4c72e7a2298f0bcc2'
env:
- 'CC=clang-11'
- 'CXX=clang++-11'
- 'CC=clang-14'
- 'CXX=clang++-14'
args:
- '--output_base=/bazel' # This is mandatory to avoid steps accidently sharing data.
- 'test'
- '...'
- '--enable_bzlmod'
- '--copt=-Wno-deprecated-declarations'
- '--copt=-Wno-unknown-warning-option'
# some older versions of clang (<16) complain about some template metaprogramming in
# absl in this release but otherwise it builds fine. Should be fixed in the next release.
# https://github.com/abseil/abseil-cpp/issues/2073
- '--copt=-Wno-invalid-partial-specialization'
- '--compilation_mode=fastbuild'
- '--test_output=errors'
- '--show_timestamps'
Expand All @@ -34,7 +39,7 @@ steps:
- '--local_ram_resources=HOST_RAM*.4'
- '--remote_cache=https://storage.googleapis.com/cel-cpp-remote-cache'
- '--google_default_credentials'
id: clang-11
id: clang-14
waitFor: ['-']
timeout: 1h
options:
Expand Down
10 changes: 5 additions & 5 deletions codelab/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
ARG DEBIAN_IMAGE="marketplace.gcr.io/google/debian11:latest"
FROM ${DEBIAN_IMAGE}
ARG UBUNTU_IMAGE="ubuntu:22.04"
FROM ${UBUNTU_IMAGE}

ARG BAZELISK_RELEASE="https://github.com/bazelbuild/bazelisk/releases/download/v1.25.0/bazelisk-amd64.deb"

RUN apt update && apt upgrade -y && apt install -y gcc-9 g++-9 clang-13 git curl bash openjdk-11-jdk-headless
RUN apt update && apt upgrade -y && apt install -y gcc-10 g++-10 clang-14 git curl bash openjdk-11-jdk-headless

RUN curl -L ${BAZELISK_RELEASE} > ./bazelisk.deb
RUN apt install ./bazelisk.deb

RUN git clone https://github.com/google/cel-cpp.git

ENV CXX=clang++-13
ENV CC=clang-13
ENV CXX=g++-10
ENV CC=gcc-10

WORKDIR /cel-cpp
# not generally recommended to cache the bazel build in the image,
Expand Down
Loading