diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100755 index 5f6d6d48d7..0000000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,13 +0,0 @@ -version: 2 -jobs: - build: - docker: - - image: buildpack-deps:xenial - steps: - - checkout - - run: apt-get -y update - - run: apt install -y ruby gperf flex bison - - run: python ./build.py --confirm --release --silent --jobs 2 - - run: bin/phantomjs --version - - run: ldd bin/phantomjs - - run: python test/run-tests.py --verbose diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 0000000000..7f76c92f3d --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,40 @@ +jobs: + +- job: 'amd64_linux_gcc' + pool: + vmImage: 'ubuntu-18.04' + steps: + - script: sudo apt-get -y -qq update + displayName: 'apt-get update' + - script: sudo apt install -y g++ cmake qt5-default libqt5webkit5-dev python + displayName: 'Install requirements' + - script: g++ --version && cmake --version && qmake --version && python --version + displayName: 'Display tools version' + - script: ./configure + displayName: 'Run configure script' + - script: make + displayName: 'make' + - script: file ./bin/phantomjs && ./bin/phantomjs --version + displayName: 'Verify executable' + - script: make check + displayName: 'Run the tests' + +- job: 'amd64_linux_clang' + pool: + vmImage: 'ubuntu-18.04' + steps: + - script: sudo apt-get -y -qq update + displayName: 'apt-get update' + - script: sudo apt install -y clang cmake qt5-default libqt5webkit5-dev python + displayName: 'Install requirements' + - script: clang++ --version && cmake --version && qmake --version && python --version + displayName: 'Display tools version' + - script: CC=clang CXX=clang++ ./configure + displayName: 'Run configure script' + - script: make + displayName: 'make' + - script: file ./bin/phantomjs && ./bin/phantomjs --version + displayName: 'Verify executable' + - script: make check + displayName: 'Run the tests' +