Skip to content

Add c23 flag to cmake action #2

Add c23 flag to cmake action

Add c23 flag to cmake action #2

Workflow file for this run

name: Build
on:
push:
jobs:
build-project:
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v3.5.3
- name: Configure the project
uses: threeal/cmake-action@v1.2.0
with:
c-compiler: gcc
c-flags: -std=c2x
run-build: true
run-test: true
- name: Build the project
run: cmake --build build
- name: Test the project
run: ctest --test-dir build