update build script
This commit is contained in:
+12
-13
@@ -7,10 +7,7 @@ branches:
|
|||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
- DEPS_DIR=${HOME}/deps
|
- DEPS_DIR=${HOME}/deps
|
||||||
- SMBRANCH=1.10-dev
|
|
||||||
- MMBRANCH=1.11-dev
|
|
||||||
before_install:
|
|
||||||
- git clone -b 2.1-distutils https://github.com/alliedmodders/ambuild ${DEPS_DIR}/ambuild
|
|
||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
- name: Windows
|
- name: Windows
|
||||||
@@ -19,22 +16,24 @@ jobs:
|
|||||||
before_install:
|
before_install:
|
||||||
- choco install python --version=3.8.2
|
- choco install python --version=3.8.2
|
||||||
- export PATH="/c/Python38:/c/Python38/Scripts:$PATH"
|
- export PATH="/c/Python38:/c/Python38/Scripts:$PATH"
|
||||||
|
env:
|
||||||
|
- SMBRANCH=1.10-dev
|
||||||
|
- MMBRANCH=1.11-dev
|
||||||
before_script:
|
before_script:
|
||||||
- choco install -y visualstudio2019buildtools --package-parameters "--add Microsoft.VisualStudio.Component.VC.Tools.x86.x64"
|
- choco install -y visualstudio2019buildtools --package-parameters "--add Microsoft.VisualStudio.Component.VC.Tools.x86.x64"
|
||||||
script:
|
script:
|
||||||
- ./build.bat
|
- ./build.bat
|
||||||
- name: Linux
|
- name: Linux
|
||||||
dist: xenial
|
dist: bionic
|
||||||
python: 3
|
python: 3.7
|
||||||
|
env:
|
||||||
|
- SMBRANCH=1.10-dev
|
||||||
|
- MMBRANCH=1.11-dev
|
||||||
before_script:
|
before_script:
|
||||||
- sudo apt-get install -y gcc-multilib g++-multilib binutils python3-setuptools
|
- chmod +x ./build.sh
|
||||||
- |
|
|
||||||
pushd ${DEPS_DIR}/ambuild
|
|
||||||
sudo python3 setup.py install
|
|
||||||
popd
|
|
||||||
- chmod +x build.sh
|
|
||||||
script:
|
script:
|
||||||
- "./build.sh"
|
- ./build.sh
|
||||||
|
|
||||||
before_deploy:
|
before_deploy:
|
||||||
- git config --local user.name "Kxnrl"
|
- git config --local user.name "Kxnrl"
|
||||||
- git config --local user.email "[email protected]"
|
- git config --local user.email "[email protected]"
|
||||||
|
|||||||
Reference in New Issue
Block a user