Skip to content

Commit

Permalink
Merge pull request #10 from prathameshd30/prathameshd30-git-actions
Browse files Browse the repository at this point in the history
Improve CMake GitHub actions workflow
  • Loading branch information
prathameshd30 authored Aug 14, 2024
2 parents c133ede + fd50f69 commit f8c5a95
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/cmake-multi-platform-val.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
name: Multiplatform CMake Build, CTest, Valgrind Profiling

on:
push:
branches:
- main
pull_request:
branches:
- main
paths-ignore:
- 'README.md'

workflow_dispatch:

jobs:
Expand Down Expand Up @@ -95,4 +104,4 @@ jobs:




3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ cmake_minimum_required(VERSION 3.28) # Needed to reduce version for compatibilit
project(prime-headers)

set(CMAKE_C_STANDARD 11)

set(CMAKE_C_STANDARD_REQUIRED ON)
set(CMAKE_BUILD_TYPE Debug)
##set(CMAKE_BUILD_TYPE Release)

# deliberately not including these subdirectories by glob regex as precaution

Expand Down

0 comments on commit f8c5a95

Please sign in to comment.