File tree Expand file tree Collapse file tree 4 files changed +14
-9
lines changed Expand file tree Collapse file tree 4 files changed +14
-9
lines changed Original file line number Diff line number Diff line change 42
42
matrix :
43
43
os :
44
44
- ubuntu-20.04
45
- - macos-11
45
+ - macos-12
46
46
php-version :
47
47
- " 7.0"
48
48
- " 7.1"
@@ -59,10 +59,16 @@ jobs:
59
59
- name : Checkout
60
60
uses : actions/checkout@v2
61
61
62
- - name : Install libclang
62
+ - name : Install libclang for Linux
63
63
if : matrix.os == 'ubuntu-20.04'
64
64
run : sudo apt-get install -y llvm-10-dev libclang-10-dev
65
65
66
+ - name : Setup libclang for Macos
67
+ if : matrix.os == 'macos-12'
68
+ run : |
69
+ brew install llvm@13
70
+ echo "LIBCLANG_PATH=$(brew --prefix llvm@13)/lib" >> $GITHUB_ENV
71
+
66
72
- name : Setup PHP
67
73
uses : shivammathur/setup-php@v2
68
74
with :
77
83
sudo ln -s /usr/sbin/php-fpm${{ matrix.php-version }} /usr/sbin/php-fpm
78
84
79
85
- name : Setup php-fpm for Macos
80
- if : matrix.os == 'macos-11 '
86
+ if : matrix.os == 'macos-12 '
81
87
run : |
82
88
brew install php@${{ matrix.php-version }}
83
89
98
104
components : rustfmt
99
105
100
106
- name : Cargo generate lockfile
101
- uses : actions-rs/cargo@v1
102
- with :
103
- command : generate-lockfile
107
+ run : cargo +nightly -Z minimal-versions update
104
108
105
109
- name : Setup cargo cache
106
110
uses : actions/cache@v3
Original file line number Diff line number Diff line change 30
30
edition = " 2021"
31
31
license = " MulanPSL-2.0"
32
32
repository = " https://github.com/phper-framework/phper"
33
- rust-version = " 1.67 "
33
+ rust-version = " 1.65 "
34
34
35
35
[workspace .dependencies ]
36
36
phper = { version = " 0.13.0" , path = " ./phper" }
Original file line number Diff line number Diff line change @@ -20,5 +20,6 @@ repository = { workspace = true }
20
20
license = { workspace = true }
21
21
22
22
[build-dependencies ]
23
- bindgen = " 0.66 .1"
23
+ bindgen = " 0.69 .1"
24
24
cc = " 1.0.79"
25
+ regex = " 1.5.6"
Original file line number Diff line number Diff line change 9
9
# See the Mulan PSL v2 for more details.
10
10
11
11
[toolchain ]
12
- channel = " 1.67 "
12
+ channel = " 1.65 "
13
13
components = [" clippy" , " rustfmt" ]
You can’t perform that action at this time.
0 commit comments