summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Niklas Hasse <jhasse@bixense.com>2020-11-06 19:02:46 (GMT)
committerJan Niklas Hasse <jhasse@bixense.com>2020-11-06 19:21:31 (GMT)
commitc09122cc3d5024b76405b54e7e1ea4564c29bc2f (patch)
tree303fec3b65b5026f610ab37c6708482970d8c05c
parent17bcd4c8d69d3e5a0d11092938d30ac29aeb65e1 (diff)
downloadNinja-c09122cc3d5024b76405b54e7e1ea4564c29bc2f.zip
Ninja-c09122cc3d5024b76405b54e7e1ea4564c29bc2f.tar.gz
Ninja-c09122cc3d5024b76405b54e7e1ea4564c29bc2f.tar.bz2
Replace Travis CI with GitHub Actions
-rw-r--r--.github/workflows/linux.yml21
-rw-r--r--.travis.yml36
2 files changed, 21 insertions, 36 deletions
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml
index 9062d98..cd55262 100644
--- a/.github/workflows/linux.yml
+++ b/.github/workflows/linux.yml
@@ -123,3 +123,24 @@ jobs:
- name: clang-tidy
run: /usr/lib/llvm-10/share/clang/run-clang-tidy.py -header-filter=src
working-directory: build-clang
+
+ build-with-python:
+ runs-on: [ubuntu-latest]
+ container:
+ image: ${{ matrix.image }}
+ strategy:
+ matrix:
+ image: ['ubuntu:14.04', 'ubuntu:16.04', 'ubuntu:18.04']
+ steps:
+ - uses: actions/checkout@v2
+ - name: Install dependencies
+ run: |
+ apt update
+ apt install -y g++ python3
+ - name: ${{ matrix.image }}
+ run: |
+ python3 configure.py --bootstrap
+ ./ninja all
+ ./ninja_test --gtest_filter=-SubprocessTest.SetWithLots
+ python3 misc/ninja_syntax_test.py
+ ./misc/output_test.py
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index e5d7d2b..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,36 +0,0 @@
-matrix:
- include:
- - os: linux
- dist: precise
- compiler: gcc
- - os: linux
- dist: precise
- compiler: clang
- - os: linux
- dist: trusty
- compiler: gcc
- - os: linux
- dist: trusty
- compiler: clang
- - os: linux
- dist: xenial
- compiler: gcc
- - os: linux
- dist: xenial
- compiler: clang
- - os: osx
- osx_image: xcode10
- - os: osx
- osx_image: xcode10.1
-sudo: false
-language: cpp
-before_install:
- - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install re2c ; fi
- - if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then choco install re2c python ; fi
-script:
- - ./misc/ci.py
- - python3 configure.py --bootstrap
- - ./ninja all
- - ./ninja_test --gtest_filter=-SubprocessTest.SetWithLots
- - ./misc/ninja_syntax_test.py
- - ./misc/output_test.py