Skip to content

Commit 08789af

Browse files
committed
HZG-188 git bisect reproducer
1 parent a48374e commit 08789af

File tree

72 files changed

+124
-40122
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+124
-40122
lines changed

.github/workflows/git-bisect.yml

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
name: Git Bisect Test
2+
on:
3+
4+
# automatic on every pull request
5+
pull_request:
6+
7+
env:
8+
boost_version: 1.78.0
9+
boost_archive_name: 'boost_1_78_0.tar.gz'
10+
boost_folder_name: 'boost_1_78_0'
11+
boost_include_folder: 'C:\Boost\include\boost-1_78'
12+
boost_url: 'https://archives.boost.io/release/1.78.0/source/boost_1_78_0.tar.gz'
13+
thrift_version: 0.13.0
14+
run_tests: false
15+
16+
jobs:
17+
# get
18+
get-refs:
19+
name: Get Refs
20+
runs-on: ubuntu-latest
21+
outputs:
22+
ref: ${{ steps.get-refs.outputs.ref }}
23+
merged-ref: ${{ steps.get-refs.outputs.merged-ref }}
24+
25+
steps:
26+
- name: Get Refs
27+
id: get-refs
28+
shell: bash
29+
run: |
30+
echo "EVENT: ${{ github.event_name }}"
31+
if [ "${{ github.event_name }}" == "workflow_dispatch" ]; then
32+
echo "PR_NUMBER: ${{ inputs.pr_number }}"
33+
echo "PR_COMMIT: ${{ inputs.pr_commit }}"
34+
echo "ref=refs/pull/${{ inputs.pr_number }}/merge" >> $GITHUB_OUTPUT
35+
echo "merged-ref=${{ inputs.pr_commit }}" >> $GITHUB_OUTPUT
36+
else
37+
echo "PR_NUMBER: ${{ github.event.pull_request.number }}"
38+
echo "ref=refs/pull/${{ github.event.pull_request.number }}/merge" >> $GITHUB_OUTPUT
39+
echo "merged-ref=''" >> $GITHUB_OUTPUT
40+
fi
41+
42+
Ubuntu-x86_64:
43+
needs: get-refs
44+
strategy:
45+
fail-fast: false
46+
matrix:
47+
48+
build_type:
49+
- type: Debug
50+
warn_as_err: ON
51+
- type: Release
52+
warn_as_err: OFF
53+
54+
shared_libs:
55+
- toggle: OFF
56+
name: Static
57+
- toggle: ON
58+
name: Shared
59+
60+
with_openssl:
61+
- toggle: OFF
62+
name: noSSL
63+
- toggle: ON
64+
name: SSL
65+
66+
runs-on: ubuntu-latest
67+
68+
name: ubuntu-x64-(${{ matrix.build_type.type }}, ${{ matrix.shared_libs.name }}, ${{ matrix.with_openssl.name }})
69+
steps:
70+
71+
- uses: actions/checkout@v4
72+
with:
73+
ref: ${{ needs.get-refs.outputs.ref }}
74+
token: ${{ secrets.GH_TOKEN }}
75+
76+
- uses: actions/checkout@v4
77+
with:
78+
repository: 'hazelcast/hazelcast'
79+
ref: 'e6ef7a8a874e445754bf6b9ab04056d812d993da'
80+
path: 'hazelcast-os'
81+
token: ${{ secrets.GH_TOKEN }}
82+
83+
- uses: ./.github/actions/build-test/ubuntu-x86_64
84+
with:
85+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
86+
BOOST_VERSION: ${{ env.boost_version }}
87+
THRIFT_VERSION: ${{ env.thrift_version }}
88+
WARN_AS_ERR: ${{ matrix.build_type.warn_as_err }}
89+
BUILD_TYPE: ${{ matrix.build_type.type }}
90+
SHARED_LIBS_TOGGLE: ${{ matrix.shared_libs.toggle }}
91+
OPENSSL_TOGGLE: ${{ matrix.with_openssl.toggle }}
92+
RUN_TESTS: ${{ env.run_tests }}
93+
HAZELCAST_ENTERPRISE_KEY: ${{ secrets.HAZELCAST_ENTERPRISE_KEY }}
94+
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
95+
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
96+
HZ_TEST_AWS_INSTANCE_PRIVATE_IP: ${{ secrets.HZ_TEST_AWS_INSTANCE_PRIVATE_IP }}

hazelcast/test/benchmark/CMakeLists.txt

Lines changed: 0 additions & 31 deletions
This file was deleted.

hazelcast/test/benchmark/README.md

Lines changed: 0 additions & 24 deletions
This file was deleted.

hazelcast/test/benchmark/hazelcast_benchmark.cpp

Lines changed: 0 additions & 65 deletions
This file was deleted.

hazelcast/test/src/CMakeLists.txt

Lines changed: 0 additions & 22 deletions
This file was deleted.

hazelcast/test/src/ClientTest.cpp

Lines changed: 0 additions & 149 deletions
This file was deleted.

0 commit comments

Comments
 (0)