[gentoo-commits] proj/devmanual:master commit in: .github/workflows/

2021-10-13 Thread Ulrich Müller
commit: 331f4d4d585b9ac845da732aa3b8a5ae139418c4
Author: Ulrich Müller  gentoo  org>
AuthorDate: Wed Oct 13 14:20:54 2021 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Wed Oct 13 14:20:54 2021 +
URL:https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=331f4d4d

.github/workflows/devmanual-ci.yml: Run apt-get update

As recommended in documentation.

Signed-off-by: Ulrich Müller  gentoo.org>

 .github/workflows/devmanual-ci.yml | 10 ++
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/devmanual-ci.yml 
b/.github/workflows/devmanual-ci.yml
index 7f32e80..9d8e11f 100644
--- a/.github/workflows/devmanual-ci.yml
+++ b/.github/workflows/devmanual-ci.yml
@@ -15,15 +15,17 @@ jobs:
   build:
 runs-on: ubuntu-latest # no gentoo :(
 steps:
-- uses: actions/checkout@v2
+- name: checkout
+  uses: actions/checkout@v2
 - name: install prerequisites
   # librsvg2-bin for rsvg-convert
   # xsltproc for xsltproc
   # libxml2-utils for xmllint
   # tidy for tidy
-  run: >
-sudo apt install -y librsvg2-bin xsltproc libxml2-utils tidy
-fonts-open-sans
+  run: |
+sudo apt-get -q -y update
+sudo apt-get -q -y install librsvg2-bin xsltproc libxml2-utils \
+tidy fonts-open-sans
 - name: make
   run: make
 - name: make check



[gentoo-commits] proj/devmanual:master commit in: .github/workflows/

2021-10-11 Thread Ulrich Müller
commit: 3a26abf23a2ce60b41016e9bbaf753128c35d1e1
Author: Ulrich Müller  gentoo  org>
AuthorDate: Mon Oct 11 11:12:06 2021 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Mon Oct 11 11:12:06 2021 +
URL:https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=3a26abf2

.github/workflows/devmanual-ci.yml: Add license notice

Presumably this is too short to be copyrightable. Adding the header
anyway in case it may become longer.

Signed-off-by: Ulrich Müller  gentoo.org>

 .github/workflows/devmanual-ci.yml | 4 
 1 file changed, 4 insertions(+)

diff --git a/.github/workflows/devmanual-ci.yml 
b/.github/workflows/devmanual-ci.yml
index a304cd8..7f32e80 100644
--- a/.github/workflows/devmanual-ci.yml
+++ b/.github/workflows/devmanual-ci.yml
@@ -1,3 +1,7 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the MIT license
+# or the CC-BY-SA-4.0 license (dual-licensed)
+
 name: Devmanual CI
 
 on:



[gentoo-commits] proj/devmanual:master commit in: .github/workflows/

2021-10-11 Thread Ulrich Müller
commit: bd4d359a28ba506d8343993c8c6b9919a712a692
Author: Ulrich Müller  gentoo  org>
AuthorDate: Mon Oct 11 10:54:48 2021 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Mon Oct 11 10:54:48 2021 +
URL:https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=bd4d359a

.github/workflows: Enable CI on Github

Signed-off-by: Ulrich Müller  gentoo.org>

 .github/workflows/devmanual-ci.yml | 26 ++
 1 file changed, 26 insertions(+)

diff --git a/.github/workflows/devmanual-ci.yml 
b/.github/workflows/devmanual-ci.yml
new file mode 100644
index 000..a304cd8
--- /dev/null
+++ b/.github/workflows/devmanual-ci.yml
@@ -0,0 +1,26 @@
+name: Devmanual CI
+
+on:
+  push:
+branches: [master]
+  pull_request:
+branches: [master]
+  workflow_dispatch:
+
+jobs:
+  build:
+runs-on: ubuntu-latest # no gentoo :(
+steps:
+- uses: actions/checkout@v2
+- name: install prerequisites
+  # librsvg2-bin for rsvg-convert
+  # xsltproc for xsltproc
+  # libxml2-utils for xmllint
+  # tidy for tidy
+  run: >
+sudo apt install -y librsvg2-bin xsltproc libxml2-utils tidy
+fonts-open-sans
+- name: make
+  run: make
+- name: make check
+  run: make check