We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27b24f3 commit 663ca66Copy full SHA for 663ca66
.github/workflows/c-cpp.yml
@@ -8,17 +8,21 @@ on:
8
9
jobs:
10
build:
11
-
12
- runs-on: ubuntu-latest
13
+ runs-on: ${{ matrix.os }}
+ strategy:
+ matrix:
14
+ os: [ ubuntu-16.04, ubuntu-latest ]
15
+ php: [ '7.4', '8.0' ]
16
steps:
17
- uses: actions/checkout@v2
18
- name: install PHP
19
run: >
20
sudo apt install software-properties-common && \
21
sudo add-apt-repository ppa:ondrej/php && \
22
sudo apt-get update \
- sudo apt-get install php7.4 php7.4-dev
23
+ sudo apt-get install php$PHP_VERSION php$PHP_VERSION-dev
24
+ env:
25
+ PHP_VERSION: ${{ matrix.php }}
26
- name: make
27
run: make
28
- name: make install
0 commit comments