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
47 cmake -S . -B build -DLIBA_DOXYGEN=1 \
48 -DLIBA_LUA=1 -DLIBA_LDOC=1 \
49 -DLIBA_JAVA=1 -DLIBA_JAVADOC=1
50 cmake --build build --target adoc
51 cargo doc --release --no-deps -vv
52 - uses: actions/checkout@v4
56 repository: ${{ github.repository_owner }}/tqfx.github.io
57 path: _/${{ github.repository_owner }}
61 rm -rf _/${{ github.repository }}
62 mv build/html _/${{ github.repository }}
63 mv target/doc _/${{ github.repository }}/rust
64 mv build/lua/doc _/${{ github.repository }}/lua
65 mv build/java/javadoc/liba _/${{ github.repository }}/java
66 - uses: peaceiris/actions-gh-pages@v3
68 deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
69 external_repository: ${{ github.repository_owner }}/tqfx.github.io
70 publish_dir: _/${{ github.repository_owner }}
73 - uses: actions/upload-artifact@v4
75 if-no-files-found: ignore
76 name: ${{ github.sha }}