diff options
author | Jan Niklas Hasse <jhasse@bixense.com> | 2020-11-06 19:02:46 (GMT) |
---|---|---|
committer | Jan Niklas Hasse <jhasse@bixense.com> | 2020-11-06 19:21:31 (GMT) |
commit | c09122cc3d5024b76405b54e7e1ea4564c29bc2f (patch) | |
tree | 303fec3b65b5026f610ab37c6708482970d8c05c /.github | |
parent | 17bcd4c8d69d3e5a0d11092938d30ac29aeb65e1 (diff) | |
download | Ninja-c09122cc3d5024b76405b54e7e1ea4564c29bc2f.zip Ninja-c09122cc3d5024b76405b54e7e1ea4564c29bc2f.tar.gz Ninja-c09122cc3d5024b76405b54e7e1ea4564c29bc2f.tar.bz2 |
Replace Travis CI with GitHub Actions
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/linux.yml | 21 |
1 files changed, 21 insertions, 0 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 |