Skip to content

Commit 2580ab3

Browse files
authored
Merge branch 'main' into feature/add-bootstrap-container
2 parents 12bc816 + d4cfe9c commit 2580ab3

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

.devcontainer/rust/devcontainer-metadata-vscode.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"extensions": [
88
99
10-
10+
1111
1212
1313
]

.github/workflows/ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,11 @@ permissions:
1515

1616
jobs:
1717
build-test:
18-
runs-on: ubuntu-latest
1918
strategy:
2019
matrix:
2120
flavor: ["cpp", "rust"]
21+
runner: ["ubuntu-latest", "ubuntu-24.04-arm"]
22+
runs-on: ${{ matrix.runner }}
2223
steps:
2324
# While the docker/build-push-action works from the Git context, we still need
2425
# the checkout step for running our tests.
@@ -31,7 +32,7 @@ jobs:
3132
file: .devcontainer/${{ matrix.flavor }}/Dockerfile
3233
load: true
3334
tags: ${{ github.repository }}-${{ matrix.flavor }}:test
34-
cache-from: type=gha,scope=${{ github.repository }}-${{ matrix.flavor }}
35+
cache-from: type=gha,scope=${{ github.repository }}-${{ matrix.flavor }}-${{ matrix.runner }}
3536
- uses: actions/cache/restore@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
3637
if: matrix.flavor == 'cpp'
3738
with:
@@ -42,11 +43,11 @@ jobs:
4243
- name: Run Tests
4344
run: |
4445
set -Eeuo pipefail
45-
docker run --rm --mount type=bind,src=/var/run/docker.sock,dst=/var/run/docker.sock --mount type=bind,src="${{ github.workspace }}/test/${{ matrix.flavor }}",dst=/ws -w /ws ${{ github.repository }}-${{ matrix.flavor }}:test bats --formatter junit integration-tests.bats | tee test-report-${{ matrix.flavor }}.xml
46+
docker run --rm --mount type=bind,src=/var/run/docker.sock,dst=/var/run/docker.sock --mount type=bind,src="${{ github.workspace }}/test/${{ matrix.flavor }}",dst=/ws -w /ws ${{ github.repository }}-${{ matrix.flavor }}:test bats --formatter junit integration-tests.bats | tee test-report-${{ matrix.flavor }}-${{ matrix.runner }}.xml
4647
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
4748
if: always()
4849
with:
49-
name: test-results-${{ matrix.flavor }}
50+
name: test-results-${{ matrix.flavor }}-${{ matrix.runner }}
5051
path: test-report-*.xml
5152
publish-test:
5253
runs-on: ubuntu-latest

test/cpp/workspace/clang-cl/toolchain.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ find_program(CMAKE_CXX_COMPILER NAMES clang-cl REQUIRED)
1919
find_program(CMAKE_AR NAMES llvm-lib REQUIRED)
2020

2121
add_compile_options(--target=x86_64-pc-windows-msvc -fuse-ld=lld /winsdkdir ${WINDOWS_SDK_ROOT}/sdk /vctoolsdir ${WINDOWS_SDK_ROOT}/crt)
22-
add_link_options(/manifest:no -libpath:${WINDOWS_SDK_ROOT}/sdk/lib/um/x64 -libpath:${WINDOWS_SDK_ROOT}/sdk/lib/ucrt/x64 -libpath:${WINDOWS_SDK_ROOT}/crt/lib/x64)
22+
add_link_options(/machine:x64 /manifest:no -libpath:${WINDOWS_SDK_ROOT}/sdk/lib/um/x64 -libpath:${WINDOWS_SDK_ROOT}/sdk/lib/ucrt/x64 -libpath:${WINDOWS_SDK_ROOT}/crt/lib/x64)
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
#include <cstdint>
2+
#include <cstdlib>
23

34
extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, std::size_t size)
45
{
56
if (size > 0 && data[0] == 'H')
67
if (size > 1 && data[1] == 'I')
7-
__builtin_trap();
8+
abort();
89

910
return 0;
1011
}

0 commit comments

Comments
 (0)