forked from Dynatrace/openkit-native
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'Dynatrace:main' into main
- Loading branch information
Showing
6,669 changed files
with
693,511 additions
and
642,195 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
|
||
name: Linux Build & Test | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
|
||
jobs: | ||
build: | ||
name: ${{matrix.NAME}} | ||
runs-on: ubuntu-20.04 | ||
strategy: | ||
matrix: | ||
include: | ||
- BUILD_TYPE: "Release" | ||
BUILD_SHARED_LIBS: "On" | ||
NAME: "g++9.3 Release Dynamic x64" | ||
CC: "gcc" | ||
CXX: "g++" | ||
- BUILD_TYPE: "Release" | ||
BUILD_SHARED_LIBS: "Off" | ||
NAME: "g++9.3 Release Static x64" | ||
CC: "gcc" | ||
CXX: "g++" | ||
- BUILD_TYPE: "Release" | ||
BUILD_SHARED_LIBS: "On" | ||
NAME: "clang 10.0 Release Dynamic x64" | ||
CC: "clang" | ||
CXX: "clang++" | ||
- BUILD_TYPE: "Release" | ||
BUILD_SHARED_LIBS: "Off" | ||
NAME: "clang 10.0 Release Static x64" | ||
CC: "clang" | ||
CXX: "clang++" | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Create Working directory | ||
run: mkdir -p build | ||
|
||
- name: Setup cmake | ||
uses: jwlawson/[email protected] | ||
with: | ||
cmake-version: '3.19.1' | ||
|
||
- name: CMake Generation | ||
working-directory: ${{github.workspace}}/build | ||
run: cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=${{matrix.BUILD_TYPE}} -DOPENKIT_BUILD_TESTS=ON -DBUILD_DOC=OFF -DBUILD_SHARED_LIBS=${{matrix.BUILD_SHARED_LIBS}} .. || exit 1 | ||
env: | ||
CC: ${{ matrix.CC }} | ||
CXX: ${{ matrix.CXX }} | ||
|
||
- name: Build | ||
run: cmake --build ${{github.workspace}}/build --config ${{matrix.BUILD_TYPE}} | ||
env: | ||
CC: ${{ matrix.CC }} | ||
CXX: ${{ matrix.CXX }} | ||
|
||
- name: Test | ||
working-directory: ${{github.workspace}}/build | ||
run: ctest -C ${{matrix.BUILD_TYPE}} --timeout 600 --output-on-failure | ||
env: | ||
CC: ${{ matrix.CC }} | ||
CXX: ${{ matrix.CXX }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Windows Build & Test | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
|
||
jobs: | ||
build: | ||
name: ${{matrix.NAME}} | ||
runs-on: windows-2019 | ||
strategy: | ||
matrix: | ||
include: | ||
- BUILD_SHARED_LIBS: "On" | ||
BUILD_TYPE: "Release" | ||
- BUILD_SHARED_LIBS: "Off" | ||
BUILD_TYPE: "Release" | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Create Build Directory | ||
run: md -Name build -Force | ||
|
||
- name: CMake Generation | ||
working-directory: ${{github.workspace}}/build | ||
run: cmake .. -G "Visual Studio 16 2019" "-DCMAKE_CONFIGURATION_TYPES=Debug;Release" -DOPENKIT_BUILD_TESTS=ON -DBUILD_DOC=OFF -DBUILD_SHARED_LIBS=${{matrix.BUILD_SHARED_LIBS}} | ||
|
||
- name: Build | ||
working-directory: ${{github.workspace}}/build | ||
run: cmake --build . --config ${{matrix.BUILD_TYPE}} | ||
|
||
- name: Test | ||
working-directory: ${{github.workspace}}/build | ||
run: ctest -C ${{matrix.BUILD_TYPE}} --timeout 600 --output-on-failure |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.