10 runs-on: ubuntu-latest
12 - uses: actions/checkout@v4
19 sudo apt-get -y update
20 sudo apt-get -y install graphviz mscgen dia
21 sudo apt-get -y install lua5.4 liblua5.4-dev
22 - name: Install doxygen
25 curl https://www.doxygen.nl/files/doxygen-1.10.0.linux.bin.tar.gz | tar -xzf -
28 - uses: actions/checkout@v4
30 repository: luarocks/luarocks
32 - name: Install luarocks
33 working-directory: luarocks
40 run: sudo luarocks install ldoc
44 cmake -S . -B build -DLIBA_DOXYGEN=1 \
45 -DLIBA_LUA=1 -DLIBA_LDOC=1 \
46 -DLIBA_JAVA=1 -DLIBA_JAVADOC=1
47 cmake --build build --target adoc
48 cargo doc --release --no-deps
49 - uses: actions/checkout@v4
53 repository: ${{ github.repository_owner }}/tqfx.github.io
54 path: _/${{ github.repository_owner }}
58 rm -rf _/${{ github.repository }}
59 mv build/html _/${{ github.repository }}
60 mv target/doc _/${{ github.repository }}/rust
61 mv build/lua/doc _/${{ github.repository }}/lua
62 mv build/java/javadoc/liba _/${{ github.repository }}/java
63 - uses: peaceiris/actions-gh-pages@v3
65 deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
66 commit_message: ${{ github.event.head_commit.message }}
67 external_repository: ${{ github.repository_owner }}/tqfx.github.io
68 publish_dir: _/${{ github.repository_owner }}
71 - uses: actions/upload-artifact@v2
73 if-no-files-found: ignore
74 name: ${{ github.sha }}