GHA: Get it building

This commit is contained in:
Nicolas Williams
2025-12-08 21:48:01 -06:00
parent 76fbb83e86
commit e8f63dd1ac
5 changed files with 105 additions and 45 deletions

View File

@@ -50,16 +50,18 @@ on:
jobs:
unix:
# Run if no [only X] tag, or if [only linux] is present (check both push commits and PR titles)
if: >-
(!contains(github.event.head_commit.message, '[only ') &&
!contains(github.event.pull_request.title, '[only ')) ||
contains(github.event.head_commit.message, '[only linux]') ||
contains(github.event.pull_request.title, '[only linux]')
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
name: [linux-clang, linux-gcc]
name: [linux-gcc]
include:
- name: linux-clang
os: ubuntu-22.04
compiler: clang
cflags: ''
- name: linux-gcc
os: ubuntu-22.04
compiler: gcc