Skip to content
This repository was archived by the owner on Sep 13, 2022. It is now read-only.

Commit 3228abf

Browse files
committed
LibOS v0.1.0
1 parent 5f0d11c commit 3228abf

File tree

27 files changed

+5992
-2
lines changed

27 files changed

+5992
-2
lines changed

.github/workflows/docs.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: Docs
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v2
11+
12+
- name: Create build environment
13+
working-directory: docs
14+
run: mkdir build
15+
16+
- name: Run doxygen
17+
uses: mattnotmitt/doxygen-action@v1
18+
with:
19+
working-directory: 'docs/source/'
20+
21+
- name: Build docs
22+
uses: ammaraskar/sphinx-action@master
23+
with:
24+
docs-folder: "docs/"
25+
26+
- name: Create artifact
27+
uses: actions/upload-artifact@v1
28+
with:
29+
name: DocumentationHTML
30+
path: docs/build/html/
31+
32+
# Publish built docs to gh-pages branch.
33+
# ===============================
34+
- name: Commit changes
35+
run: |
36+
git clone https://github.com/gavrilikhin-d/libos --branch gh-pages --single-branch gh-pages
37+
cp -r docs/build/html/* gh-pages/
38+
cd gh-pages
39+
touch .nojekyll
40+
git config --local user.email "[email protected]"
41+
git config --local user.name "GitHub Action"
42+
git add .
43+
git commit -m "Update documentation" -a || true
44+
# The above command will fail if no changes were present, ignore it.
45+
46+
- name: Push commit
47+
uses: ad-m/github-push-action@master
48+
with:
49+
branch: gh-pages
50+
directory: gh-pages
51+
github_token: ${{ secrets.GITHUB_TOKEN }}
52+
# ===============================

.github/workflows/linux.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Linux
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v2
11+
12+
- name: Install dependencies
13+
run: sudo apt-get install libxtst-dev
14+
15+
- name: Create Build Environment
16+
run: cmake -E make_directory ${{runner.workspace}}/build
17+
18+
- name: Configure
19+
working-directory: ${{runner.workspace}}/build
20+
run: cmake $GITHUB_WORKSPACE
21+
22+
- name: Build
23+
working-directory: ${{runner.workspace}}/build
24+
run: cmake --build .

.github/workflows/windows.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
2+
name: Windows
3+
4+
on: [push, pull_request]
5+
6+
jobs:
7+
build:
8+
runs-on: windows-latest
9+
10+
steps:
11+
- uses: actions/checkout@v2
12+
13+
- name: Create Build Environment
14+
run: cmake -E make_directory ${{runner.workspace}}/build
15+
16+
- name: Configure
17+
# Use a bash shell for $GITHUB_WORKSPACE.
18+
shell: bash
19+
working-directory: ${{runner.workspace}}/build
20+
run: cmake $GITHUB_WORKSPACE
21+
22+
- name: Build
23+
working-directory: ${{runner.workspace}}/build
24+
run: cmake --build .

0 commit comments

Comments
 (0)