Raise ValueError in dio_tcsetattr + CS #19
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Test | |
on: [push, pull_request] | |
jobs: | |
ubuntu: | |
strategy: | |
matrix: | |
version: ['8.0', '8.1', '8.2', '8.3'] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout dio | |
uses: actions/checkout@v2 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{matrix.version}} | |
- name: phpize | |
run: phpize | |
- name: configure | |
run: ./configure --enable-dio | |
- name: make | |
run: make | |
- name: test | |
run: make test TESTS=tests | |
windows: | |
defaults: | |
run: | |
shell: cmd | |
strategy: | |
matrix: | |
version: ['8.0', '8.1'] | |
arch: [x64] | |
ts: [ts] | |
runs-on: windows-latest | |
steps: | |
- name: Checkout dio | |
uses: actions/checkout@v2 | |
- name: Setup PHP | |
id: setup-php | |
uses: cmb69/[email protected] | |
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-dio --with-prefix=${{steps.setup-php.outputs.prefix}} | |
- name: make | |
run: nmake | |
- name: test | |
run: nmake test TESTS=tests |