Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libfortran-support
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
icon-libraries
libfortran-support
Commits
3db3ab46
Commit
3db3ab46
authored
1 year ago
by
Sergey Kosukhin
Committed by
Jonas Jucker
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Apply 5 suggestion(s) to 2 file(s)
parent
9cbd0162
No related branches found
No related tags found
1 merge request
!11
Cmake-infrastructure for tests and CI-setup for Levante
Pipeline
#39500
passed
1 year ago
Stage: build_and_test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+1
-0
1 addition, 0 deletions
.gitlab-ci.yml
test/CMakeLists.txt
+10
-8
10 additions, 8 deletions
test/CMakeLists.txt
with
11 additions
and
8 deletions
.gitlab-ci.yml
+
1
−
0
View file @
3db3ab46
...
@@ -14,6 +14,7 @@ gcc11:
...
@@ -14,6 +14,7 @@ gcc11:
-
make test
-
make test
tags
:
tags
:
-
xen, levante
-
xen, levante
intel22
:
intel22
:
stage
:
build_and_test
stage
:
build_and_test
before_script
:
before_script
:
...
...
This diff is collapsed.
Click to expand it.
test/CMakeLists.txt
+
10
−
8
View file @
3db3ab46
include
(
FetchContent
)
include
(
FetchContent
)
if
(
"
${
CMAKE_VERSION
}
"
VERSION_GREATER_EQUAL
"3.24"
)
cmake_policy
(
SET CMP0135 NEW
)
endif
()
enable_language
(
CXX
)
enable_language
(
CXX
)
find_package
(
GTest 1.13
)
find_package
(
GTest 1.13
)
if
(
NOT GTest_FOUND
)
if
(
NOT GTest_FOUND
)
if
(
"
${
CMAKE_VERSION
}
"
VERSION_GREATER_EQUAL
"3.24"
)
cmake_policy
(
SET CMP0135 NEW
)
endif
()
message
(
CHECK_START
"Fetching external GTest"
)
message
(
CHECK_START
"Fetching external GTest"
)
FetchContent_Declare
(
googletest
FetchContent_Declare
(
googletest
URL https://github.com/google/googletest/archive/refs/tags/v1.13.0.tar.gz
URL https://github.com/google/googletest/archive/refs/tags/v1.13.0.tar.gz
...
@@ -16,9 +17,10 @@ if(NOT GTest_FOUND)
...
@@ -16,9 +17,10 @@ if(NOT GTest_FOUND)
message
(
CHECK_PASS
"done"
)
message
(
CHECK_PASS
"done"
)
endif
()
endif
()
FetchContent_Declare
(
message
(
CHECK_START
"Fetching external FortUTF"
)
fortutf
FetchContent_Declare
(
fortutf
GIT_REPOSITORY
https://github.com/artemis-beta/FortUTF
.git
URL
https://github.com/artemis-beta/FortUTF
/archive/9f70d03c5d92c4023b1eab312af18ff56790c00a.tar.gz
GIT_TAG main
URL_HASH MD5=143941264dc552599ab7b32fd17c4195
)
)
FetchContent_MakeAvailable
(
fortutf
)
FetchContent_MakeAvailable
(
fortutf
)
\ No newline at end of file
message
(
CHECK_PASS
"done"
)
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment