Update a workflow file for GitHub Actions to test on Windows (#1046)

This commit is contained in:
Atsushi Matsuo
2024-08-29 06:56:51 +09:00
committed by GitHub
parent c8f1853bfe
commit cb09fda90d

View File

@ -23,6 +23,7 @@ jobs:
matrix: matrix:
os: os:
- ubuntu-latest - ubuntu-latest
- windows-latest
php-version: php-version:
- "7.2" - "7.2"
@ -52,7 +53,7 @@ jobs:
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Override PHP ini values for JIT compiler - name: Override PHP ini values for JIT compiler
if: matrix.compiler == 'jit' if: matrix.compiler == 'jit'
@ -68,7 +69,7 @@ jobs:
- name: Cache Composer packages - name: Cache Composer packages
id: composer-cache id: composer-cache
uses: actions/cache@v3 uses: actions/cache@v4
with: with:
path: vendor path: vendor
key: v5r2-${{ runner.os }}-php-${{ matrix.php-version }}-${{ hashFiles('**/composer.lock') }} key: v5r2-${{ runner.os }}-php-${{ matrix.php-version }}-${{ hashFiles('**/composer.lock') }}
@ -76,7 +77,7 @@ jobs:
v5r1-${{ runner.os }}-php-${{ matrix.php-version }}- v5r1-${{ runner.os }}-php-${{ matrix.php-version }}-
- name: Install dependencies - name: Install dependencies
uses: php-actions/composer@v6 run: composer install
- name: Run make - name: Run make
run: make -B run: make -B