diff options
author | Jan Niklas Hasse <jhasse@bixense.com> | 2020-12-05 22:41:18 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-05 22:41:18 (GMT) |
commit | deb542192b9861c3ce249a2937ef8e62735e7270 (patch) | |
tree | afd52ddffed78627305f5b75938065509d915845 /.github | |
parent | 7705fedfaf89907448b089ded209b79cc3347f5d (diff) | |
parent | c09122cc3d5024b76405b54e7e1ea4564c29bc2f (diff) | |
download | Ninja-deb542192b9861c3ce249a2937ef8e62735e7270.zip Ninja-deb542192b9861c3ce249a2937ef8e62735e7270.tar.gz Ninja-deb542192b9861c3ce249a2937ef8e62735e7270.tar.bz2 |
Merge pull request #1873 from jhasse/remove-travis
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 |