Revision: 77215
http://sourceforge.net/p/brlcad/code/77215
Author: starseeker
Date: 2020-09-24 19:31:43 +0000 (Thu, 24 Sep 2020)
Log Message:
-----------
Try to do a more minimal build to generate smaller artifacts. Eventually will
need a series of stages for this smaller/frequent -> full/infrequent, but right
now we're testing pretty frequently...
Modified Paths:
--------------
brlcad/trunk/misc/repoconv/github_ci_actions.yml
Modified: brlcad/trunk/misc/repoconv/github_ci_actions.yml
===================================================================
--- brlcad/trunk/misc/repoconv/github_ci_actions.yml 2020-09-24 19:25:16 UTC
(rev 77214)
+++ brlcad/trunk/misc/repoconv/github_ci_actions.yml 2020-09-24 19:31:43 UTC
(rev 77215)
@@ -82,6 +82,14 @@
- name: Configure
shell: cmake -P {0}
run: |
+ if ("${{ runner.os }}" STREQUAL "Windows")
+ # Try Write-VolumeCache for Windows
+ execute_process(COMMAND powershell Write-VolumeCache C)
+ execute_process(COMMAND powershell Write-VolumeCache D)
+ else ()
+ # On platforms where we have it, make sure the files are in place
with a sync
+ execute_process(COMMAND sync)
+ endif ()
set(ENV{CC} ${{ matrix.config.cc }})
set(ENV{CXX} ${{ matrix.config.cxx }})
@@ -112,10 +120,15 @@
-D ENABLE_ALL=ON
-D CMAKE_BUILD_TYPE=Release
-D CMAKE_VERBOSE_DISTCHECK=ON
- RESULT_VARIABLE result
+ -D BRLCAD_ENABLE_GDAL=OFF
+ -D BRLCAD_ENABLE_STEP=OFF
+ -D BRLCAD_EXTRADOCS=OFF
+ -D BUILD_STATIC_LIBS=OFF
+ RESULT_VARIABLE result
)
# Try Write-VolumeCache for Windows
execute_process(COMMAND powershell Write-VolumeCache C)
+ execute_process(COMMAND powershell Write-VolumeCache D)
else()
execute_process(
COMMAND cmake
@@ -125,6 +138,10 @@
-D ENABLE_ALL=ON
-D CMAKE_BUILD_TYPE=Release
-D CMAKE_VERBOSE_DISTCHECK=ON
+ -D BRLCAD_ENABLE_GDAL=OFF
+ -D BRLCAD_ENABLE_STEP=OFF
+ -D BRLCAD_EXTRADOCS=OFF
+ -D BUILD_STATIC_LIBS=OFF
RESULT_VARIABLE result
)
# On platforms where we have it, make sure the files are in place with
a sync
@@ -168,6 +185,9 @@
COMMAND cmake --build build -j 1 --verbose --config Release
--target PACKAGE
RESULT_VARIABLE result
)
+ # Try Write-VolumeCache for Windows
+ execute_process(COMMAND powershell Write-VolumeCache C)
+ execute_process(COMMAND powershell Write-VolumeCache D)
else ("${{ runner.os }}" STREQUAL "Windows")
execute_process(
COMMAND cmake --build build -j 1 --verbose --config Release
--target all
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