mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-18 00:49:19 +02:00
Add complete shader copy
This commit is contained in:
@@ -21,12 +21,19 @@ install:
|
|||||||
before_build:
|
before_build:
|
||||||
- cmd: |
|
- cmd: |
|
||||||
if not exist build mkdir build
|
if not exist build mkdir build
|
||||||
cd build
|
# cd build
|
||||||
cmake .. -G "Visual Studio 17 2022" -A x64 -DCMAKE_BUILD_TYPE=%CONFIG%
|
cmake .. -G "Visual Studio 17 2022" -A x64 -DCMAKE_BUILD_TYPE=%CONFIG%
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- cmd: |
|
- cmd: |
|
||||||
cmake --build . --config %CONFIG% --parallel
|
cmake --build . --config %CONFIG% --parallel
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
after_build:
|
||||||
|
- cmd: |
|
||||||
|
echo Copying shaders...
|
||||||
|
if not exist build\bin\%CONFIG%\shaders mkdir build\bin\%CONFIG%\shaders
|
||||||
|
xcopy /E /Y shaders build\bin\%CONFIG%\shaders\
|
||||||
|
|
||||||
artifacts:
|
artifacts:
|
||||||
- path: build\bin\%CONFIG%\*.exe
|
- path: build\bin\%CONFIG%\*.exe
|
||||||
|
|||||||
Reference in New Issue
Block a user