File tree Expand file tree Collapse file tree 4 files changed +225
-345
lines changed Expand file tree Collapse file tree 4 files changed +225
-345
lines changed Original file line number Diff line number Diff line change 43
43
- name : " Build documentation"
44
44
run : make -C _build SPHINXOPTS="-nqW -j auto" html
45
45
46
+ build-php :
47
+ name : Symfony doc builder
48
+
49
+ runs-on : ubuntu-latest
50
+
51
+ continue-on-error : true
52
+
53
+ steps :
54
+ - name : " Checkout"
55
+ uses : actions/checkout@v2
56
+
57
+ - name : " Set-up PHP"
58
+ uses : shivammathur/setup-php@v2
59
+ with :
60
+ php-version : 7.2
61
+ coverage : none
62
+ tools : " composer:v2"
63
+
64
+ - name : Get composer cache directory
65
+ id : composercache
66
+ working-directory : _build
67
+ run : echo "::set-output name=dir::$(composer config cache-files-dir)"
68
+
69
+ - name : Cache dependencies
70
+ uses : actions/cache@v2
71
+ with :
72
+ path : ${{ steps.composercache.outputs.dir }}
73
+ key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
74
+ restore-keys : ${{ runner.os }}-composer-
75
+
76
+ - name : " Install dependencies"
77
+ working-directory : _build
78
+ run : composer install --prefer-dist
79
+
80
+ - name : " Build the docs"
81
+ working-directory : _build
82
+ run : php build.php -vvv
83
+
46
84
doctor-rst :
47
85
name : DOCtor-RST
48
86
Original file line number Diff line number Diff line change 33
33
34
34
$ process = new Process ($ command );
35
35
$ process ->setTimeout (3600 );
36
- $ process ->run ();
36
+
37
+ $ this ->getHelper ('process ' )->run ($ output , $ process );
37
38
38
39
if (!$ process ->isSuccessful ()) {
39
40
throw new ProcessFailedException ($ process );
Original file line number Diff line number Diff line change 1
1
{
2
2
"minimum-stability" : " dev" ,
3
+ "prefer-stable" : true ,
3
4
"repositories" : [
4
5
{ "type" : " git" , "url" : " https://github.com/weaverryan/docs-builder" }
5
6
],
You can’t perform that action at this time.
0 commit comments