@@ -116,3 +116,72 @@ jobs:
116116 toolchain : nightly
117117 command : doc
118118 args : --workspace --no-deps --all-features
119+
120+ check :
121+ name : Check
122+ strategy :
123+ fail-fast : false
124+ matrix :
125+ os :
126+ - ubuntu-latest
127+ php-version :
128+ - " 7.4"
129+ features :
130+ - " "
131+ - " --all-features"
132+
133+ runs-on : ${{ matrix.os }}
134+ steps :
135+ - name : Checkout
136+ uses : actions/checkout@v2
137+
138+ - name : Install libclang
139+ run : sudo apt-get install -y llvm-10-dev libclang-10-dev
140+
141+ - name : Setup PHP
142+ uses : shivammathur/setup-php@v2
143+ with :
144+ php-version : ${{ matrix.php-version }}
145+ tools : php-config
146+
147+ - name : Install Rust Stable
148+ uses : actions-rs/toolchain@v1
149+ with :
150+ toolchain : stable
151+ override : true
152+
153+ - name : Cargo check phper-sys
154+ uses : actions-rs/cargo@v1
155+ with :
156+ command : check
157+ args : --manifest-path phper-sys/Cargo.toml ${{ matrix.features }}
158+
159+ - name : Cargo check phper-build
160+ uses : actions-rs/cargo@v1
161+ with :
162+ command : check
163+ args : --manifest-path phper-build/Cargo.toml ${{ matrix.features }}
164+
165+ - name : Cargo check phper-macros
166+ uses : actions-rs/cargo@v1
167+ with :
168+ command : check
169+ args : --manifest-path phper-macros/Cargo.toml ${{ matrix.features }}
170+
171+ - name : Cargo check phper-alloc
172+ uses : actions-rs/cargo@v1
173+ with :
174+ command : check
175+ args : --manifest-path phper-alloc/Cargo.toml ${{ matrix.features }}
176+
177+ - name : Cargo check phper-test
178+ uses : actions-rs/cargo@v1
179+ with :
180+ command : check
181+ args : --manifest-path phper-test/Cargo.toml ${{ matrix.features }}
182+
183+ - name : Cargo check phper
184+ uses : actions-rs/cargo@v1
185+ with :
186+ command : check
187+ args : --manifest-path phper/Cargo.toml ${{ matrix.features }}
0 commit comments