-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'zeromq:master' into master
- Loading branch information
Showing
951 changed files
with
3,763 additions
and
22,227 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,23 +25,20 @@ jobs: | |
ENABLE_DRAFTS: ON | ||
- os: ubuntu-latest | ||
BUILD_TYPE: default | ||
PACKAGES: asciidoc xmlto | ||
CURVE: tweetnacl | ||
PACKAGES: asciidoctor | ||
DRAFT: disabled | ||
POLLER: select | ||
- os: ubuntu-latest | ||
BUILD_TYPE: default | ||
CURVE: tweetnacl | ||
DRAFT: disabled | ||
POLLER: poll | ||
- os: ubuntu-latest | ||
BUILD_TYPE: android | ||
CURVE: tweetnacl | ||
NDK_VERSION: android-ndk-r25 | ||
DRAFT: disabled | ||
- os: ubuntu-latest | ||
BUILD_TYPE: coverage | ||
PACKAGES: libkrb5-dev libnorm-dev libpgm-dev libgnutls28-dev lcov | ||
CURVE: tweetnacl | ||
DRAFT: enabled | ||
GSSAPI: enabled | ||
PGM: enabled | ||
|
@@ -52,14 +49,20 @@ jobs: | |
- os: ubuntu-latest | ||
BUILD_TYPE: valgrind | ||
PACKAGES: valgrind libgnutls28-dev | ||
CURVE: tweetnacl | ||
DRAFT: enabled | ||
- os: ubuntu-latest | ||
BUILD_TYPE: cmake | ||
CURVE: libsodium | ||
DRAFT: enabled | ||
PACKAGES: cmake libsodium-dev | ||
TLS: enabled | ||
- os: ubuntu-latest | ||
BUILD_TYPE: cmake | ||
CURVE: libsodium | ||
DRAFT: enabled | ||
GSSAPI: enabled | ||
PACKAGES: cmake libsodium-dev libkrb5-dev | ||
TLS: enabled | ||
- os: ubuntu-latest | ||
BUILD_TYPE: cmake | ||
DRAFT: enabled | ||
|
@@ -102,22 +105,19 @@ jobs: | |
- os: ubuntu-latest | ||
BUILD_TYPE: abi-compliance-checker | ||
PACKAGES: abi-dumper abi-compliance-checker | ||
CURVE: tweetnacl | ||
DRAFT: disabled | ||
- os: ubuntu-latest | ||
BUILD_TYPE: cmake | ||
PACKAGES: clang-tidy clang-tools | ||
CURVE: tweetnacl | ||
DRAFT: enabled | ||
CXX: clang++ | ||
- os: macos-latest | ||
BUILD_TYPE: default | ||
PACKAGES: automake autoconf | ||
CURVE: tweetnacl | ||
PACKAGES: automake autoconf libtool | ||
DRAFT: enabled | ||
- os: macos-latest | ||
BUILD_TYPE: default | ||
PACKAGES: automake autoconf libsodium | ||
PACKAGES: automake autoconf libtool libsodium | ||
CURVE: libsodium | ||
DRAFT: disabled | ||
env: | ||
|
@@ -149,6 +149,8 @@ jobs: | |
USE_NSS: ${{ matrix.USE_NSS }} | ||
VMCI: ${{ matrix.VMCI }} | ||
POLLER: ${{ matrix.POLLER }} | ||
NDK_VERSION: ${{ matrix.NDK_VERSION }} | ||
ANDROID_NDK_ROOT: /tmp/${{ matrix.NDK_VERSION }} | ||
steps: | ||
- name: Add msbuild to PATH | ||
uses: microsoft/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# Simple workflow for deploying static content to GitHub Pages | ||
name: Deploy API docs content to Pages | ||
|
||
on: | ||
# Runs on pushes targeting the default branch | ||
push: | ||
branches: ["master"] | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | ||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. | ||
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. | ||
concurrency: | ||
group: "pages" | ||
cancel-in-progress: false | ||
|
||
jobs: | ||
# Single deploy job since we're just deploying | ||
deploy: | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
## libzmq-specific CI/CD ## | ||
- name: Install AsciiDoctor | ||
run: sudo apt install -y asciidoctor | ||
- name: Convert AsciiDoc with AsciiDoctor into HTML | ||
run: ./autogen.sh && ./configure && make --directory=doc | ||
|
||
## boilerplate steps to publish github Pages ## | ||
- name: Setup Pages | ||
uses: actions/configure-pages@v3 | ||
- name: Upload artifact | ||
uses: actions/upload-pages-artifact@v2 | ||
with: | ||
path: 'doc/' | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# | ||
# libzmq readthedocs.io integration | ||
# | ||
# This configuration file is processed by readthedocs.io to rebuild the | ||
# libzmq documentation using Asciidoctor, see | ||
# https://docs.readthedocs.io/en/stable/build-customization.html#asciidoc | ||
|
||
version: "2" | ||
|
||
formats: | ||
- htmlzip | ||
|
||
build: | ||
os: "ubuntu-22.04" | ||
tools: | ||
nodejs: "20" | ||
# NOTE: as of Nov 2023, build.apt_packages is NOT considered when using build.commands | ||
#apt_packages: | ||
# - automake | ||
# - autoconf | ||
# - cmake | ||
# - libtool | ||
commands: | ||
# install required tools | ||
- npm install -g asciidoctor | ||
|
||
# HTML docs | ||
# --------- | ||
- doc/create_page_list.sh "$(pwd)/doc/__pagelist" "$(pwd)/doc" | ||
- asciidoctor --backend html --destination-dir $READTHEDOCS_OUTPUT/html --attribute stylesheet=asciidoctor.css --attribute zmq_version='4.3.6' --attribute zmq_pagelist_dir=$(pwd)/doc doc/*.adoc | ||
|
||
# HTMLZIP docs | ||
# ------------ | ||
# Note that for usability we make sure zip will create a zipfile containing just a flat list of HTML files; | ||
# to achieve that it's important to avoid storing absolute paths when invoking "zip", thus we use -j | ||
# Also note that the archive name should match exactly the project slug, "libzmq" in this case. | ||
- mkdir -p $READTHEDOCS_OUTPUT/htmlzip/ | ||
- cd $READTHEDOCS_OUTPUT/html && zip -j ../htmlzip/libzmq.zip *.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.