File tree Expand file tree Collapse file tree 4 files changed +78
-6
lines changed Expand file tree Collapse file tree 4 files changed +78
-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 github-actions-bot@users.noreply.github.com
38+
39+ - name : Generate PDFs
40+ run : |
41+ cd guide
42+ make pdf
43+
44+ - name : Upload all pdfs
45+ uses : actions/upload-artifact@v3.1.0
46+ with :
47+ name : gnucobol-docs-all-pdfs
48+ path : guide/PDFs/*.pdf
49+ if-no-files-found : error
50+ retention-days : 0
51+
52+ - name : Generate HTML
53+ run : |
54+ cd guide
55+ make html
56+
57+ - name : Upload HTML
58+ uses : actions/upload-artifact@v3.1.0
59+ with :
60+ name : gnucobol-docs-html
61+ path : guide/HTML
62+ if-no-files-found : error
63+ retention-days : 0
64+
65+ - name : Generate INFO
66+ run : |
67+ cd guide
68+ make info
Original file line number Diff line number Diff line change 11/guide /HTML
22* ~
3+ /guide /info /*
4+ /guide /PDFs /*
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+
13# External Documentation of the GnuCOBOL Project
24
35This 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)
8585 makeinfo -v -o $(dir $@ ) $(WARNING ) \
8686 --html $(HTML_OPT ) gnucobpr.texi
8787
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
9090
9191#
9292# Rules
@@ -125,23 +125,23 @@ info-clean:
125125 @rm -rvf info/gnucob* .info
126126
127127
128- publish : HTML/gnucobpg.html $(CSS )
128+ publish :: HTML/gnucobpg.html $(CSS )
129129 test " $( WWW) "
130130 scp HTML/gnucobpg.html $(WWW )
131131 scp css/gnucobpg.css $(WWW ) /css/
132132 scp js/tree.js $(WWW ) /js/
133133
134- publish-css : HTML/gnucobpg.html $(CSS )
134+ publish-css :: HTML/gnucobpg.html $(CSS )
135135 test " $( WWW) "
136136 scp css/gnucobpg.css $(WWW ) /css/
137137 scp js/tree.js $(WWW ) /js/
138138
139- publish-css : HTML/gnucobpr.html $(CSS )
139+ publish-css :: HTML/gnucobpr.html $(CSS )
140140 test " $( WWW) "
141141 scp css/gnucobpr.css $(WWW ) /css/
142142 scp js/tree.js $(WWW ) /js/
143143
144- publish : HTML/gnucobpr.html $(CSS )
144+ publish :: HTML/gnucobpr.html $(CSS )
145145 test " $( WWW) "
146146 scp HTML/gnucobpr.html $(WWW )
147147 scp css/gnucobpr.css $(WWW ) /css/
You can’t perform that action at this time.
0 commit comments