-
Notifications
You must be signed in to change notification settings - Fork 16
87 lines (76 loc) · 2.23 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
name: CI
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
# phalcon: ['3.4', '4.0.0', '4.0.2', '4.0.3', '4.0.4', '4.0.5', '4.0.6', '4.1.0', '4.0RC2', '4.0rc3', '73_4.0.0']
include:
- name: phalcon-3.4-php7.3
os: macos-11
php: '7.3'
phalcon: '3.4'
- name: phalcon-4.0.0-php7.4
os: macos-11
php: '7.4'
phalcon: '4.0.0'
- name: phalcon-4.0.2-php7.4
os: macos-11
php: '7.4'
phalcon: '4.0.2'
- name: phalcon-4.0.3-php7.4
os: macos-11
php: '7.4'
phalcon: '4.0.3'
- name: phalcon-4.0.4-php7.4
os: macos-11
php: '7.4'
phalcon: '4.0.4'
- name: phalcon-4.0.5-php7.4
os: macos-11
php: '7.4'
phalcon: '4.0.5'
- name: phalcon-4.0.6-php7.4
os: macos-11
php: '7.4'
phalcon: '4.0.6'
- name: phalcon-4.1.0-php7.4
os: macos-11
php: '7.4'
phalcon: '4.1.0'
- name: phalcon-4.0RC2-php7.3
os: macos-11
php: '7.3'
phalcon: '4.0RC2'
- name: phalcon-4.0rc3-php7.3
os: macos-11
php: '7.3'
phalcon: '4.0rc3'
- name: phalcon-73_4.0.0-php7.3
os: macos-11
php: '7.3'
phalcon: '73_4.0.0'
env:
HOMEBREW_NO_AUTO_UPDATE: 1
name: Building Phalcon@${{ matrix.phalcon }} PHP-${{ matrix.php }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Add Phalcon Tap
run: brew tap phalcon/extension .
- name: Install Phalcon
run: |
export MAKEFLAGS="-j$(getconf _NPROCESSORS_ONLN)"
brew install phalcon@${{ matrix.phalcon }} --build-from-source
- name: Force PHP linking
run: brew link -f --overwrite php@${{ matrix.php }}
- name: Check PHP
run: |
php -v
php --ini
- name: Testing ini values
run: |
php --ri phalcon
php -r "if(! extension_loaded('phalcon')) {throw new Exception('phalcon not found');}"