summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Ekström <jeebjp@gmail.com>2021-07-25 12:01:06 +0300
committerJan Ekström <jeebjp@gmail.com>2021-07-25 16:49:32 +0300
commit08b82f56cd82913c4921456ba7a919b2f122addb (patch)
treeed7eed6bb3f557ea1e479654984f56ccbfcfd0d7
parent955736b7b74d6609dfcf2e349cd227ccf5745899 (diff)
downloadmpv-08b82f56cd82913c4921456ba7a919b2f122addb.tar.bz2
mpv-08b82f56cd82913c4921456ba7a919b2f122addb.tar.xz
github/workflows: add linux CI
-rw-r--r--.github/workflows/build.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 01e1981ade..80ac1280e4 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -66,3 +66,29 @@ jobs:
if: ${{ failure() }}
run: |
cat ./build/config.log
+ linux:
+ runs-on: "ubuntu-20.04"
+ container:
+ image: "registry.cirno.systems/kiwi/containers/mpv-ci:stable-deps"
+ env:
+ CC: "${{ matrix.cc }}"
+ strategy:
+ matrix:
+ cc:
+ - "gcc"
+ - "clang"
+ steps:
+ - uses: actions/checkout@v2
+
+ - name: Install dependencies
+ run: |
+ ./bootstrap.py
+
+ - name: Build
+ run: |
+ ./ci/build-tumbleweed.sh
+
+ - name: Print configure log
+ if: ${{ failure() }}
+ run: |
+ cat ./build/config.log