mirror of
https://github.com/accelerator74/Cleaner.git
synced 2025-12-07 18:48:26 +00:00
Update workflow
This commit is contained in:
parent
62ce9364e1
commit
13a3757026
18
.github/workflows/build.yml
vendored
18
.github/workflows/build.yml
vendored
@ -65,23 +65,6 @@ jobs:
|
|||||||
echo "CC=clang" >> $GITHUB_ENV
|
echo "CC=clang" >> $GITHUB_ENV
|
||||||
echo "CXX=clang++" >> $GITHUB_ENV
|
echo "CXX=clang++" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Add msbuild to PATH (Windows)
|
|
||||||
if: startsWith(runner.os, 'Windows')
|
|
||||||
uses: microsoft/setup-msbuild@v2
|
|
||||||
|
|
||||||
- name: Install (Windows)
|
|
||||||
if: startsWith(runner.os, 'Windows')
|
|
||||||
shell: cmd
|
|
||||||
run: |
|
|
||||||
:: See https://github.com/microsoft/vswhere/wiki/Find-VC
|
|
||||||
for /f "usebackq delims=*" %%i in (`vswhere -latest -property installationPath`) do (
|
|
||||||
call "%%i"\Common7\Tools\vsdevcmd.bat -arch=x86 -host_arch=x64
|
|
||||||
)
|
|
||||||
:: Loop over all environment variables and make them global.
|
|
||||||
for /f "delims== tokens=1,2" %%a in ('set') do (
|
|
||||||
echo>>"%GITHUB_ENV%" %%a=%%b
|
|
||||||
)
|
|
||||||
|
|
||||||
- name: Checking out SourceMod
|
- name: Checking out SourceMod
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
@ -148,6 +131,7 @@ jobs:
|
|||||||
path: src
|
path: src
|
||||||
|
|
||||||
- name: Compiling ${{ github.event.repository.name }} files
|
- name: Compiling ${{ github.event.repository.name }} files
|
||||||
|
shell: bash
|
||||||
working-directory: src
|
working-directory: src
|
||||||
run: |
|
run: |
|
||||||
mkdir build
|
mkdir build
|
||||||
|
|||||||
@ -484,7 +484,7 @@ class ExtensionConfig(object):
|
|||||||
|
|
||||||
if compiler.target.platform == 'linux':
|
if compiler.target.platform == 'linux':
|
||||||
if sdk.name in ['csgo', 'blade']:
|
if sdk.name in ['csgo', 'blade']:
|
||||||
compiler.linkflags.remove('-static-libstdc++')
|
#compiler.linkflags.remove('-static-libstdc++')
|
||||||
compiler.defines += ['_GLIBCXX_USE_CXX11_ABI=0']
|
compiler.defines += ['_GLIBCXX_USE_CXX11_ABI=0']
|
||||||
|
|
||||||
for path in paths:
|
for path in paths:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user