feat: implementing http_file_curl and test #66
Workflow file for this run
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
name: docs | |
env: | |
CLOUDFLARE_PROJECT_DOXYGEN: doxygen-gly | |
CLOUDFLARE_PROJECT_EXAMPLE: example-gly | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
- develop | |
jobs: | |
doxygen: | |
runs-on: ubuntu-latest | |
if: github.event_name == 'push' || github.event.pull_request.draft == false | |
steps: | |
- | |
uses: actions/checkout@master | |
- | |
run: | | |
docker run --rm -v $(pwd):/app -w /app rodrigodornelles/doxygen:lua lua tools/doxygen_plugins.lua | |
- | |
run: | | |
docker run --rm -v $(pwd):/app -w /app rodrigodornelles/doxygen:lua doxygen | |
- | |
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository || github.event_name == 'workflow_dispatch' | |
uses: cloudflare/pages-action@v1 | |
with: | |
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} | |
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} | |
projectName: ${{ env.CLOUDFLARE_PROJECT_DOXYGEN }} | |
directory: html | |
example: | |
if: github.event_name == 'push' || github.event.pull_request.draft == false | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
game: ['asteroids', 'dvdplayer', 'helloworld', 'launcher', 'pong'] | |
steps: | |
- | |
uses: actions/checkout@master | |
- | |
uses: leafo/gh-actions-lua@v10 | |
with: | |
luaVersion: '5.4' | |
- | |
run: | | |
./cli.sh build @${{ matrix.game }} --core html5 --dist ./html/ | |
- | |
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository || github.event_name == 'workflow_dispatch' | |
uses: cloudflare/pages-action@v1 | |
with: | |
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} | |
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} | |
projectName: ${{ matrix.game }}-${{ env.CLOUDFLARE_PROJECT_EXAMPLE }} | |
directory: html |