mirror of
https://github.com/smarty-php/smarty.git
synced 2025-07-31 08:27:14 +02:00
Update a workflow file for GitHub Actions to test on Windows (#1046)
This commit is contained in:
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@ -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
|
||||||
|
Reference in New Issue
Block a user