# generated file; do not edit! name: ci on: workflow_dispatch: release: types: [published] pull_request: paths-ignore: - .dockerignore - .editorconfig - .gitignore - AUTHORS - CONTRIBUTING.md - CREDITS - Dockerfile - 'docs/**' - EXPERIMENTAL - gen_stub.php*.diff - LICENSE - README.md push: paths-ignore: - .dockerignore - .editorconfig - .gitignore - AUTHORS - CONTRIBUTING.md - CREDITS - Dockerfile - 'docs/**' - EXPERIMENTAL - gen_stub.php*.diff - LICENSE - README.md jobs: cur-0: name: "cur-0 (8.1)" env: PHP: "8.1" enable_intl: "yes" enable_debug: "yes" enable_zts: "yes" runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 with: submodules: recursive - name: Install run: | sudo apt-get install -y \ php-cli \ php-pear \ re2c - name: Prepare run: | make -f scripts/ci/Makefile php || make -f scripts/ci/Makefile clean php - name: Build run: | make -f scripts/ci/Makefile ext PECL=ion || true # no package.xml yet - name: Test run: | make -f scripts/ci/Makefile test cur-1: name: "cur-1 (8.1)" env: PHP: "8.1" enable_intl: "yes" enable_debug: "no" enable_zts: "yes" runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 with: submodules: recursive - name: Install run: | sudo apt-get install -y \ php-cli \ php-pear \ re2c - name: Prepare run: | make -f scripts/ci/Makefile php || make -f scripts/ci/Makefile clean php - name: Build run: | make -f scripts/ci/Makefile ext PECL=ion || true # no package.xml yet - name: Test run: | make -f scripts/ci/Makefile test cur-2: name: "cur-2 (8.1)" env: PHP: "8.1" enable_intl: "yes" enable_debug: "yes" enable_zts: "no" runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 with: submodules: recursive - name: Install run: | sudo apt-get install -y \ php-cli \ php-pear \ re2c - name: Prepare run: | make -f scripts/ci/Makefile php || make -f scripts/ci/Makefile clean php - name: Build run: | make -f scripts/ci/Makefile ext PECL=ion || true # no package.xml yet - name: Test run: | make -f scripts/ci/Makefile test cur-3: name: "cur-3 (8.1)" env: PHP: "8.1" enable_intl: "yes" enable_debug: "no" enable_zts: "no" runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 with: submodules: recursive - name: Install run: | sudo apt-get install -y \ php-cli \ php-pear \ re2c - name: Prepare run: | make -f scripts/ci/Makefile php || make -f scripts/ci/Makefile clean php - name: Build run: | make -f scripts/ci/Makefile ext PECL=ion || true # no package.xml yet - name: Test run: | make -f scripts/ci/Makefile test cur-cov-0: name: "cur-cov-0 (8.1)" env: CFLAGS: "-O0 -g --coverage" CXXFLAGS: "-O0 -g --coverage" PHP: "8.1" enable_intl: "yes" runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 with: submodules: recursive - name: Install run: | sudo apt-get install -y \ php-cli \ php-pear \ re2c - name: Prepare run: | make -f scripts/ci/Makefile php || make -f scripts/ci/Makefile clean php - name: Build run: | make -f scripts/ci/Makefile ext PECL=ion || true # no package.xml yet - name: Test run: | make -f scripts/ci/Makefile test - name: Coverage if: success() run: | find . -name '*.gc*' cd .libs curl -Os https://uploader.codecov.io/latest/linux/codecov chmod +x codecov ./codecov