X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=.github%2Fworkflows%2Fci.yml;h=04253c443a771a19a6364e3b2d968aa19b91a077;hp=0221ad8655275e73a2bc84d7a3d7ac9cdcfa1f8f;hb=22dcf8982ba84d62c319f4e386df99b62c165048;hpb=2648e31835b892343916ef6fd3bc968923d1b75d diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0221ad8..04253c4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,13 +11,15 @@ jobs: name: master-0 continue-on-error: true env: - PHP: master - enable_debug: yes - enable_zts: yes - enable_iconv: yes + PHP: "master" + enable_debug: "yes" + enable_zts: "yes" + enable_iconv: "yes" + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 - submodules: true + with: + submodules: true - name: Install run: | sudo apt-get install -y \ @@ -35,24 +37,26 @@ jobs: make -f scripts/ci/Makefile pecl PECL=m6w6/ext-raphf.git:raphf:master - name: Build run: | - make -f travis/pecl/Makefile ext PECL=http + make -f scripts/ci/Makefile ext PECL=http - name: Test run: | - make -f travis/pecl/Makefile test + make -f scripts/ci/Makefile test cur-none-0: name: cur-none-0 env: - PHP: 8.0 - with_http_libicu_dir: no - with_http_libidn_dir: no - with_http_libidn2_dir: no - with_http_libcurl_dir: no - with_http_libevent_dir: no - with_http_libbrotli_dir: no + PHP: "8.0" + with_http_libicu_dir: "no" + with_http_libidn_dir: "no" + with_http_libidn2_dir: "no" + with_http_libcurl_dir: "no" + with_http_libevent_dir: "no" + with_http_libbrotli_dir: "no" + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 - submodules: true + with: + submodules: true - name: Install run: | sudo apt-get install -y \ @@ -70,21 +74,23 @@ jobs: make -f scripts/ci/Makefile pecl PECL=m6w6/ext-raphf.git:raphf:master - name: Build run: | - make -f travis/pecl/Makefile ext PECL=http + make -f scripts/ci/Makefile ext PECL=http - name: Test run: | - make -f travis/pecl/Makefile test + make -f scripts/ci/Makefile test cur-dbg-zts-0: name: cur-dbg-zts-0 env: - PHP: 8.0 - enable_debug: yes - enable_zts: yes - enable_iconv: yes + PHP: "8.0" + enable_debug: "yes" + enable_zts: "yes" + enable_iconv: "yes" + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 - submodules: true + with: + submodules: true - name: Install run: | sudo apt-get install -y \ @@ -102,21 +108,23 @@ jobs: make -f scripts/ci/Makefile pecl PECL=m6w6/ext-raphf.git:raphf:master - name: Build run: | - make -f travis/pecl/Makefile ext PECL=http + make -f scripts/ci/Makefile ext PECL=http - name: Test run: | - make -f travis/pecl/Makefile test + make -f scripts/ci/Makefile test cur-dbg-zts-1: name: cur-dbg-zts-1 env: - PHP: 8.0 - enable_debug: no - enable_zts: yes - enable_iconv: yes + PHP: "8.0" + enable_debug: "no" + enable_zts: "yes" + enable_iconv: "yes" + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 - submodules: true + with: + submodules: true - name: Install run: | sudo apt-get install -y \ @@ -134,21 +142,23 @@ jobs: make -f scripts/ci/Makefile pecl PECL=m6w6/ext-raphf.git:raphf:master - name: Build run: | - make -f travis/pecl/Makefile ext PECL=http + make -f scripts/ci/Makefile ext PECL=http - name: Test run: | - make -f travis/pecl/Makefile test + make -f scripts/ci/Makefile test cur-dbg-zts-2: name: cur-dbg-zts-2 env: - PHP: 8.0 - enable_debug: yes - enable_zts: no - enable_iconv: yes + PHP: "8.0" + enable_debug: "yes" + enable_zts: "no" + enable_iconv: "yes" + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 - submodules: true + with: + submodules: true - name: Install run: | sudo apt-get install -y \ @@ -166,21 +176,23 @@ jobs: make -f scripts/ci/Makefile pecl PECL=m6w6/ext-raphf.git:raphf:master - name: Build run: | - make -f travis/pecl/Makefile ext PECL=http + make -f scripts/ci/Makefile ext PECL=http - name: Test run: | - make -f travis/pecl/Makefile test + make -f scripts/ci/Makefile test cur-dbg-zts-3: name: cur-dbg-zts-3 env: - PHP: 8.0 - enable_debug: no - enable_zts: no - enable_iconv: yes + PHP: "8.0" + enable_debug: "no" + enable_zts: "no" + enable_iconv: "yes" + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 - submodules: true + with: + submodules: true - name: Install run: | sudo apt-get install -y \ @@ -198,24 +210,26 @@ jobs: make -f scripts/ci/Makefile pecl PECL=m6w6/ext-raphf.git:raphf:master - name: Build run: | - make -f travis/pecl/Makefile ext PECL=http + make -f scripts/ci/Makefile ext PECL=http - name: Test run: | - make -f travis/pecl/Makefile test + make -f scripts/ci/Makefile test cur-cov-0: name: cur-cov-0 env: - CFLAGS: '-O0 -g --coverage' - CXXFLAGS: '-O0 -g --coverage' - PHP: 8.0 - enable_iconv: yes - with_http_libicu_dir: yes - with_http_libidn_dir: no - with_http_libidn2_dir: no + CFLAGS: "'-O0 -g --coverage'" + CXXFLAGS: "'-O0 -g --coverage'" + PHP: "8.0" + enable_iconv: "yes" + with_http_libicu_dir: "yes" + with_http_libidn_dir: "no" + with_http_libidn2_dir: "no" + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 - submodules: true + with: + submodules: true - name: Install run: | sudo apt-get install -y \ @@ -233,10 +247,10 @@ jobs: make -f scripts/ci/Makefile pecl PECL=m6w6/ext-raphf.git:raphf:master - name: Build run: | - make -f travis/pecl/Makefile ext PECL=http + make -f scripts/ci/Makefile ext PECL=http - name: Test run: | - make -f travis/pecl/Makefile test + make -f scripts/ci/Makefile test - name: Coverage if: success() run: | @@ -246,16 +260,18 @@ jobs: cur-cov-1: name: cur-cov-1 env: - CFLAGS: '-O0 -g --coverage' - CXXFLAGS: '-O0 -g --coverage' - PHP: 8.0 - enable_iconv: yes - with_http_libicu_dir: no - with_http_libidn_dir: yes - with_http_libidn2_dir: no + CFLAGS: "'-O0 -g --coverage'" + CXXFLAGS: "'-O0 -g --coverage'" + PHP: "8.0" + enable_iconv: "yes" + with_http_libicu_dir: "no" + with_http_libidn_dir: "yes" + with_http_libidn2_dir: "no" + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 - submodules: true + with: + submodules: true - name: Install run: | sudo apt-get install -y \ @@ -273,10 +289,10 @@ jobs: make -f scripts/ci/Makefile pecl PECL=m6w6/ext-raphf.git:raphf:master - name: Build run: | - make -f travis/pecl/Makefile ext PECL=http + make -f scripts/ci/Makefile ext PECL=http - name: Test run: | - make -f travis/pecl/Makefile test + make -f scripts/ci/Makefile test - name: Coverage if: success() run: | @@ -286,16 +302,18 @@ jobs: cur-cov-2: name: cur-cov-2 env: - CFLAGS: '-O0 -g --coverage' - CXXFLAGS: '-O0 -g --coverage' - PHP: 8.0 - enable_iconv: yes - with_http_libicu_dir: no - with_http_libidn_dir: no - with_http_libidn2_dir: yes + CFLAGS: "'-O0 -g --coverage'" + CXXFLAGS: "'-O0 -g --coverage'" + PHP: "8.0" + enable_iconv: "yes" + with_http_libicu_dir: "no" + with_http_libidn_dir: "no" + with_http_libidn2_dir: "yes" + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 - submodules: true + with: + submodules: true - name: Install run: | sudo apt-get install -y \ @@ -313,10 +331,10 @@ jobs: make -f scripts/ci/Makefile pecl PECL=m6w6/ext-raphf.git:raphf:master - name: Build run: | - make -f travis/pecl/Makefile ext PECL=http + make -f scripts/ci/Makefile ext PECL=http - name: Test run: | - make -f travis/pecl/Makefile test + make -f scripts/ci/Makefile test - name: Coverage if: success() run: |