-
Notifications
You must be signed in to change notification settings - Fork 7
59 lines (52 loc) · 1.37 KB
/
debug_ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Copyright (c) the JPEG XL Project Authors. All rights reserved.
#
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# Workflow for building and then debugging on a specific commit.
name: Build and Test debugging
on:
push:
branches:
- ci-*-debug
jobs:
ubuntu_build:
name: Ubuntu Build and SSH
runs-on: [ubuntu-latest]
steps:
- name: Install build deps
run: |
sudo apt update
sudo apt install -y \
ccache \
clang-7 \
cmake \
doxygen \
libbrotli-dev \
libgdk-pixbuf2.0-dev \
libgif-dev \
libgtest-dev \
libgtk2.0-dev \
libjpeg-dev \
libopenexr-dev \
libpng-dev \
libwebp-dev \
ninja-build \
pkg-config \
xvfb \
${{ matrix.apt_pkgs }} \
#
echo "CC=clang-7" >> $GITHUB_ENV
echo "CXX=clang++-7" >> $GITHUB_ENV
- name: Checkout the source
uses: actions/checkout@v2
with:
submodules: true
fetch-depth: 2
- name: Build
run: |
./ci.sh $(echo ${{ github.ref }} | sed 's_refs/heads/ci-\([a-z_]*\)-debug_\1_') \
-DJPEGXL_FORCE_SYSTEM_BROTLI=ON
env:
SKIP_TEST: 1
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3