Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

Commit 7ae50bd

Browse files
authored
Create shader.yml
1 parent e1b805d commit 7ae50bd

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

.github/workflows/shader.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# This workflow uses actions that are not certified by GitHub.
2+
# They are provided by a third-party and are governed by
3+
# separate terms of service, privacy policy, and support
4+
# documentation.
5+
6+
name: Game
7+
8+
on:
9+
push:
10+
branches: [ "master" ]
11+
paths:
12+
- materialsystem/**
13+
pull_request:
14+
branches: [ "master" ]
15+
paths:
16+
- materialsystem/**
17+
18+
env:
19+
# Path to the solution file relative to the root of the project.
20+
SOLUTION_FILE_PATH: ./SourceDEFUN.sln
21+
22+
# Configuration type to build.
23+
# You can convert this to a build matrix if you need coverage of multiple configuration types.
24+
# https://docs.github.com/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
25+
BUILD_CONFIGURATION: Debug
26+
27+
permissions:
28+
contents: read
29+
30+
jobs:
31+
Main:
32+
runs-on: windows-latest
33+
steps:
34+
- uses: actions/checkout@v4
35+
36+
# ENABLE THIS ON FIRST TIME SETUP
37+
#- name: Install Strawberry Perl for Shaders compilation
38+
# run: choco install strawberryperl
39+
40+
- name: Install Shader Dependencies
41+
run: cpan String::CRC32
42+
43+
- name: Compile Shaders
44+
working-directory: ${{env.GITHUB_WORKSPACE}}
45+
run: ./materialsystem/swarmshaders/buildshaders.bat deferred_shaders

0 commit comments

Comments
 (0)