Skip to content

Commit

Permalink
CI: build also on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
mhujer committed Jan 27, 2022
1 parent 5cc4e21 commit 16ae2ac
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,27 @@ jobs:
- run: composer validate --strict --no-check-lock

tests:
runs-on: ubuntu-latest
runs-on: ${{ matrix.operating-system }}

strategy:
fail-fast: false
matrix:
php: [ '5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1' ]
operating-system: [ ubuntu-latest ]
composer_flags: [ '' ]
include:
- php: '5.5'
composer_flags: '--prefer-lowest'
operating-system: ubuntu-latest
- php: '7.0'
composer_flags: '--prefer-lowest'
operating-system: ubuntu-latest
- php: '8.1'
operating-system: windows-latest

steps:
- name: Prepare git # see https://github.com/actions/checkout/issues/226#issue-606867805
run: git config --global core.autocrlf false && git config --global core.eol lf
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v2
with:
Expand Down

0 comments on commit 16ae2ac

Please sign in to comment.