Skip to content

Commit 61f68b4

Browse files
committed
Fixed licenses on all workflows
1 parent e0123d3 commit 61f68b4

File tree

5 files changed

+78
-118
lines changed

5 files changed

+78
-118
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# SPDX-License-Identifier: CC0-1.0
22
# SPDX-FileContributor: Carsten Lemmen <carsten.lemmen@hereon.de>
3-
# SPDX-FileCopyright: 2025 Helmholtz-Zentrum hereon GmbH
3+
# SPDX-FileCopyrightText: 2025 Helmholtz-Zentrum hereon GmbH
44

55
# Consistent coding styles across various editors and IDEs
66
# See https://editorconfig.org
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
# SPDX-FileCopyrightText: 2025 Helmholtz-Zentrum hereon GmbH
2+
# SPDX-License-Identifier: CC0-1.0
3+
# SPDX-FileContributor: Carsten Lemmen <carsten.lemmen@hereon.de>
4+
#
5+
# This starter workflow is for a CMake project running on multiple platforms. There is a different starter workflow if you just want a single platform.
6+
# See: https://github.com/actions/starter-workflows/blob/main/ci/cmake-single-platform.yml
7+
name: CMake on multiple platforms
8+
9+
on:
10+
push:
11+
branches: ["gmp"]
12+
pull_request:
13+
branches: ["gmp"]
14+
15+
jobs:
16+
build:
17+
runs-on: ${{ matrix.os }}
18+
19+
strategy:
20+
# 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.
21+
fail-fast: false
22+
23+
# Set up a matrix to run the following 3 configurations:
24+
# 1. <Windows, Release, latest MSVC compiler toolchain on the default runner image, default generator>
25+
# 2. <Linux, Release, latest GCC compiler toolchain on the default runner image, default generator>
26+
# 3. <Linux, Release, latest Clang compiler toolchain on the default runner image, default generator>
27+
#
28+
# To add more build types (Release, Debug, RelWithDebInfo, etc.) customize the build_type list.
29+
matrix:
30+
os: [ubuntu-latest, windows-latest]
31+
build_type: [Release]
32+
c_compiler: [gcc, clang, cl]
33+
include:
34+
- os: windows-latest
35+
c_compiler: cl
36+
cpp_compiler: cl
37+
- os: ubuntu-latest
38+
c_compiler: gcc
39+
cpp_compiler: g++
40+
- os: ubuntu-latest
41+
c_compiler: clang
42+
cpp_compiler: clang++
43+
exclude:
44+
- os: windows-latest
45+
c_compiler: gcc
46+
- os: windows-latest
47+
c_compiler: clang
48+
- os: ubuntu-latest
49+
c_compiler: cl
50+
51+
steps:
52+
- uses: actions/checkout@v4
53+
54+
- name: Set reusable strings
55+
# Turn repeated input strings (such as the build output directory) into step outputs. These step outputs can be used throughout the workflow file.
56+
id: strings
57+
shell: bash
58+
run: |
59+
echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"
60+
61+
- name: Configure CMake
62+
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
63+
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
64+
run: >
65+
cmake -B ${{ steps.strings.outputs.build-output-dir }}
66+
-DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }}
67+
-DCMAKE_C_COMPILER=${{ matrix.c_compiler }}
68+
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
69+
-S ${{ github.workspace }}
70+
71+
- name: Build
72+
# Build your program with the given configuration. Note that --config is needed because the default Windows generator is a multi-config generator (Visual Studio generator).
73+
run: cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }}

.github/workflows/cmake-multi-platform.yml

Lines changed: 0 additions & 75 deletions
This file was deleted.

.github/workflows/r.yml

Lines changed: 0 additions & 40 deletions
This file was deleted.

.reuse/dep5

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ Upstream-Name: Dissolved oxygen and BioGeoChemistry
33
Upstream-Contact: Ovidio Garcia-Oliva <ovidoi.garcia@hereon.de>
44
Source: https://codebase.helmholtz.cloud/dam-elbextreme/oxypom
55

6-
# Sample paragraph, commented out:
7-
#
86
# Files: src/*
97
# Copyright: $YEAR $NAME <$CONTACT>
108
# License: ...
9+
10+
Files: .zenodo.json
11+
Copyright: 2025 Helmholtz-Zentrum hereon GmbH
12+
License: CC0-1.0

0 commit comments

Comments
 (0)