-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Переформатирование способа сборки проекта
- Loading branch information
1 parent
1a92e58
commit 4c19080
Showing
15 changed files
with
51 additions
and
2 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Build Project | ||
|
||
# Workflow will trigger on any push to the master/main branch | ||
on: | ||
push: | ||
branches: | ||
- master | ||
- main | ||
|
||
jobs: | ||
Build: | ||
# Building server | ||
runs-on: windows-2022 | ||
# Commands to complete task | ||
steps: | ||
|
||
# Cloning all repository | ||
- name: Get Sources | ||
uses: actions/checkout@v4 | ||
|
||
# Compile it via shitty .bat file | ||
- name: Compile Project | ||
shell: cmd | ||
run: zBuild.bat | ||
|
||
# Upload artifact to the GitHub | ||
- name: Upload Artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: TI_RU-${{github.sha}} | ||
path: Build/** |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
# В папке должна содержаться актуальная версия мода, чтобы на него можно было накатить изменения для тестирования | ||
_Test | ||
Build |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
@echo off | ||
chcp 65001 > nul | ||
set mix=ecache98 | ||
|
||
echo Delete build cache... | ||
rmdir /q /s Build > nul 2> nul | ||
mkdir Build | ||
mkdir Build\MIX | ||
|
||
echo Copy files... | ||
xcopy Source\* Build\* /e /y | ||
|
||
echo Compiling %mix%.mix... | ||
Tools\ccmix.exe --create --lmd --game=ts --dir "Source\%mix%" --mix Build\MIX\%mix%.mix | ||
rmdir /q /s Build\%mix% > nul 2> nul | ||
|
||
echo Done. Please, check Build folder. |