ci: adopt reusable workflows from named-data/actions

Change-Id: I4219458d27723ee7c408a665f7b31a1ca557b1e0
This commit is contained in:
Davide Pesavento committed 2023-02-14 13:38:03 -05:00
1 parent 3fb27eb32e
commit 85601037ef
6 files changed
+23 -100

No files matched your search

+5 -58
View File
@@ -1,65 +1,12 @@
name: CI name: CI
on: on:
push: push:
paths-ignore:
- 'docs/**'
- '*.md'
- '.mailmap'
workflow_dispatch: workflow_dispatch:
permissions: permissions: {}
contents: read
jobs: jobs:
linux: Ubuntu:
name: ${{ matrix.compiler }} on ${{ matrix.os }} uses: named-data/actions/.github/workflows/jenkins-script-ubuntu.yml@v1
runs-on: ${{ matrix.os }} macOS:
strategy: uses: named-data/actions/.github/workflows/jenkins-script-macos.yml@v1
fail-fast: false
matrix:
os: [ubuntu-20.04]
compiler: [g++-7, g++-8, g++-9, g++-10,
clang++-7, clang++-8, clang++-9, clang++-10, clang++-11, clang++-12]
include:
- os: ubuntu-22.04
compiler: g++-11
- os: ubuntu-22.04
compiler: g++-12
- os: ubuntu-22.04
compiler: clang++-13
- os: ubuntu-22.04
compiler: clang++-14
env:
CXX: ${{ matrix.compiler }}
steps:
- name: Install C++ compiler
run: |
sudo apt-get -qy install ${CXX/clang++/clang}
${CXX} --version
- name: Checkout
uses: actions/checkout@v3
- name: Build and test
run: ./.jenkins
macos:
name: Xcode ${{ matrix.xcode }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-11]
xcode: ['12.4', '12.5', '13.2']
include:
- os: macos-12
xcode: '13.4'
- os: macos-12
xcode: '14.2'
steps:
- name: Set up Xcode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: ${{ matrix.xcode }}
- name: Checkout
uses: actions/checkout@v3
- name: Build and test
run: ./.jenkins
+3 -26
View File
@@ -1,33 +1,10 @@
name: Docs name: Docs
on: on:
push: push:
paths-ignore:
- '*.md'
- '.mailmap'
workflow_dispatch: workflow_dispatch:
permissions: permissions: {}
contents: read
jobs: jobs:
build: html:
runs-on: ${{ matrix.os }} uses: named-data/actions/.github/workflows/docs-html.yml@v1
strategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest]
env:
JOB_NAME: Docs
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install dependencies
run: |
find .jenkins.d/ -type f -name '[1-9]*.sh' -exec chmod -x '{}' +
./.jenkins
- name: Build documentation
run: |
pybindir=$(python3 -c 'import sysconfig; print(sysconfig.get_path("scripts", "posix_user"))')
export PATH="${pybindir}${PATH:+:}${PATH}"
./waf --color=yes configure
./waf --color=yes docs
+1 -1
View File
@@ -2,7 +2,7 @@
The following lists maintainers, primary developers, and all much-appreciated contributors to ChronoSync in alphabetical order. The following lists maintainers, primary developers, and all much-appreciated contributors to ChronoSync in alphabetical order.
The specific contributions of individual authors can be obtained from the git history of the [official ChronoSync repository](https://github.com/named-data/ChronoSync). The specific contributions of individual authors can be obtained from the git history of the [official ChronoSync repository](https://github.com/named-data/ChronoSync).
If you would like to become a contributor to the official repository, please follow the recommendations in <https://github.com/named-data/.github/blob/master/CONTRIBUTING.md>. If you would like to become a contributor to the official repository, please follow the recommendations in <https://github.com/named-data/.github/blob/main/CONTRIBUTING.md>.
* ***(Maintainer)*** Alexander Afanasyev <https://users.cs.fiu.edu/~afanasyev> * ***(Maintainer)*** Alexander Afanasyev <https://users.cs.fiu.edu/~afanasyev>
* Chaoyi Bian <https://github.com/bcy> * Chaoyi Bian <https://github.com/bcy>
+8 -9
View File
@@ -5,7 +5,7 @@
![Language](https://img.shields.io/badge/C%2B%2B-17-blue) ![Language](https://img.shields.io/badge/C%2B%2B-17-blue)
![Latest version](https://img.shields.io/github/v/tag/named-data/ChronoSync?label=Latest%20version) ![Latest version](https://img.shields.io/github/v/tag/named-data/ChronoSync?label=Latest%20version)
> DEPRECATION NOTICE: ChronoSync's design is outdated. We recommend using more recent sync protocols, such as [PSync](https://named-data.net/doc/PSync/current/) or [StateVectorSync](https://named-data.github.io/StateVectorSync/). > DEPRECATION NOTICE: ChronoSync's design is outdated. We recommend using more recent sync protocols, such as [PSync](https://github.com/named-data/PSync) or [StateVectorSync](https://named-data.github.io/StateVectorSync/).
In supporting many distributed applications, such as group text messaging, file sharing, In supporting many distributed applications, such as group text messaging, file sharing,
and joint editing, a basic requirement is the efficient and robust synchronization of and joint editing, a basic requirement is the efficient and robust synchronization of
@@ -26,11 +26,11 @@ ChronoSync uses the [ndn-cxx](https://github.com/named-data/ndn-cxx) library.
### Prerequisites ### Prerequisites
* [ndn-cxx and its dependencies](https://named-data.net/doc/ndn-cxx/current/INSTALL.html) * [ndn-cxx and its dependencies](https://docs.named-data.net/ndn-cxx/current/INSTALL.html)
### Build ### Build
To build ChronoSync from the source: To build ChronoSync from source:
./waf configure ./waf configure
./waf ./waf
@@ -50,12 +50,11 @@ Please submit any bug reports or feature requests to the
## Contributing ## Contributing
We greatly appreciate contributions to the ChronoSync code base, provided that they are We greatly appreciate contributions to the ChronoSync code base, provided that they are
licensed under the GPL 3.0+ or a compatible license (see below). licensed under the GNU GPL version 3 or a compatible license.
If you are new to the NDN software community, please read the If you are new to the NDN software community, please read our [Contributor's Guide](
[Contributor's Guide](https://github.com/named-data/.github/blob/master/CONTRIBUTING.md) https://github.com/named-data/.github/blob/main/CONTRIBUTING.md) to get started.
to get started.
## License ## License
ChronoSync is an open source project licensed under the GPL version 3. ChronoSync is free software distributed under the GNU General Public License version 3.
See [`COPYING.md`](COPYING.md) for more information. See [`COPYING.md`](COPYING.md) for details.
+1 -1
View File
@@ -10,7 +10,7 @@ import sys
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
project = 'ChronoSync: A Synchronization Protocol for NDN' project = 'ChronoSync: A Synchronization Protocol for NDN'
copyright = 'Copyright © 2012-2022 Regents of the University of California.' copyright = 'Copyright © 2012-2023 Regents of the University of California.'
author = 'Named Data Networking Project' author = 'Named Data Networking Project'
# The short X.Y version. # The short X.Y version.
+5 -5
View File
@@ -140,7 +140,7 @@ INLINE_INHERITED_MEMB = YES
# shortest path that makes the file name unique will be used # shortest path that makes the file name unique will be used
# The default value is: YES. # The default value is: YES.
FULL_PATH_NAMES = NO FULL_PATH_NAMES = YES
# The STRIP_FROM_PATH tag can be used to strip a user-defined part of the path. # The STRIP_FROM_PATH tag can be used to strip a user-defined part of the path.
# Stripping is only done if one of the specified strings matches the left-hand # Stripping is only done if one of the specified strings matches the left-hand
@@ -161,7 +161,7 @@ STRIP_FROM_PATH =
# specify the list of include paths that are normally passed to the compiler # specify the list of include paths that are normally passed to the compiler
# using the -I flag. # using the -I flag.
STRIP_FROM_INC_PATH = STRIP_FROM_INC_PATH = ..
# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter (but # If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter (but
# less readable) file names. This can be useful is your file systems doesn't # less readable) file names. This can be useful is your file systems doesn't
@@ -437,7 +437,7 @@ EXTRACT_PACKAGE = NO
# included in the documentation. # included in the documentation.
# The default value is: NO. # The default value is: NO.
EXTRACT_STATIC = YES EXTRACT_STATIC = NO
# If the EXTRACT_LOCAL_CLASSES tag is set to YES, classes (and structs) defined # If the EXTRACT_LOCAL_CLASSES tag is set to YES, classes (and structs) defined
# locally in source files will be included in the documentation. If set to NO, # locally in source files will be included in the documentation. If set to NO,
@@ -445,7 +445,7 @@ EXTRACT_STATIC = YES
# for Java sources. # for Java sources.
# The default value is: YES. # The default value is: YES.
EXTRACT_LOCAL_CLASSES = YES EXTRACT_LOCAL_CLASSES = NO
# This flag is only useful for Objective-C code. If set to YES, local methods, # This flag is only useful for Objective-C code. If set to YES, local methods,
# which are defined in the implementation section but not in the interface are # which are defined in the implementation section but not in the interface are
@@ -1178,7 +1178,7 @@ HTML_COLORSTYLE_GAMMA = 91
# The default value is: NO. # The default value is: NO.
# This tag requires that the tag GENERATE_HTML is set to YES. # This tag requires that the tag GENERATE_HTML is set to YES.
HTML_TIMESTAMP = YES HTML_TIMESTAMP = NO
# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML # If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML
# documentation will contain sections that can be hidden and shown after the # documentation will contain sections that can be hidden and shown after the