Revision: 77149
http://sourceforge.net/p/brlcad/code/77149
Author: starseeker
Date: 2020-09-14 10:25:28 +0000 (Mon, 14 Sep 2020)
Log Message:
-----------
Grab one other trunk file that slipped through the cracks.
Modified Paths:
--------------
brlcad/branches/RELEASE/misc/repoconv/github_ci_actions.yml
Modified: brlcad/branches/RELEASE/misc/repoconv/github_ci_actions.yml
===================================================================
--- brlcad/branches/RELEASE/misc/repoconv/github_ci_actions.yml 2020-09-14
10:22:25 UTC (rev 77148)
+++ brlcad/branches/RELEASE/misc/repoconv/github_ci_actions.yml 2020-09-14
10:25:28 UTC (rev 77149)
@@ -50,7 +50,7 @@
}
- {
name: "Ubuntu Latest GCC", artifact: "Linux.tar.xz",
- os: ubuntu-latest,
+ os: ubuntu-20.04,
cc: "gcc", cxx: "g++"
}
- {
@@ -73,6 +73,8 @@
#
steps:
- uses: actions/checkout@v1
+ - uses: lukka/get-cmake@latest
+ - uses: seanmiddleditch/gha-setup-ninja@master
- name: Configure
shell: cmake -P {0}
@@ -99,14 +101,28 @@
endif()
set(ENV{PATH} "$ENV{GITHUB_WORKSPACE}${path_separator}$ENV{PATH}")
+ if ("${{ runner.os }}" STREQUAL "Windows" AND NOT "x${{
matrix.config.environment_script }}" STREQUAL "x")
execute_process(
COMMAND cmake
-S .
-B build
+ -D ENABLE_ALL=ON
-D CMAKE_BUILD_TYPE=Release
-D CMAKE_VERBOSE_DISTCHECK=ON
RESULT_VARIABLE result
)
+ else()
+ execute_process(
+ COMMAND cmake
+ -S .
+ -G Ninja
+ -B build
+ -D ENABLE_ALL=ON
+ -D CMAKE_BUILD_TYPE=Release
+ -D CMAKE_VERBOSE_DISTCHECK=ON
+ RESULT_VARIABLE result
+ )
+ endif()
if (NOT result EQUAL 0)
message(FATAL_ERROR "Bad exit status")
endif()
@@ -140,14 +156,14 @@
if ("${{ runner.os }}" STREQUAL "Windows")
execute_process(
- COMMAND cmake --build build --config Release --target ALL_BUILD
- COMMAND cmake --build build --config Release --target check
+ COMMAND cmake --build build -j 1 --config Release --target
ALL_BUILD
+ COMMAND cmake --build build -j 1 --config Release --target check
RESULT_VARIABLE result
)
else ("${{ runner.os }}" STREQUAL "Windows")
execute_process(
- COMMAND cmake --build build --config Release --target all
- COMMAND cmake --build build --config Release --target check
+ COMMAND cmake --build build --verbose --config Release --target
all
+ COMMAND cmake --build build --verbose --config Release --target
check
RESULT_VARIABLE result
)
endif ("${{ runner.os }}" STREQUAL "Windows")
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits