Skip to content

Commit

Permalink
debug python tests on newest curl
Browse files Browse the repository at this point in the history
  • Loading branch information
andarut committed Dec 17, 2023
1 parent 0aba9fb commit 56b4f7e
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ jobs:
strategy:
matrix:
include:
- os: buster # old curl
compiler: g++
cpp: 17
asan: off
ubsan: off
# - os: buster # old curl
# compiler: g++
# cpp: 17
# asan: off
# ubsan: off
- os: focal # new curl
compiler: clang++
cpp: 17
Expand Down Expand Up @@ -80,9 +80,9 @@ jobs:
run: docker exec kphp-build-container-${{matrix.os}} bash -c
"cmake -DCMAKE_CXX_COMPILER=${{matrix.compiler}} -DCMAKE_CXX_STANDARD=${{matrix.cpp}} -DADDRESS_SANITIZER=${{matrix.asan}} -DUNDEFINED_SANITIZER=${{matrix.ubsan}} -DPDO_DRIVER_MYSQL=ON -DPDO_DRIVER_PGSQL=ON -DPDO_LIBS_STATIC_LINKING=ON -S ${{env.kphp_root_dir}} -B ${{env.kphp_build_dir}} && make -C ${{env.kphp_build_dir}} -j$(nproc) all"

# - name: Run unit tests
# run: docker exec kphp-build-container-${{matrix.os}} bash -c
# "make -C ${{env.kphp_build_dir}} -j$(nproc) test"
- name: Run unit tests
run: docker exec kphp-build-container-${{matrix.os}} bash -c
"make -C ${{env.kphp_build_dir}} -j$(nproc) test"

- name: Compile PHP script
run: docker exec kphp-build-container-${{matrix.os}} bash -c
Expand All @@ -109,9 +109,9 @@ jobs:
with:
path: ${{runner.temp}}/_tmp/

# - name: Fail pipeline if python tests failed
# if: steps.python_tests.outcome == 'failure'
# run: exit 1
- name: Fail pipeline if python tests failed
if: steps.python_tests.outcome == 'failure'
run: exit 1

- name: Remove docker container
run: docker rm -f kphp-build-container-${{matrix.os}}
Expand Down

0 comments on commit 56b4f7e

Please sign in to comment.