-
Notifications
You must be signed in to change notification settings - Fork 511
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5623 from janekmi/merge-stable-1.13-to-master
Merge stable 1.13 to master
- Loading branch information
Showing
25 changed files
with
404 additions
and
438 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
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 |
---|---|---|
@@ -1,30 +1,39 @@ | ||
# Run checks around PMDK's documentation (like missing manpages, etc.). | ||
# | ||
# This workflow does not use docker containers. | ||
name: Documentation | ||
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
# run this job at 00:00 UTC every Saturday | ||
- cron: '0 0 * * 6' | ||
|
||
jobs: | ||
linux: | ||
name: Documentation | ||
if: github.repository == 'pmem/pmdk' | ||
runs-on: ubuntu-latest | ||
env: | ||
WORKDIR: utils/gha-runners | ||
SCRIPT: utils/check_docs/split_manpage_tests.py | ||
TEST_SCRIPT: utils/check_docs/docs_tests.py | ||
|
||
steps: | ||
- name: clone PMDK repository | ||
uses: actions/checkout@v2 | ||
- name: Clone the git repo | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install necessary packages | ||
run: | | ||
sudo apt-get install -y build-essential cmake libndctl-dev libdaxctl-dev pandoc pkg-config | ||
- name: Install required packages | ||
run: | | ||
export BASE_DEPS="build-essential \ | ||
cmake \ | ||
libdaxctl-dev \ | ||
libndctl-dev \ | ||
pandoc \ | ||
pkg-config" | ||
- name: Build | ||
run: | | ||
./$WORKDIR/build-pmdk-documentation.sh | ||
sudo apt-get update \ | ||
&& sudo apt-get install -y --no-install-recommends ${BASE_DEPS} | ||
- name: Run tests | ||
run: python3 ${SCRIPT} --with-pmem2 -r $(pwd) -i $(pwd)/../install -v | ||
- name: Build and install PMDK with docs | ||
run: make doc install prefix=$(pwd)/../install -j$(nproc) | ||
|
||
- name: Run docs' tests | ||
run: python3 ${TEST_SCRIPT} -r $(pwd) -i $(pwd)/../install -v |
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
Oops, something went wrong.