-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
commit b24dd11 Author: LAGonauta <lagonauta@gmail.com> Date: Sun Nov 19 11:36:05 2023 -0500 Remove duplicate sndfile.dll commit bbb1c70 Author: LAGonauta <lagonauta@gmail.com> Date: Sun Nov 19 11:31:52 2023 -0500 Try to fix sndfile copy commit a2edaa4 Author: LAGonauta <lagonauta@gmail.com> Date: Sun Nov 19 11:28:36 2023 -0500 Try to fix folder creation commit eff07d7 Author: LAGonauta <lagonauta@gmail.com> Date: Sun Nov 19 11:27:13 2023 -0500 Copy sndfile to package commit b830dba Author: LAGonauta <lagonauta@gmail.com> Date: Sun Nov 19 11:22:30 2023 -0500 Download metahook commit 595b33e Author: LAGonauta <lagonauta@gmail.com> Date: Sun Nov 19 10:59:12 2023 -0500 Try to copy only metaaudio.dll commit c8b0780 Author: LAGonauta <lagonauta@gmail.com> Date: Sun Nov 19 08:30:40 2023 -0500 Updated sndfile commit bf04c37 Author: LAGonauta <lagonauta@gmail.com> Date: Sun Nov 19 08:22:57 2023 -0500 Fix upload path commit be62f27 Author: LAGonauta <lagonauta@gmail.com> Date: Sun Nov 19 08:11:41 2023 -0500 Upload artifact commit 40da0c6 Author: LAGonauta <lagonauta@gmail.com> Date: Sun Nov 19 08:07:00 2023 -0500 Move OpenAL SDK to externals commit 632da1a Author: LAGonauta <lagonauta@gmail.com> Date: Sun Nov 19 08:06:09 2023 -0500 Set OpenAL and sndfile libraries the cmake file commit e859c7e Author: LAGonauta <lagonauta@gmail.com> Date: Sun Nov 19 07:58:23 2023 -0500 Do not use temp dir for OpenAL commit aa6993a Author: LAGonauta <lagonauta@gmail.com> Date: Sun Nov 19 07:53:34 2023 -0500 Rename branches.tml to build.yml commit 7dca180 Author: LAGonauta <lagonauta@gmail.com> Date: Sun Nov 19 07:51:43 2023 -0500 Do not create release for other branches commit 6111940 Author: LAGonauta <lagonauta@gmail.com> Date: Sun Nov 19 07:45:06 2023 -0500 Remove unavailable metahook target commit b372f45 Author: LAGonauta <lagonauta@gmail.com> Date: Sun Nov 19 07:41:02 2023 -0500 Checkout and fetch submodules commit 0712060 Author: LAGonauta <lagonauta@gmail.com> Date: Sun Nov 19 07:37:49 2023 -0500 Jsut to test it out commit a71c738 Author: LAGonauta <lagonauta@gmail.com> Date: Sun Nov 19 07:36:36 2023 -0500 Initial github action based on MetaHookSv
- Loading branch information
Showing
41 changed files
with
266 additions
and
4,131 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,88 @@ | ||
name: windows | ||
|
||
on: push | ||
|
||
env: | ||
# Path to the solution file relative to the root of the project. | ||
SOLUTION_FILE_PATH: . | ||
|
||
# Configuration type to build. | ||
# You can convert this to a build matrix if you need coverage of multiple configuration types. | ||
# https://docs.github.com/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix | ||
BUILD_CONFIGURATION: Release | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: windows-2019 | ||
if: github.repository == 'LAGonauta/MetaAudio' | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
|
||
- name: Init dependencies | ||
working-directory: ${{env.GITHUB_WORKSPACE}} | ||
run: build-initdeps.bat | ||
shell: cmd | ||
|
||
- name: Build MetaAudio.dll | ||
working-directory: ${{env.GITHUB_WORKSPACE}} | ||
run: build-MetaAudio.bat | ||
shell: cmd | ||
|
||
- name: Create Output directory | ||
working-directory: ${{env.GITHUB_WORKSPACE}} | ||
run: mkdir Output | ||
shell: cmd | ||
|
||
- name: Copy Build to Output | ||
working-directory: ${{env.GITHUB_WORKSPACE}} | ||
run: | | ||
mkdir "Output\${{env.BUILD_CONFIGURATION}}" | ||
xcopy "Build\${{env.BUILD_CONFIGURATION}}\MetaAudio.dll" "Output\${{env.BUILD_CONFIGURATION}}" /y /e | ||
shell: cmd | ||
|
||
- name: Copy SteamAppsLocation to Output | ||
working-directory: ${{env.GITHUB_WORKSPACE}} | ||
run: | | ||
mkdir "Output\SteamAppsLocation" | ||
copy "SteamAppsLocation\SteamAppsLocation.exe" "Output\SteamAppsLocation" /y | ||
copy "SteamAppsLocation\steam_appid.txt" "Output\SteamAppsLocation" /y | ||
copy "SteamAppsLocation\steam_api.dll" "Output\SteamAppsLocation" /y | ||
shell: cmd | ||
|
||
- name: Copy sndfile to Output | ||
working-directory: ${{env.GITHUB_WORKSPACE}} | ||
run: | | ||
xcopy "externals\libsndfile\lib\sndfile.dll" "Output\externals\libsndfile\lib\" /y /e | ||
shell: cmd | ||
|
||
- name: Copy install bat to Output | ||
working-directory: ${{env.GITHUB_WORKSPACE}} | ||
run: | | ||
copy "install-to-OpposingForce.bat" "Output" /y | ||
copy "install-to-HalfLife.bat" "Output" /y | ||
copy "install-to-DayOfDefeat.bat" "Output" /y | ||
copy "install-to-CSCZDeletedScenes.bat" "Output" /y | ||
copy "install-to-CounterStrike.bat" "Output" /y | ||
copy "install-to-ConditionZero.bat" "Output" /y | ||
copy "install-to-BlueShift.bat" "Output" /y | ||
shell: cmd | ||
|
||
- name: Download MetaHook | ||
run: | | ||
Invoke-WebRequest -Uri https://github.com/hzqst/MetaHookSv/releases/download/v20231119b/MetaHookSv-windows-x86.zip -OutFile MetaHook.zip | ||
if (!(Get-FileHash ./MetaHook.zip).Hash.Equals("BEC1D222274B43B2A2F1E2BFA619BE59A3361F8C0AB1FEA08A375ECC6FBB4ED4")) { | ||
Exit -1 | ||
} | ||
Expand-Archive ./MetaHook.zip -DestinationPath MetaHook/ | ||
New-Item -Type dir -Force ./Output/${{env.BUILD_CONFIGURATION}} | ||
Copy-Item ./MetaHook/Build/svencoop.exe ./Output/${{env.BUILD_CONFIGURATION}}/metahook.exe | ||
shell: pwsh | ||
|
||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: MetaAudio | ||
path: Output/ |
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,108 @@ | ||
name: windows | ||
|
||
on: | ||
push: | ||
tags: | ||
- "v*" | ||
pull_request: | ||
tags: | ||
- "v*" | ||
|
||
env: | ||
# Path to the solution file relative to the root of the project. | ||
SOLUTION_FILE_PATH: . | ||
|
||
# Configuration type to build. | ||
# You can convert this to a build matrix if you need coverage of multiple configuration types. | ||
# https://docs.github.com/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix | ||
BUILD_CONFIGURATION: Release | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: windows-2019 | ||
if: github.repository == 'LAGonauta/MetaAudio' | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
|
||
- name: Init dependencies | ||
working-directory: ${{env.GITHUB_WORKSPACE}} | ||
run: build-initdeps.bat | ||
shell: cmd | ||
|
||
- name: Build MetaAudio.dll | ||
working-directory: ${{env.GITHUB_WORKSPACE}} | ||
run: build-MetaAudio.bat | ||
shell: cmd | ||
|
||
- name: Create Output directory | ||
working-directory: ${{env.GITHUB_WORKSPACE}} | ||
run: mkdir Output | ||
shell: cmd | ||
|
||
- name: Copy Build to Output | ||
working-directory: ${{env.GITHUB_WORKSPACE}} | ||
run: | | ||
mkdir "Output\${{env.BUILD_CONFIGURATION}}" | ||
xcopy "Build\${{env.BUILD_CONFIGURATION}}\MetaAudio.dll" "Output\${{env.BUILD_CONFIGURATION}}" /y /e | ||
shell: cmd | ||
|
||
- name: Copy SteamAppsLocation to Output | ||
working-directory: ${{env.GITHUB_WORKSPACE}} | ||
run: | | ||
mkdir "Output\SteamAppsLocation" | ||
copy "SteamAppsLocation\SteamAppsLocation.exe" "Output\SteamAppsLocation" /y | ||
copy "SteamAppsLocation\steam_appid.txt" "Output\SteamAppsLocation" /y | ||
copy "SteamAppsLocation\steam_api.dll" "Output\SteamAppsLocation" /y | ||
shell: cmd | ||
|
||
- name: Copy sndfile to Output | ||
working-directory: ${{env.GITHUB_WORKSPACE}} | ||
run: | | ||
xcopy "externals\libsndfile\lib\sndfile.dll" "Output\externals\libsndfile\lib\" /y /e | ||
shell: cmd | ||
|
||
- name: Copy install bat to Output | ||
working-directory: ${{env.GITHUB_WORKSPACE}} | ||
run: | | ||
copy "install-to-OpposingForce.bat" "Output" /y | ||
copy "install-to-HalfLife.bat" "Output" /y | ||
copy "install-to-DayOfDefeat.bat" "Output" /y | ||
copy "install-to-CSCZDeletedScenes.bat" "Output" /y | ||
copy "install-to-CounterStrike.bat" "Output" /y | ||
copy "install-to-ConditionZero.bat" "Output" /y | ||
copy "install-to-BlueShift.bat" "Output" /y | ||
shell: cmd | ||
|
||
- name: Download MetaHook | ||
run: | | ||
Invoke-WebRequest -Uri https://github.com/hzqst/MetaHookSv/releases/download/v20231119b/MetaHookSv-windows-x86.zip -OutFile MetaHook.zip | ||
if (!(Get-FileHash ./MetaHook.zip).Hash.Equals("BEC1D222274B43B2A2F1E2BFA619BE59A3361F8C0AB1FEA08A375ECC6FBB4ED4")) { | ||
Exit -1 | ||
} | ||
Expand-Archive ./MetaHook.zip -DestinationPath MetaHook/ | ||
New-Item -Type dir -Force ./Output/${{env.BUILD_CONFIGURATION}} | ||
Copy-Item ./MetaHook/Build/svencoop.exe ./Output/${{env.BUILD_CONFIGURATION}}/metahook.exe | ||
shell: pwsh | ||
|
||
- name: Zipping All | ||
uses: vimtor/action-zip@v1.1 | ||
with: | ||
files: Output/ | ||
dest: MetaAudio-windows-x86.zip | ||
|
||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: MetaAudio | ||
path: MetaAudio-windows-x86.zip | ||
|
||
- name: Create Release | ||
uses: softprops/action-gh-release@v1 | ||
if: startsWith(github.ref, 'refs/tags/') | ||
with: | ||
name: MetaAudio-${{ github.ref }} | ||
files: | | ||
MetaAudio-windows-x86.zip |
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 |
---|---|---|
@@ -1 +1 @@ | ||
225840 | ||
70 |
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
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
Binary file not shown.
Binary file not shown.
Oops, something went wrong.