Skip to content

Publish version 1.0.1 #52

Publish version 1.0.1

Publish version 1.0.1 #52

Workflow file for this run

name: Build and Test
on: [push, pull_request]
jobs:
build:
defaults:
run:
shell: cmd
strategy:
matrix:
version: ['7.4', '8.0', '8.1', '8.2']
arch: [x64]
ts: [ts]
runs-on: windows-2019
steps:
- name: Checkout jsonpath
uses: actions/checkout@v2
- name: Setup PHP
id: setup-php
uses: cmb69/setup-php-sdk@v0.6
with:
version: ${{matrix.version}}
arch: ${{matrix.arch}}
ts: ${{matrix.ts}}
- name: Enable Developer Command Prompt
uses: ilammy/msvc-dev-cmd@v1
with:
arch: ${{matrix.arch}}
toolset: ${{steps.setup-php.outputs.toolset}}
- name: phpize
run: phpize
- name: configure
run: configure --enable-jsonpath --with-prefix=${{steps.setup-php.outputs.prefix}}
- name: make
run: nmake
- name: test
run: nmake test TESTS="-j2 --show-diff -g FAIL,BORK,WARN,LEAK tests"