2020-06-10 11:41:28 +00:00
|
|
|
---
|
|
|
|
# vi: ts=2 sw=2 et:
|
2021-10-01 10:10:22 +00:00
|
|
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
2020-06-10 11:41:28 +00:00
|
|
|
#
|
|
|
|
name: Build test
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
paths:
|
|
|
|
- '**/meson.build'
|
|
|
|
- '.github/workflows/**'
|
|
|
|
- 'meson_options.txt'
|
|
|
|
- 'src/**'
|
|
|
|
- 'test/fuzz/**'
|
|
|
|
|
2021-11-13 22:34:04 +00:00
|
|
|
permissions:
|
|
|
|
contents: read
|
2021-11-13 14:40:20 +00:00
|
|
|
|
2020-06-10 11:41:28 +00:00
|
|
|
jobs:
|
|
|
|
build:
|
2022-05-21 14:03:14 +00:00
|
|
|
runs-on: ubuntu-22.04
|
2021-11-10 15:45:12 +00:00
|
|
|
concurrency:
|
2021-12-24 10:50:37 +00:00
|
|
|
group: ${{ github.workflow }}-${{ toJSON(matrix.env) }}-${{ github.ref }}
|
2021-11-10 15:45:12 +00:00
|
|
|
cancel-in-progress: true
|
2020-06-10 11:41:28 +00:00
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
env:
|
2022-05-07 12:40:56 +00:00
|
|
|
- { COMPILER: "gcc", COMPILER_VERSION: "11", LINKER: "bfd", CRYPTOLIB: "gcrypt" }
|
2023-09-25 15:24:26 +00:00
|
|
|
- { COMPILER: "gcc", COMPILER_VERSION: "13", LINKER: "mold", CRYPTOLIB: "openssl" }
|
2023-11-13 15:23:51 +00:00
|
|
|
- { COMPILER: "clang", COMPILER_VERSION: "14", LINKER: "mold", CRYPTOLIB: "gcrypt" }
|
|
|
|
- { COMPILER: "clang", COMPILER_VERSION: "15", LINKER: "bfd", CRYPTOLIB: "openssl" }
|
2023-09-25 15:24:26 +00:00
|
|
|
- { COMPILER: "clang", COMPILER_VERSION: "17", LINKER: "lld", CRYPTOLIB: "auto" }
|
2020-06-10 11:41:28 +00:00
|
|
|
env: ${{ matrix.env }}
|
|
|
|
steps:
|
|
|
|
- name: Repository checkout
|
2024-03-13 16:48:43 +00:00
|
|
|
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
|
2023-08-30 17:58:14 +00:00
|
|
|
- name: Build check
|
2023-09-05 10:07:01 +00:00
|
|
|
run: .github/workflows/build_test.sh
|