File tree 4 files changed +81
-6
lines changed
4 files changed +81
-6
lines changed Original file line number Diff line number Diff line change
1
+ name : Ubuntu Workflow
2
+
3
+ on :
4
+ pull_request :
5
+ branches : [ master-with-README ]
6
+ push :
7
+ # manual run in actions tab - for all branches
8
+ workflow_dispatch :
9
+
10
+ jobs :
11
+ build :
12
+ name : Build, test and provide nightly
13
+ strategy :
14
+ fail-fast : false
15
+ matrix :
16
+ os :
17
+ - ubuntu-latest
18
+ include :
19
+ - os : ubuntu-latest
20
+ skip_test : true
21
+
22
+ runs-on : ${{ matrix.os }}
23
+
24
+ steps :
25
+ # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
26
+ - name : Checkout code
27
+ uses : actions/checkout@v3
28
+
29
+ - name : Install packages
30
+ run : |
31
+ sudo apt-get update
32
+ sudo apt-get install texlive texlive-latex-extra texlive-plain-generic
33
+
34
+ - name : Set git user
35
+ run : |
36
+ git config --global user.name github-actions
37
+ git config --global user.email [email protected]
38
+
39
+ - name : Generate PDFs
40
+ run : |
41
+ cd guide
42
+ make pdf
43
+
44
+ - name : Generate HTML
45
+ run : |
46
+ cd guide
47
+ make html
48
+
49
+ - name : Generate INFO
50
+ run : |
51
+ cd guide
52
+ rm -rf info
53
+ make info
54
+
55
+ - name : Upload all pdfs
56
+
57
+ with :
58
+ name : gnucobol-docs-all-pdfs
59
+ path : guide/PDFs/*.pdf
60
+ if-no-files-found : error
61
+ retention-days : 0
62
+
63
+ - name : Upload HTML
64
+
65
+ with :
66
+ name : gnucobol-docs-html
67
+ path : guide/HTML
68
+ if-no-files-found : error
69
+ retention-days : 0
Original file line number Diff line number Diff line change 1
1
/guide /HTML
2
2
* ~
3
+ /guide /info /*
4
+ /guide /PDFs /*
5
+ * .pdf
6
+ * .info
Original file line number Diff line number Diff line change
1
+ [ ![ Actions Status] ( https://github.com/ocamlpro/gnucobol-docs/workflows/Ubuntu%20Workflow/badge.svg )] ( https://github.com/ocamlpro/gnucobol-docs/actions/workflows/ubuntu.yml )
2
+
1
3
# External Documentation of the GnuCOBOL Project
2
4
3
5
This repository is a GIT version hosted on Github of the
Original file line number Diff line number Diff line change @@ -85,8 +85,8 @@ HTML/gnucobpr/index.html: $(SOURCES_PR)
85
85
makeinfo -v -o $(dir $@ ) $(WARNING ) \
86
86
--html $(HTML_OPT ) gnucobpr.texi
87
87
88
- info : info/gnucobsp.info info/gnucobqr.info info/gnucobpg.info /
89
- info/gnucobpr.info
88
+ info : info/gnucobsp.info info/gnucobqr.info info/gnucobpg.info
89
+ # info/gnucobpr.info
90
90
91
91
#
92
92
# Rules
@@ -125,23 +125,23 @@ info-clean:
125
125
@rm -rvf info/gnucob* .info
126
126
127
127
128
- publish : HTML/gnucobpg.html $(CSS )
128
+ publish :: HTML/gnucobpg.html $(CSS )
129
129
test " $( WWW) "
130
130
scp HTML/gnucobpg.html $(WWW )
131
131
scp css/gnucobpg.css $(WWW ) /css/
132
132
scp js/tree.js $(WWW ) /js/
133
133
134
- publish-css : HTML/gnucobpg.html $(CSS )
134
+ publish-css :: HTML/gnucobpg.html $(CSS )
135
135
test " $( WWW) "
136
136
scp css/gnucobpg.css $(WWW ) /css/
137
137
scp js/tree.js $(WWW ) /js/
138
138
139
- publish-css : HTML/gnucobpr.html $(CSS )
139
+ publish-css :: HTML/gnucobpr.html $(CSS )
140
140
test " $( WWW) "
141
141
scp css/gnucobpr.css $(WWW ) /css/
142
142
scp js/tree.js $(WWW ) /js/
143
143
144
- publish : HTML/gnucobpr.html $(CSS )
144
+ publish :: HTML/gnucobpr.html $(CSS )
145
145
test " $( WWW) "
146
146
scp HTML/gnucobpr.html $(WWW )
147
147
scp css/gnucobpr.css $(WWW ) /css/
You can’t perform that action at this time.
0 commit comments