remove old ci scripts

This commit is contained in:
BlackMATov
2023-01-08 12:04:51 +07:00
parent 35b0361947
commit fa30679a64
10 changed files with 0 additions and 246 deletions

View File

@@ -1,36 +0,0 @@
environment:
global:
E2D_WITHOUT_AUDIO: true
E2D_WITHOUT_GRAPHICS: true
image:
- Visual Studio 2017
- Visual Studio 2019
platform:
- x86
- x64
configuration:
- Release
for:
-
matrix:
only:
- platform: x86
configuration: Release
build_script:
- .ci\builds\build_windows_x86.bat
-
matrix:
only:
- platform: x64
configuration: Release
build_script:
- .ci\builds\build_windows_x64.bat
before_build:
- git submodule update --init --recursive

View File

@@ -1,21 +0,0 @@
#!/bin/bash
set -e
DIR="$( cd "$( dirname "${BASH_SOURCE}" )" && pwd )"
ROOT_DIR="${DIR}/../.."
BUILD_DIR="${ROOT_DIR}/build/coverage"
mkdir -p "${BUILD_DIR}"
(cd "${BUILD_DIR}" && cmake "${ROOT_DIR}" -DCMAKE_BUILD_TYPE=Debug -DE2D_BUILD_WITH_COVERAGE=ON)
(cd "${BUILD_DIR}" && cmake --build .)
(cd "${BUILD_DIR}" && lcov -d . -z)
(cd "${BUILD_DIR}" && ctest --verbose)
(cd "${BUILD_DIR}" && lcov -d . -c -o "coverage.info")
(cd "${BUILD_DIR}" && lcov -r "coverage.info"\
"*/usr/*" "*/Xcode.app/*" "*/untests/*" "*/samples/*" "*/3rdparty/*" "*/modules/*"\
-o "coverage.info")
(cd "${BUILD_DIR}" && lcov -l "coverage.info")
bash <(curl -s https://codecov.io/bash) -f "${BUILD_DIR}/coverage.info" || echo "Codecov did not collect coverage reports"

View File

@@ -1,11 +0,0 @@
#!/bin/bash
set -e
DIR="$( cd "$( dirname "${BASH_SOURCE}" )" && pwd )"
ROOT_DIR="${DIR}/../.."
BUILD_DIR="${ROOT_DIR}/build/darwin"
mkdir -p "${BUILD_DIR}"
(cd "${BUILD_DIR}" && cmake "${ROOT_DIR}" -DCMAKE_BUILD_TYPE=Release)
(cd "${BUILD_DIR}" && cmake --build .)
(cd "${BUILD_DIR}" && ctest --verbose)

View File

@@ -1,11 +0,0 @@
#!/bin/bash
set -e
DIR="$( cd "$( dirname "${BASH_SOURCE}" )" && pwd )"
ROOT_DIR="${DIR}/../.."
BUILD_DIR="${ROOT_DIR}/build/linux"
mkdir -p "${BUILD_DIR}"
(cd "${BUILD_DIR}" && cmake "${ROOT_DIR}" -DCMAKE_BUILD_TYPE=Release)
(cd "${BUILD_DIR}" && cmake --build .)
(cd "${BUILD_DIR}" && ctest --verbose)

View File

@@ -1,19 +0,0 @@
@echo off
set DIR=%~dp0
set ROOT_DIR=%DIR%..\..\
set BUILD_DIR=%ROOT_DIR%build\windows_x64\
if not exist %BUILD_DIR% mkdir %BUILD_DIR% || goto :error
pushd %BUILD_DIR% || goto :error
cmake %ROOT_DIR% -A x64 || goto :error
cmake --build . --config Release || goto :error
ctest --verbose || goto :error
popd || goto :error
goto :EOF
:error
echo Failed with error #%errorlevel%.
exit /b %errorlevel%

View File

@@ -1,19 +0,0 @@
@echo off
set DIR=%~dp0
set ROOT_DIR=%DIR%..\..\
set BUILD_DIR=%ROOT_DIR%build\windows_x86\
if not exist %BUILD_DIR% mkdir %BUILD_DIR% || goto :error
pushd %BUILD_DIR% || goto :error
cmake %ROOT_DIR% -A Win32 || goto :error
cmake --build . --config Release || goto :error
ctest --verbose || goto :error
popd || goto :error
goto :EOF
:error
echo Failed with error #%errorlevel%.
exit /b %errorlevel%

View File

@@ -1,18 +0,0 @@
@echo off
set DIR=%~dp0
set ROOT_DIR=%DIR%..\..\
set BUILD_DIR=%ROOT_DIR%build\msvc2017_windows\
if not exist %BUILD_DIR% mkdir %BUILD_DIR% || goto :error
pushd %BUILD_DIR% || goto :error
cmake %ROOT_DIR% -G "Visual Studio 15 2017" || goto :error
start enduro2d.sln || goto :error
popd || goto :error
goto :EOF
:error
echo Failed with error #%errorlevel%.
exit /b %errorlevel%

View File

@@ -1,18 +0,0 @@
@echo off
set DIR=%~dp0
set ROOT_DIR=%DIR%..\..\
set BUILD_DIR=%ROOT_DIR%build\msvc2019_windows\
if not exist %BUILD_DIR% mkdir %BUILD_DIR% || goto :error
pushd %BUILD_DIR% || goto :error
cmake %ROOT_DIR% -G "Visual Studio 16 2019" || goto :error
start enduro2d.sln || goto :error
popd || goto :error
goto :EOF
:error
echo Failed with error #%errorlevel%.
exit /b %errorlevel%

View File

@@ -1,10 +0,0 @@
#!/bin/bash
set -e
DIR="$( cd "$( dirname "${BASH_SOURCE}" )" && pwd )"
ROOT_DIR="${DIR}/../.."
BUILD_DIR="${ROOT_DIR}/build/xcode_darwin"
mkdir -p "$BUILD_DIR"
(cd "${BUILD_DIR}" && cmake "${ROOT_DIR}" -G Xcode)
(cd "${BUILD_DIR}" && open "enduro2d.xcodeproj")

View File

@@ -1,83 +0,0 @@
env:
global:
- E2D_WITHOUT_AUDIO=true
- E2D_WITHOUT_GRAPHICS=true
language: cpp
jobs:
include:
#
# linux (g++)
#
- os: linux
dist: bionic
stage: linux
name: g++-7
addons: { apt: { sources: ["ubuntu-toolchain-r-test"], packages: ["libx11-dev", "libgl1-mesa-dev", "xorg-dev", "g++-7"] } }
env: CC=gcc-7 CXX=g++-7
script: .ci/builds/build_linux.sh
- os: linux
dist: bionic
stage: linux
name: g++-8
addons: { apt: { sources: ["ubuntu-toolchain-r-test"], packages: ["libx11-dev", "libgl1-mesa-dev", "xorg-dev", "g++-8"] } }
env: CC=gcc-8 CXX=g++-8
script: .ci/builds/build_linux.sh
#
# linux (clang++)
#
- os: linux
dist: bionic
stage: linux
name: clang++-5.0
addons: { apt: { sources: ["ubuntu-toolchain-r-test"], packages: ["libx11-dev", "libgl1-mesa-dev", "xorg-dev", "clang-5.0"] } }
env: CC=clang-5.0 CXX=clang++-5.0
script: .ci/builds/build_linux.sh
- os: linux
dist: bionic
stage: linux
name: clang++-6.0
addons: { apt: { sources: ["ubuntu-toolchain-r-test"], packages: ["libx11-dev", "libgl1-mesa-dev", "xorg-dev", "clang-6.0"] } }
env: CC=clang-6.0 CXX=clang++-6.0
script: .ci/builds/build_linux.sh
#
# darwin
#
- os: osx
osx_image: xcode10
stage: darwin
name: xcode10
addons: { homebrew: { packages: ["git-lfs"], update: true } }
script: .ci/builds/build_darwin.sh
- os: osx
osx_image: xcode11
stage: darwin
name: xcode11
addons: { homebrew: { packages: ["git-lfs"], update: true } }
script: .ci/builds/build_darwin.sh
#
# coverage
#
- os: osx
osx_image: xcode10
stage: coverage
name: coverage, xcode10
addons: { homebrew: { packages: ["git-lfs", "lcov"], update: true } }
script: .ci/builds/build_coverage.sh
before_script:
- git submodule update --init --recursive
- git lfs install
- git lfs pull