[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master d09dfce 17/28: Merge lmi directories creation
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master d09dfce 17/28: Merge lmi directories creation step with the system setup one |
Date: |
Wed, 12 May 2021 18:14:45 -0400 (EDT) |
branch: master
commit d09dfcef442a5d873b56449743c58d9135e2426f
Author: Vadim Zeitlin <vadim@tt-solutions.com>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Merge lmi directories creation step with the system setup one
This is another small and quick step which it doesn't really make much
sense to keep separate from the rest of the setup.
This commit is best viewed with --color-moved git option.
---
.github/workflows/ci.yml | 21 ++++++++++-----------
1 file changed, 10 insertions(+), 11 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index a05504e..ec327ca 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -138,6 +138,16 @@ jobs:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/lmi/${LMI_COMPILER}_${LMI_TRIPLET}/build/ship
echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH" >> $GITHUB_ENV
+ # Create directories required by lmi.
+ normal_uid=`id --user`
+ for d in /opt/lmi /opt/lmi/print /etc/opt/lmi /srv/cache_for_lmi; do
+ sudo mkdir --parents $d
+ sudo --preserve-env chown $normal_uid $d
+ done
+ mkdir /srv/cache_for_lmi/downloads
+ mkdir /opt/lmi/gui_test
+ mkdir /opt/lmi/src
+
echo "User information:"
id
echo
@@ -156,17 +166,6 @@ jobs:
echo
fi
- - name: Create lmi directories
- run: |
- normal_uid=`id --user`
- for d in /opt/lmi /opt/lmi/print /etc/opt/lmi /srv/cache_for_lmi; do
- sudo mkdir --parents $d
- sudo --preserve-env chown $normal_uid $d
- done
- mkdir /srv/cache_for_lmi/downloads
- mkdir /opt/lmi/gui_test
- mkdir /opt/lmi/src
-
- name: Cache downloaded archives
uses: actions/cache@v2
with:
- [lmi-commits] [lmi] master 2808a1b 13/28: Use consistent flags for Boost.Regex build in the CI job, (continued)
- [lmi-commits] [lmi] master 2808a1b 13/28: Use consistent flags for Boost.Regex build in the CI job, Greg Chicares, 2021/05/12
- [lmi-commits] [lmi] master 521017e 05/28: Show environment and compiler information in the CI output, Greg Chicares, 2021/05/12
- [lmi-commits] [lmi] master e94f977 15/28: Run CI job steps as non-root container user, Greg Chicares, 2021/05/12
- [lmi-commits] [lmi] master 2213a23 22/28: Disable clang deprecated declarations warnings in uBLAS headers, Greg Chicares, 2021/05/12
- [lmi-commits] [lmi] master 7e32f37 02/28: Don't build Boost.Filesystem library in the CI builds any more, Greg Chicares, 2021/05/12
- [lmi-commits] [lmi] master 0713a8f 14/28: Don't put NORMAL_UID in the environment unnecessarily, Greg Chicares, 2021/05/12
- [lmi-commits] [lmi] master aa750df 12/28: Work around global_settings_test failure in autotools builds, Greg Chicares, 2021/05/12
- [lmi-commits] [lmi] master 0d89ef3 07/28: Install sudo without using sudo, Greg Chicares, 2021/05/12
- [lmi-commits] [lmi] master 2814dec 11/28: Check for comparison operator defaulting in configure C++ test, Greg Chicares, 2021/05/12
- [lmi-commits] [lmi] master e5160fe 20/28: Revert "Add workaround for Boost.Regex compilation with clang 11", Greg Chicares, 2021/05/12
- [lmi-commits] [lmi] master d09dfce 17/28: Merge lmi directories creation step with the system setup one,
Greg Chicares <=
- [lmi-commits] [lmi] master 95c9f72 08/28: Use Debian Wine version in CI job, Greg Chicares, 2021/05/12
- [lmi-commits] [lmi] master 4a1c735 19/28: Rename CI job and build names for brevity and consistency, Greg Chicares, 2021/05/12
- [lmi-commits] [lmi] master e46db7c 21/28: Work around std::allocator::size_type problem in clang 11 libc++, Greg Chicares, 2021/05/12
- [lmi-commits] [lmi] master 4a09a23 09/28: Work around JRE installation problem in Debian slim container, Greg Chicares, 2021/05/12
- [lmi-commits] [lmi] master 21706da 25/28: Fix expression_template_0_test compilation with clang 12, Greg Chicares, 2021/05/12
- [lmi-commits] [lmi] master c4a85fc 06/28: Install the required packages before checkout in the CI job, Greg Chicares, 2021/05/12
- [lmi-commits] [lmi] master 5d5054f 18/28: Use correct permissions for the Git checkout, Greg Chicares, 2021/05/12
- [lmi-commits] [lmi] master 3a89381 24/28: Create /tmp/.X11-unix directory before running Xvfb, Greg Chicares, 2021/05/12
- [lmi-commits] [lmi] master 5c2b93a 23/28: Install x11-xserver-utils package to get xset, Greg Chicares, 2021/05/12
- [lmi-commits] [lmi] master 2be5478 27/28: Preserve NUL characters in fs::path::string(), Greg Chicares, 2021/05/12