Skip to content

Commit 9000501

Browse files
authored
Setup CI required. (#49)
1 parent 02069c6 commit 9000501

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,18 @@ env:
2525
LLVM_CONFIG_PATH: llvm-config-10
2626

2727
jobs:
28+
required:
29+
name: Required
30+
needs:
31+
- ci
32+
- check
33+
runs-on: ubuntu-20.04
34+
steps:
35+
- name: Check results
36+
run: |
37+
[[ ${{ needs.ci.result }} == 'success' ]] || exit 1;
38+
[[ ${{ needs.check.result }} == 'success' ]] || exit 1;
39+
2840
ci:
2941
name: CI
3042
strategy:
@@ -75,9 +87,9 @@ jobs:
7587
php-fpm --version
7688
php-config || true
7789
78-
[[ `php --version` == PHP\ ${{ matrix.php-version }}.* ]]
79-
[[ `php-fpm --version` == PHP\ ${{ matrix.php-version }}.* ]]
80-
[[ `php-config --version` == ${{ matrix.php-version }}.* ]]
90+
[[ `php --version` == PHP\ ${{ matrix.php-version }}.* ]] || exit 1;
91+
[[ `php-fpm --version` == PHP\ ${{ matrix.php-version }}.* ]] || exit 1;
92+
[[ `php-config --version` == ${{ matrix.php-version }}.* ]] || exit 1;
8193
8294
- name: Install Rust Nightly
8395
uses: actions-rs/toolchain@v1

0 commit comments

Comments
 (0)