File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed
Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change 4040 clang-format --version
4141 cd test && make style_check
4242
43+ build-error-check-on-32bit :
44+ runs-on : ubuntu-latest
45+ if : >
46+ (github.event_name == 'push') ||
47+ (github.event_name == 'pull_request' &&
48+ github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name) ||
49+ (github.event_name == 'workflow_dispatch' && github.event.inputs.test_linux == 'true')
50+ strategy :
51+ matrix :
52+ config :
53+ - arch_flags : -m32
54+ arch_suffix : :i386
55+ name : (32-bit)
56+ steps :
57+ - name : checkout
58+ uses : actions/checkout@v4
59+ - name : install libraries
60+ run : |
61+ sudo dpkg --add-architecture i386
62+ sudo apt-get update
63+ sudo apt-get install -y libc6-dev${{ matrix.config.arch_suffix }} libstdc++-13-dev${{ matrix.config.arch_suffix }} \
64+ libssl-dev${{ matrix.config.arch_suffix }} libcurl4-openssl-dev${{ matrix.config.arch_suffix }} \
65+ zlib1g-dev${{ matrix.config.arch_suffix }} libbrotli-dev${{ matrix.config.arch_suffix }} \
66+ libzstd-dev${{ matrix.config.arch_suffix }}
67+ - name : build and run tests (expect failure)
68+ run : cd test && make test EXTRA_CXXFLAGS="${{ matrix.config.arch_flags }}"
69+ continue-on-error : true
70+
4371 ubuntu :
4472 runs-on : ubuntu-latest
4573 if : >
You can’t perform that action at this time.
0 commit comments