|
31 | 31 | required: false
|
32 | 32 | type: string
|
33 | 33 | default: "no"
|
| 34 | + vmodule_expression: |
| 35 | + description: "Emit verbose dragonfly logs for modules, eg x=2,y=3" |
| 36 | + required: false |
| 37 | + type: string |
| 38 | + default: "" |
34 | 39 |
|
35 | 40 | jobs:
|
36 | 41 | build:
|
@@ -61,25 +66,28 @@ jobs:
|
61 | 66 | ulimit -a
|
62 | 67 | env
|
63 | 68 |
|
| 69 | + - name: Fetch release |
| 70 | + shell: bash |
| 71 | + if: ${{ inputs.use_release == 'yes' }} |
| 72 | + run: | |
| 73 | + mkdir "${GITHUB_WORKSPACE}"/build |
| 74 | + cd "${GITHUB_WORKSPACE}"/build |
| 75 | + wget -q https://github.com/dragonflydb/dragonfly/releases/latest/download/dragonfly-x86_64.tar.gz |
| 76 | + tar xf dragonfly-x86_64.tar.gz |
| 77 | + mv dragonfly-x86_64 dragonfly |
| 78 | + ls -l |
| 79 | +
|
64 | 80 | - name: Configure & Build
|
65 | 81 | shell: bash
|
| 82 | + if: ${{ inputs.use_release != 'yes' }} |
66 | 83 | run: |
|
67 |
| - if [[ "${{ inputs.use_release }}" == "yes" ]]; then |
68 |
| - mkdir "${GITHUB_WORKSPACE}"/build |
69 |
| - cd "${GITHUB_WORKSPACE}"/build |
70 |
| - wget -q https://github.com/dragonflydb/dragonfly/releases/latest/download/dragonfly-x86_64.tar.gz |
71 |
| - tar xf dragonfly-x86_64.tar.gz |
72 |
| - mv dragonfly-x86_64 dragonfly |
73 |
| - ls -l |
74 |
| - else |
75 |
| - # -no-pie to disable address randomization so we could symbolize stacktraces |
76 |
| - cmake -B ${GITHUB_WORKSPACE}/build -DCMAKE_BUILD_TYPE=${{matrix.build-type}} -GNinja \ |
77 |
| - -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DPRINT_STACKTRACES_ON_SIGNAL=ON \ |
78 |
| - -DCMAKE_CXX_FLAGS=-no-pie -DHELIO_STACK_CHECK:STRING=4096 |
79 |
| - cd ${GITHUB_WORKSPACE}/build && ninja dragonfly |
80 |
| - pwd |
81 |
| - ls -l .. |
82 |
| - fi |
| 84 | + # -no-pie to disable address randomization so we could symbolize stacktraces |
| 85 | + cmake -B ${GITHUB_WORKSPACE}/build -DCMAKE_BUILD_TYPE=${{matrix.build-type}} -GNinja \ |
| 86 | + -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DPRINT_STACKTRACES_ON_SIGNAL=ON \ |
| 87 | + -DCMAKE_CXX_FLAGS=-no-pie -DHELIO_STACK_CHECK:STRING=4096 |
| 88 | + cd ${GITHUB_WORKSPACE}/build && ninja dragonfly |
| 89 | + pwd |
| 90 | + ls -l .. |
83 | 91 |
|
84 | 92 | - name: Run tests on repeat
|
85 | 93 | uses: ./.github/actions/repeat
|
|
94 | 102 | count: ${{ inputs.count }}
|
95 | 103 | timeout: ${{ inputs.timeout }}
|
96 | 104 | epoll: ${{ inputs.epoll }}
|
| 105 | + vmodule_expression: ${{ inputs.vmodule_expression }} |
97 | 106 |
|
98 | 107 | - name: Upload logs on failure
|
99 | 108 | if: failure()
|
|
0 commit comments