Skip to content

Make bindless texture access create proper HLSL #226

Make bindless texture access create proper HLSL

Make bindless texture access create proper HLSL #226

Workflow file for this run

name: Windows
on:
push:
branches:
- main
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- name: Get Submodules
run: git submodule update --init --recursive
- name: Get KincTools_windows_x64
run: git clone https://github.com/Kode/KincTools_windows_x64.git --depth 1
- name: Compile
run: KincTools_windows_x64\kmake --compile
- name: Copy binary
run: copy build\x64\Release\kongruent.exe KincTools_windows_x64\kongruent.exe
- name: Set name
run: git config --global user.name "Robbot"
- name: Set email
run: git config --global user.email "robbot2019@robdangero.us"
- name: Commit binary
id: commit
continue-on-error: true
run: git -C KincTools_windows_x64 commit -a -m "Update kong binary to ${env:GITHUB_SHA}."
- name: Tag binary
if: steps.commit.outcome == 'success'
run: git -C KincTools_windows_x64 tag kong_${env:GITHUB_SHA}
- name: Push binary
id: push1
if: steps.commit.outcome == 'success'
continue-on-error: true
run: git -C KincTools_windows_x64 push https://Kode-Robbot:${env:ROBBOT_PASS}@github.com/Kode/KincTools_windows_x64.git main --tags
env:
ROBBOT_PASS: ${{ secrets.ROBBOT_PASS }}
- name: Pull
if: steps.commit.outcome == 'success' && steps.push1.outcome != 'success'
run: git -C KincTools_windows_x64 pull --no-rebase
- name: Push binary again
if: steps.commit.outcome == 'success' && steps.push1.outcome != 'success'
continue-on-error: true
run: git -C KincTools_windows_x64 push https://Kode-Robbot:${env:ROBBOT_PASS}@github.com/Kode/KincTools_windows_x64.git main --tags
env:
ROBBOT_PASS: ${{ secrets.ROBBOT_PASS }}