Skip to content

Commit

Permalink
[brief] Fixing the CI script again.
Browse files Browse the repository at this point in the history
[detailed]
- Consolidates it back, but this time adding the proper dependency to
  the formatting step.
- Ensure Linux runs on Ubuntu 24.04.
  • Loading branch information
marovira committed Sep 8, 2024
1 parent e3cf758 commit 0853ca4
Showing 2 changed files with 24 additions and 32 deletions.
27 changes: 24 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,41 @@
name: Build

on:
workflow_call:
push:
branches: [ master ]
paths-ignore:
- '**.md'
- '**.rst'
- 'LICENSE'
- 'data/**'
- '**/release-*.yml'
tags-ignore:
- "*.*.*"
pull_request:
branches: [ master ]
paths-ignore:
- '**.md'
- '**.rst'
- 'LICENSE'
- '**/release-*.yml'
tags-ignore:
- "*.*.*"
workflow_dispatch:

jobs:
format:
uses: ./.github/workflows/clang-format.yml
build:
name: ${{ matrix.config.os }}-${{ matrix.config.preset }}
runs-on: ${{ matrix.config.os }}
needs: format
strategy:
fail-fast: false
matrix:
config:
- {os: "windows-latest", cxx: "msvc", cc: "msvc", preset: "msvc"}
- {os: "ubuntu-latest", cxx: "clang++-18", cc: "clang-18", preset: "clang"}
- {os: "ubuntu-latest", cxx: "gcc-14", cc: "gcc-14", preset: "gcc"}
- {os: "ubuntu-24.04", cxx: "clang++-18", cc: "clang-18", preset: "clang"}
- {os: "ubuntu-24.04", cxx: "gcc-14", cc: "gcc-14", preset: "gcc"}
build: ["Debug", "Release"]
steps:
- name: Chekout
29 changes: 0 additions & 29 deletions .github/workflows/tests.yml

This file was deleted.

0 comments on commit 0853ca4

Please sign in to comment.