From d396785883953296812fbac6e55252e5140dbd22 Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Sun, 29 Sep 2024 19:29:15 +0200 Subject: [PATCH 1/4] Use caching for Windows CI --- .github/workflows/config.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/config.yml b/.github/workflows/config.yml index b16e9ce..ffac06a 100644 --- a/.github/workflows/config.yml +++ b/.github/workflows/config.yml @@ -50,11 +50,12 @@ jobs: uses: actions/checkout@v4 - name: Setup PHP id: setup-php - uses: php/setup-php-sdk@8d9e79bdbce494591e33d542377778613cfca59f + uses: php/setup-php-sdk@8be2b9c379918263e3ba057707fd14c2af66927c with: version: ${{matrix.version}} arch: ${{matrix.arch}} ts: ${{matrix.ts}} + cache: true - name: Enable Developer Command Prompt uses: ilammy/msvc-dev-cmd@v1 with: From efc3dfd4ae3d3812e75cfca4b52200bfe958f3c7 Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Sun, 29 Sep 2024 19:34:22 +0200 Subject: [PATCH 2/4] Drop AppVeyor CI --- appveyor.yml | 117 --------------------------------------------------- 1 file changed, 117 deletions(-) delete mode 100644 appveyor.yml diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index 5d414d8..0000000 --- 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 From c1ace73994a73d73baf6f31efda61b1b0da9c7a1 Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Sun, 29 Sep 2024 19:46:37 +0200 Subject: [PATCH 3/4] Add PHP 7.0 and 7.1 to the Windows GH matrix --- .github/workflows/config.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/config.yml b/.github/workflows/config.yml index ffac06a..f26324f 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,6 +44,8 @@ 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 From 6c4f934b4447bf27fd48f632c68ee644bbade3fd Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Mon, 30 Sep 2024 15:10:29 +0200 Subject: [PATCH 4/4] Use setup-php-sdk v0.10 --- .github/workflows/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/config.yml b/.github/workflows/config.yml index f26324f..065d801 100644 --- a/.github/workflows/config.yml +++ b/.github/workflows/config.yml @@ -52,7 +52,7 @@ jobs: uses: actions/checkout@v4 - name: Setup PHP id: setup-php - uses: php/setup-php-sdk@8be2b9c379918263e3ba057707fd14c2af66927c + uses: php/setup-php-sdk@v0.10 with: version: ${{matrix.version}} arch: ${{matrix.arch}}