Joshua Haberman
a8bc4ca4a3
Fixed Bazel 4.1.0 compatibility, and added a GitHub Action to verify.
...
This will help ensure that we remain compatible with old Bazel versions per the policy here: https://opensource.google/documentation/policies/cplusplus-support
PiperOrigin-RevId: 473884285
2 years ago
Joshua Haberman
682b519aac
Fixed GitHub Actions tests for pull requests that come from other repos.
...
Previously GitHub Actions would fail if they did not have access to
repository secrets. The code attempted to have graceful fallback, but
the graceful fallback was not working properly.
This PR fixes the graceful fallback:
- Bazel tests will use read-only caching instead of read-write.
- We unfortunately need to skip the Python wheel tests, as they require
our private Docker image to run.
2 years ago
Joshua Haberman
12efc9b096
Make PR tests succeed for external contributors.
...
The cross-compiling Python tests rely on our non-public Docker image, so disable those tests if the PR is coming from an external contributor (otherwise the jobs will fail).
Also modified the Bazel tests to use a read-only cache for external contributors.
PiperOrigin-RevId: 449321283
3 years ago
Joshua Haberman
d14fee420c
Enable Bazel caching in GCS.
...
PiperOrigin-RevId: 446718586
3 years ago
Joshua Haberman
283451a9f3
Run "apt update" before "apt install".
3 years ago
Joshua Haberman
dbd5dbed46
Fixed pointer tagging on 32-bit builds.
3 years ago
Joshua Haberman
1d2193ba61
ubsan apparently requires libunwind-dev.
3 years ago
Joshua Haberman
826eca6742
Enabled ubsan tests and fixed ubsan failures.
3 years ago
Joshua Haberman
c22cff01e8
Restored Bazel tests.
...
I accdentally replaced the bazel tests with clang-format tests.
3 years ago
Joshua Haberman
be7dfeba6b
Added GitHub Action to test for clang-format.
3 years ago
Joshua Haberman
1258c61138
Exclude all Python tests from ASAN at the moment.
...
I would like to enabled ASAN here, but it is tricky to do so.
3 years ago
Joshua Haberman
5815be9ae6
Reverted GitHub Actions changes.
3 years ago
Joshua Haberman
14f696fad6
Install Valgrind (attempt #2 ).
3 years ago
Joshua Haberman
55e3f89098
Install Valgrind.
3 years ago
Joshua Haberman
2734519115
Temporarily change GitHub Actions to use Valgrind, to debug CI-only failures.
3 years ago
Joshua Haberman
d2e408ebc4
Removed fail-fast, so we get information about all failures.
3 years ago
Joshua Haberman
ec7d8e69da
Updated branch for GitHub Actions master -> main.
3 years ago
Joshua Haberman
41590d24b0
Disabled Valgrind test for CI, we'll be using ASAN instead.
3 years ago
Joshua Haberman
bd8ab9c742
Need install Valgrind.
3 years ago
Joshua Haberman
7183780b60
Added a Valgrind test that works for Python!
3 years ago
Joshua Haberman
f4fc2c3c4a
Run in venv part 2.
3 years ago
Joshua Haberman
206e5b9aad
Run Python tests under a venv.
3 years ago
Joshua Haberman
c8e4cf7341
Output errors from Bazel tests.
3 years ago
Joshua Haberman
f80d2d9406
Switch exclusion from '...' to 'all'.
3 years ago
Joshua Haberman
b5b2bbaf53
Exclude Python test from asan.
3 years ago
Joshua Haberman
7f72ff0c2e
Another try at fixing YAML syntax.
3 years ago
Joshua Haberman
4a3b2148a1
Fixed YAML syntax.
3 years ago
Joshua Haberman
71a49717c8
Add macOS and GCC tests.
3 years ago
Joshua Haberman
ef0f5a9906
Ditch Docker for now, since pull requests don't have access to secrets.
3 years ago
Joshua Haberman
972228240c
Configure Docker.
3 years ago
Joshua Haberman
6967a1b098
Run tests under Docker.
3 years ago
Joshua Haberman
78056d579f
Try omitting path.
3 years ago
Joshua Haberman
adaa66cd6e
Add command to checkout upb.
3 years ago
Joshua Haberman
b972fa0a39
Run existing Kokoro tests on GitHub Actions.
3 years ago
Joshua Haberman
ef86edc4b4
Experiment with GitHub Actions: log in to gcloud.
3 years ago