From 6fd6a594d46bd8b4da06163abfe0b51c988db828 Mon Sep 17 00:00:00 2001 From: Mori Bellamy Date: Thu, 16 Nov 2023 17:10:56 -0800 Subject: [PATCH] bump to c99 --- .github/workflows/cmake-multi-platform.yml | 27 ++++++++-------------- CMakeLists.txt | 2 +- 2 files changed, 11 insertions(+), 18 deletions(-) diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml index 442e2bc..49c7602 100644 --- a/.github/workflows/cmake-multi-platform.yml +++ b/.github/workflows/cmake-multi-platform.yml @@ -13,26 +13,19 @@ jobs: runs-on: ${{ matrix.os }} strategy: - # Set fail-fast to false to ensure that feedback is delivered for all matrix combinations. Consider changing this to true when your workflow is stable. fail-fast: false - # Set up a matrix to run the following 3 configurations: - # 1. - # 2. - # 3. - # - # To add more build types (Release, Debug, RelWithDebInfo, etc.) customize the build_type list. matrix: - os: [ubuntu-latest, windows-latest] - build_type: [Release] - c_compiler: [gcc, clang, cl] - exclude: - - os: ubuntu-latest - c_compiler: cl - - os: windows-latest - c_compiler: gcc - - os: windows-latest - c_compiler: clang + os: [ubuntu-latest, macos-latest] + build_type: [Release, Debug] + c_compiler: [gcc, clang] +# exclude: +# - os: ubuntu-latest +# c_compiler: cl +# - os: windows-latest +# c_compiler: gcc +# - os: windows-latest +# c_compiler: clang steps: - uses: actions/checkout@v3 diff --git a/CMakeLists.txt b/CMakeLists.txt index 4edc400..902e4f6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.26) project(mousewallet C) enable_testing() -set(CMAKE_C_STANDARD 90) +set(CMAKE_C_STANDARD 99) set(CMAKE_C_EXTENSIONS OFF) if (NOT CMAKE_BUILD_TYPE)