Browse Source

remove Travis/AppVeyor

Andy Li 6 years ago
parent
commit
10518535b7
5 changed files with 1 additions and 278 deletions
  1. 0 125
      .travis.yml
  2. 0 40
      Dockerfile
  3. 0 40
      Dockerfile-i386
  4. 1 2
      README.md
  5. 0 71
      appveyor.yml

+ 0 - 125
.travis.yml

@@ -1,125 +0,0 @@
-language: haxe
-
-linux64_install: &linux64_install
-  - docker build -f Dockerfile -t hashlink .
-
-linux32_install: &linux32_install
-  - docker build -f Dockerfile-i386 -t hashlink .
-
-docker_cmake_script: &docker_cmake_script
-  - >
-    docker run hashlink bash -c
-    'set -ex &&
-    (if [ "$ARCH" = "32" ]; then
-      cmake . -DCMAKE_TOOLCHAIN_FILE=other/cmake/linux32.toolchain.cmake;
-    else
-      cmake .;
-    fi) &&
-    make &&
-    make test ARGS=-V'
-
-docker_make_script: &docker_make_script
-  - >
-    docker run hashlink bash -c
-    'set -ex &&
-    make all &&
-    make install &&
-    ldconfig &&
-    haxe -hl hello.hl -cp other/tests -main HelloWorld -D interp &&
-    ./hl hello.hl &&
-    haxe -hl src/_main.c -cp other/tests -main HelloWorld &&
-    make hlc &&
-    ./hlc'
-
-mac_before_install: &mac_before_install
-  - brew update
-  - brew bundle
-  - haxelib install hashlink
-
-cmake_install: &cmake_install
-  - cmake .
-  - make
-
-make_install: &make_install
-  - make all
-  - sudo make install
-
-cmake_script: &cmake_script
-  - make test ARGS="-V"
-
-make_script: &make_script
-  - haxe -hl src/_main.c -cp other/tests -main HelloWorld &&
-    make hlc &&
-    ./hlc
-
-sudo: required
-matrix:
-  include:
-    # Linting
-    - os: linux
-      dist: trusty
-      env: LINTING
-      install:
-        - sudo pip install cmakelint==1.3.4.1
-      script:
-        - cmakelint --filter=-linelength $(find . -name 'CMakeLists.txt' -print)
-    # Linux 64-bit
-    - haxe: development
-      os: linux
-      dist: trusty
-      env: ARCH=64 BUILD=cmake
-      services: [docker]
-      install: *linux64_install
-      script: *docker_cmake_script
-    - haxe: development
-      os: linux
-      dist: trusty
-      env: ARCH=64 BUILD=make
-      services: [docker]
-      install: *linux64_install
-      script: *docker_make_script
-    # Linux 32-bit
-    - haxe: development
-      os: linux
-      dist: trusty
-      env: ARCH=32 BUILD=cmake
-      services: [docker]
-      install: *linux32_install
-      script: *docker_cmake_script
-    - haxe: development
-      os: linux
-      dist: trusty
-      env: ARCH=32 BUILD=make
-      services: [docker]
-      install: *linux32_install
-      script: *docker_make_script
-    # Mac xcode10.1
-    - haxe: development
-      os: osx
-      osx_image: xcode10.1
-      env: ARCH=64 BUILD=cmake
-      before_install: *mac_before_install
-      install: *cmake_install
-      script: *cmake_script
-    - haxe: development
-      os: osx
-      osx_image: xcode10.1
-      env: ARCH=64 BUILD=make
-      before_install: *mac_before_install
-      install: *make_install
-      script: *make_script
-    # Mac xcode9.4
-    - haxe: development
-      os: osx
-      osx_image: xcode9.4
-      env: ARCH=64 BUILD=cmake
-      before_install: *mac_before_install
-      install: *cmake_install
-      script: *cmake_script
-    - haxe: development
-      os: osx
-      osx_image: xcode9.4
-      env: ARCH=64 BUILD=make
-      before_install: *mac_before_install
-      install: *make_install
-      script: *make_script

+ 0 - 40
Dockerfile

@@ -1,40 +0,0 @@
-FROM debian:stretch
-
-RUN apt-get update && apt-get install -y --no-install-recommends \
-        cmake \
-        make \
-        gcc \
-        libz-dev \
-        zlib1g-dev \
-        libpng-dev \
-        libsdl2-dev \
-        libvorbis-dev \
-        libalut-dev \
-        libmbedtls-dev \
-        libturbojpeg0-dev \
-        libuv1-dev \
-        libopenal-dev \
-        neko \
-        curl \
-        ca-certificates \
-    && rm -rf /var/lib/apt/lists/*
-
-ENV HAXE_STD_PATH=/usr/local/share/haxe/std
-RUN set -ex \
-    && mkdir /haxe \
-    && cd /haxe \
-    && curl -sSL https://build.haxe.org/builds/haxe/linux64/haxe_latest.tar.gz | tar -x -z --strip-components=1 -f - \
-    && ln -s /haxe/haxe /haxe/haxelib /usr/local/bin/ \
-    && mkdir -p `dirname "$HAXE_STD_PATH"` \
-    && ln -s /haxe/std "$HAXE_STD_PATH" \
-    && cd ..
-
-RUN set -ex \
-    && mkdir /haxelib \
-    && haxelib setup /haxelib
-
-RUN haxelib install hashlink
-
-COPY . /hashlink
-WORKDIR /hashlink
-ENV ARCH=64

+ 0 - 40
Dockerfile-i386

@@ -1,40 +0,0 @@
-FROM debian:stretch
-
-RUN dpkg --add-architecture i386 && apt-get update && apt-get install -y --no-install-recommends \
-        cmake \
-        make \
-        gcc-multilib \
-        libz-dev:i386 \
-        zlib1g-dev:i386 \
-        libpng-dev:i386 \
-        libsdl2-dev:i386 \
-        libvorbis-dev:i386 \
-        libalut-dev:i386 \
-        libmbedtls-dev:i386 \
-        libturbojpeg0-dev:i386 \
-        libuv1-dev:i386 \
-        libopenal-dev:i386 \
-        neko \
-        curl \
-        ca-certificates \
-    && rm -rf /var/lib/apt/lists/*
-
-ENV HAXE_STD_PATH=/usr/local/share/haxe/std
-RUN set -ex \
-    && mkdir /haxe \
-    && cd /haxe \
-    && curl -sSL https://build.haxe.org/builds/haxe/linux64/haxe_latest.tar.gz | tar -x -z --strip-components=1 -f - \
-    && ln -s /haxe/haxe /haxe/haxelib /usr/local/bin/ \
-    && mkdir -p `dirname "$HAXE_STD_PATH"` \
-    && ln -s /haxe/std "$HAXE_STD_PATH" \
-    && cd ..
-
-RUN set -ex \
-    && mkdir /haxelib \
-    && haxelib setup /haxelib
-
-RUN haxelib install hashlink
-
-COPY . /hashlink
-WORKDIR /hashlink
-ENV ARCH=32

+ 1 - 2
README.md

@@ -1,7 +1,6 @@
 # HashLink
 
-[![TravisCI Build Status](https://travis-ci.org/HaxeFoundation/hashlink.svg?branch=master)](https://travis-ci.org/HaxeFoundation/hashlink)
-[![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/HaxeFoundation/hashlink?branch=master&svg=true)](https://ci.appveyor.com/project/HaxeFoundation/hashlink)
+[![Build Status](https://dev.azure.com/HaxeFoundation/GitHubPublic/_apis/build/status/HaxeFoundation.hashlink?branchName=master)](https://dev.azure.com/HaxeFoundation/GitHubPublic/_build/latest?definitionId=4&branchName=master)
 
 HashLink is a virtual machine for Haxe https://hashlink.haxe.org
 

+ 0 - 71
appveyor.yml

@@ -1,71 +0,0 @@
-version: "{build}"
-
-image:
-  - Visual Studio 2015
-
-platform: Win32
-configuration: Release
-
-environment:
-  global:
-    HAXELIB_ROOT: C:\projects\haxelib
-  matrix:
-    - ARCH: 32
-      builder: vc
-    - ARCH: 32
-      CMAKE_GENERATOR: "Visual Studio 14 2015"
-      builder: cmake
-    - ARCH: 64
-      CMAKE_GENERATOR: "Visual Studio 14 2015 Win64"
-      builder: cmake
-
-artifacts:
-  - path: 'bin/hashlink-*.zip'
-
-install:
-  # install sdl
-  - appveyor DownloadFile https://www.libsdl.org/release/SDL2-devel-2.0.5-VC.zip
-  - 7z x SDL2-devel-2.0.5-VC.zip
-  - move SDL2-2.0.5 include/sdl
-  # install openal
-  - appveyor DownloadFile http://openal-soft.org/openal-binaries/openal-soft-1.17.2-bin.zip
-  - 7z x openal-soft-1.17.2-bin.zip
-  - move openal-soft-1.17.2-bin include/openal
-  # install ffmpeg
-  - appveyor DownloadFile https://ffmpeg.zeranoe.com/builds/win%ARCH%/dev/ffmpeg-3.4.2-win%ARCH%-dev.zip
-  - 7z x ffmpeg-3.4.2-win%ARCH%-dev.zip
-  - move ffmpeg-3.4.2-win%ARCH%-dev include/ffmpeg
-  # install neko and haxe
-  - ps: Set-Service wuauserv -StartupType Manual
-  - cinst neko --version 2.2.0 -y
-  - cinst haxe --prerelease --ignore-dependencies -s 'https://ci.appveyor.com/nuget/haxe' -y
-  - RefreshEnv
-  - neko -version
-  - haxe -version
-  # setup haxelib
-  - mkdir "%HAXELIB_ROOT%"
-  - haxelib setup "%HAXELIB_ROOT%"
-  - haxelib install hashlink
-
-build_script:
-  # if "%builder%"=="vc"
-  - if "%builder%"=="vc"      msbuild libhl.vcxproj                 /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
-  - if "%builder%"=="vc"      msbuild hl.vcxproj                    /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
-  - if "%builder%"=="vc"      msbuild libs/directx/directx.vcxproj  /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
-  - if "%builder%"=="vc"      msbuild libs/fmt/fmt.vcxproj          /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
-  - if "%builder%"=="vc"      msbuild libs/openal/openal.vcxproj    /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
-  - if "%builder%"=="vc"      msbuild libs/sdl/sdl.vcxproj          /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
-  - if "%builder%"=="vc"      msbuild libs/sqlite/sqlite.vcxproj    /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
-  - if "%builder%"=="vc"      msbuild libs/ssl/ssl.vcxproj          /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
-  - if "%builder%"=="vc"      msbuild libs/ui/ui.vcxproj            /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
-  - if "%builder%"=="vc"      msbuild libs/uv/uv.vcxproj            /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
-  - if "%builder%"=="vc"      msbuild libs/video/video.vcxproj      /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
-  # if "%builder%"=="cmake"
-  - if "%builder%"=="cmake"   cmake -G "%CMAKE_GENERATOR%" .
-  - if "%builder%"=="cmake"   msbuild ALL_BUILD.vcxproj     /p:Configuration=Release /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
-  - if "%builder%"=="cmake"   msbuild RUN_TESTS.vcxproj     /p:Configuration=Release /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
-  - if "%builder%"=="cmake"   cpack
-
-test: off
-# test_script:
-#   - if "%builder%"=="cmake"   msbuild RUN_TESTS.vcxproj     /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"