Build everything and run unit tests on ARM in Buildkite.

PiperOrigin-RevId: 462228233
This commit is contained in:
Ayush Ranjan
2022-07-20 14:19:09 -07:00
committed by gVisor bot
parent 567444310c
commit be38a15c16
2 changed files with 18 additions and 1 deletions
+14 -1
View File
@@ -61,11 +61,19 @@ steps:
# Build everything.
- <<: *common
label: ":world_map: Build everything"
label: ":world_map: Build everything (AMD64)"
command: "make build OPTIONS=--build_tag_filters=-nogo TARGETS=//..."
agents:
arch: "amd64"
- <<: *common
label: ":world_map: Build everything (ARM64)"
commands:
- "make build OPTIONS=--build_tag_filters=-nogo TARGETS=//pkg/..."
- "make build OPTIONS=--build_tag_filters=-nogo TARGETS=//runsc/..."
agents:
arch: "arm64"
# Check that the Go branch builds. This is not technically required, as this build is maintained
# as a GitHub action in order to preserve this maintaince across forks. However, providing the
# action here may provide easier debuggability and diagnosis on failure.
@@ -151,6 +159,11 @@ steps:
agents:
cgroup: "v2"
arch: "amd64"
- <<: *common
label: ":test_tube: Unit tests (ARM64)"
command: make unit-tests
agents:
arch: "arm64"
- <<: *common
label: ":test_tube: Container tests (cgroupv1)"
command: make container-tests
+4
View File
@@ -25,6 +25,8 @@ namespace testing {
namespace {
#ifdef __x86_64__
void FixupHandler(int sig, siginfo_t* si, void* void_ctx) {
static unsigned int dataval = 0;
@@ -55,6 +57,8 @@ void BM_FaultSignalFixup(benchmark::State& state) {
BENCHMARK(BM_FaultSignalFixup)->UseRealTime();
#endif // __x86_64__
} // namespace
} // namespace testing