From f1aed54162c60ffcd4049436d465edd2167d0bc8 Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Mon, 30 Sep 2024 22:14:24 +0200 Subject: [PATCH] Use caching for Windows CI and add PHP 7.0/7.1 to matrix (#528) --- .github/workflows/config.yml | 7 ++- appveyor.yml | 117 ----------------------------------- 2 files changed, 5 insertions(+), 119 deletions(-) delete mode 100644 appveyor.yml diff --git a/.github/workflows/config.yml b/.github/workflows/config.yml index b16e9ce8..065d8018 100644 --- a/.github/workflows/config.yml +++ b/.github/workflows/config.yml @@ -31,7 +31,7 @@ jobs: shell: cmd strategy: matrix: - version: ["7.2", "7.3", "7.4", "8.0", "8.1", "8.2", "8.3", "8.4"] + version: ["7.0", "7.1", "7.2", "7.3", "7.4", "8.0", "8.1", "8.2", "8.3", "8.4"] arch: [x64] ts: [nts, ts] os: [windows-2019, windows-2022] @@ -44,17 +44,20 @@ jobs: - { os: windows-2022, version: "7.4" } - { os: windows-2022, version: "7.3" } - { os: windows-2022, version: "7.2" } + - { os: windows-2022, version: "7.1" } + - { os: windows-2022, version: "7.0" } runs-on: ${{matrix.os}} steps: - name: Checkout apcu uses: actions/checkout@v4 - name: Setup PHP id: setup-php - uses: php/setup-php-sdk@8d9e79bdbce494591e33d542377778613cfca59f + uses: php/setup-php-sdk@v0.10 with: version: ${{matrix.version}} arch: ${{matrix.arch}} ts: ${{matrix.ts}} + cache: true - name: Enable Developer Command Prompt uses: ilammy/msvc-dev-cmd@v1 with: diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index 5d414d8b..00000000 --- a/appveyor.yml +++ /dev/null @@ -1,117 +0,0 @@ -version: "{branch}.build.{build}" -skip_tags: true - -branches: - only: - - master - -clone_folder: c:\projects\apcu - -install: - ps: .appveyor\install.ps1 - -cache: - c:\build-cache -> appveyor.yml, .appveyor\install.ps1 - -environment: - BIN_SDK_VER: 2.2.0 - matrix: - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 - ARCH: x64 - VC: vc14 - PHP_VER: 7.0 - TS: 0 - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 - ARCH: x64 - VC: vc14 - PHP_VER: 7.1 - TS: 0 - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 - ARCH: x64 - VC: vc15 - PHP_VER: 7.2 - TS: 0 - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 - ARCH: x64 - VC: vc15 - PHP_VER: 7.2 - TS: 1 - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 - ARCH: x86 - VC: vc15 - PHP_VER: 7.2 - TS: 0 - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 - ARCH: x86 - VC: vc15 - PHP_VER: 7.2 - TS: 1 - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 - ARCH: x64 - VC: vc15 - PHP_VER: 7.3 - TS: 0 - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 - ARCH: x64 - VC: vc15 - PHP_VER: 7.3 - TS: 1 - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 - ARCH: x86 - VC: vc15 - PHP_VER: 7.3 - TS: 0 - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 - ARCH: x86 - VC: vc15 - PHP_VER: 7.3 - TS: 1 - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 - ARCH: x64 - VC: vc15 - PHP_VER: 7.4 - TS: 0 - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 - ARCH: x64 - VC: vc15 - PHP_VER: 7.4 - TS: 1 - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 - ARCH: x86 - VC: vc15 - PHP_VER: 7.4 - TS: 0 - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 - ARCH: x86 - VC: vc15 - PHP_VER: 7.4 - TS: 1 - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 - ARCH: x64 - VC: vs16 - PHP_VER: 8.0 - TS: 0 - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 - ARCH: x64 - VC: vs16 - PHP_VER: 8.0 - TS: 1 - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 - ARCH: x86 - VC: vs16 - PHP_VER: 8.0 - TS: 0 - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 - ARCH: x86 - VC: vs16 - PHP_VER: 8.0 - TS: 1 - -build_script: - ps: .appveyor\build.ps1 - -after_build: - ps: .appveyor\package.ps1 - -test_script: - ps: .appveyor\test.ps1