|
44 | 44 | matrix:
|
45 | 45 | runner: ["16-core-ubuntu"]
|
46 | 46 | type: ["debug", "release"]
|
| 47 | + link-type: ["shared", "static"] |
47 | 48 | defaults:
|
48 | 49 | run:
|
49 | 50 | shell: bash
|
|
57 | 58 | # it doesn't work
|
58 | 59 | run: git config --global --add safe.directory ${GITHUB_WORKSPACE}
|
59 | 60 |
|
60 |
| - - name: Make ${{ matrix.type }} Build |
| 61 | + - name: Make ${{ matrix.link-type }} - ${{ matrix.type }} Build |
| 62 | + if: ${{ matrix.link-type == 'static' }} |
61 | 63 | env:
|
62 | 64 | MAKEFLAGS: 'MAX_HIGH_MEM_JOBS=8 MAX_LINK_JOBS=4'
|
63 | 65 | run: |
|
|
73 | 75 | )
|
74 | 76 | make '${{ matrix.type }}'
|
75 | 77 |
|
| 78 | + - name: Make ${{ matrix.link-type }} - ${{ matrix.type }} Build |
| 79 | + if: ${{ matrix.link-type == 'shared' }} |
| 80 | + env: |
| 81 | + MAKEFLAGS: 'MAX_HIGH_MEM_JOBS=8 MAX_LINK_JOBS=4' |
| 82 | + run: | |
| 83 | + EXTRA_CMAKE_FLAGS=( |
| 84 | + "-DVELOX_ENABLE_BENCHMARKS=ON" |
| 85 | + "-DVELOX_ENABLE_ARROW=ON" |
| 86 | + "-DVELOX_ENABLE_PARQUET=ON" |
| 87 | + "-DVELOX_ENABLE_HDFS=ON" |
| 88 | + "-DVELOX_ENABLE_S3=ON" |
| 89 | + "-DVELOX_ENABLE_GCS=ON" |
| 90 | + "-DVELOX_ENABLE_ABFS=ON" |
| 91 | + "-DVELOX_ENABLE_REMOTE_FUNCTIONS=ON" |
| 92 | + "-DVELOX_MONO_LIBRARY=ON" |
| 93 | + "-DVELOX_BUILD_SHARED=ON" |
| 94 | + ) |
| 95 | + make '${{ matrix.type }}' |
| 96 | +
|
76 | 97 | - name: Log binary sizes
|
77 | 98 | run: |
|
78 | 99 | mkdir -p /tmp/metrics
|
@@ -110,8 +131,8 @@ jobs:
|
110 | 131 | CONBENCH_PROJECT_COMMIT: "${{ inputs.ref || github.sha }}"
|
111 | 132 | run: |
|
112 | 133 | ./scripts/build-metrics.py upload \
|
113 |
| - --build_type "${{ matrix.type }}" \ |
114 |
| - --run_id "BM-${{ matrix.type }}-${{ github.run_id }}-${{ github.run_attempt }}" \ |
| 134 | + --build_type "${{ matrix.link-type }}-${{ matrix.type }}" \ |
| 135 | + --run_id "BM-${{ matrix.link-type }}-${{ matrix.type }}-${{ github.run_id }}-${{ github.run_attempt }}" \ |
115 | 136 | --pr_number "${{ github.event.number }}" \
|
116 | 137 | --sha "${{ inputs.ref || github.sha }}" \
|
117 | 138 | "/tmp/metrics"
|
|
0 commit comments