Skip to content

Commit

Permalink
ci.
Browse files Browse the repository at this point in the history
  • Loading branch information
fubark committed Jan 6, 2024
1 parent e4ac628 commit 6d2fa85
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/gen-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,15 @@ jobs:
run: |
wget -c https://ziglang.org/builds/zig-linux-x86_64-${{ env.ZIG_VERSION }}.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin
- name: Build md4c.
run: |
git clone --depth=1 https://github.com/mity/md4c.git
cd md4c
mkdir build
cd build
cmake ..
make
- name: Cache.
uses: actions/cache@v2
with:
Expand All @@ -40,7 +49,7 @@ jobs:

- name: Generate docs.
run: |
zig-out/bin/cyber docs/gen-docs.cy
LD_LIBRARY_PATH=`pwd`/md4c/build/src` zig-out/bin/cyber docs/gen-docs.cy
mkdir -p docs/public
mv docs/docs.html docs/public/index.html
Expand Down

0 comments on commit 6d2fa85

Please sign in to comment.