Files
SPIRV-Interpreter/.gitea/workflows/build.yml
T
kbz_8 df57df44cb
Test / build (push) Successful in 58s
Build / build (push) Successful in 29s
fixing descriptor sets managment
2026-06-03 19:14:44 +02:00

44 lines
994 B
YAML

name: Build
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
permissions:
contents: read
deployments: write
jobs:
build:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci skip')"
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: https://codeberg.org/mlugg/setup-zig@v2
- name: Building
run: zig build -Dno-example=true
- name: Generating docs
run: zig build docs -Dno-example=true
- name: Deploying docs
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
uses: milanmk/actions-file-deployer@master
with:
remote-protocol: sftp
remote-host: ${{ secrets.SFTP_HOST_DOCS }}
remote-user: ${{ secrets.SFTP_USER_DOCS }}
remote-password: ${{ secrets.SFTP_PASSWORD_DOCS }}
remote-port: 6969
local-path: "./zig-out/docs"
remote-path: "/www"
sync: full