Skip to content

Commit

Permalink
debug CI
Browse files Browse the repository at this point in the history
  • Loading branch information
rupertnash committed Dec 19, 2023
1 parent 66320cd commit 6d279a3
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/main-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,20 @@ jobs:
with:
name: fluidonly

- name: Debug CI configure
run: >-
cmake
-S ${{github.workspace}}/.github/workflows/testcpp
-B ${{github.workspace}}/build-testcpp
-DCMAKE_BUILD_TYPE=$BUILD_TYPE
- name: Debug CI build
working-directory: ${{github.workspace}}/build-testcpp
env:
VERBOSE: 1
run: |
cmake --build .
- name: Code make build dir
run: mkdir -p ${{github.workspace}}/build

Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/testcpp/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# This file is part of HemeLB and is Copyright (C)
# the HemeLB team and/or their institutions, as detailed in the
# file AUTHORS. This software is provided under the terms of the
# license in the file LICENSE.

cmake_minimum_required (VERSION 3.13)

project(testcpp)

# Set the language standard strictly.
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)

# Config XML checker (confcheck)
add_executable(testprog test.cpp)
3 changes: 3 additions & 0 deletions .github/workflows/testcpp/test.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
int main() {
return 0;
}

0 comments on commit 6d279a3

Please sign in to comment.