-
Notifications
You must be signed in to change notification settings - Fork 16
62 lines (54 loc) · 1.75 KB
/
build_test_md.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
57
58
59
60
61
62
# 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 running tests.
name: Build/Test MD
on:
pull_request:
types: [opened, reopened, labeled, unlabeled, synchronize]
paths:
- '**.md'
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
build_test:
name: Ubuntu Build ${{ matrix.name }}
if: ${{ !contains(github.event.pull_request.labels.*.name, 'CI:none') }}
# Include all names of required jobs here
strategy:
matrix:
include:
- name: release
- name: debug
- name: scalar
- name: asan
- name: release-nojpeg
- name: release-lcms2
- name: release:gcc8
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
with:
egress-policy: audit
- run: 'echo "markdown only changes: no build required"'
windows_msys:
name: Windows MSYS2 / ${{ matrix.msystem }}
if: ${{ !contains(github.event.pull_request.labels.*.name, 'CI:none') }}
# Include all msystem of required jobs here
strategy:
matrix:
include:
- msystem: clang64
- msystem: clang32
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
with:
egress-policy: audit
- run: 'echo "markdown only changes: no build required"'