diff options
author | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2020-11-10 15:24:31 +0300 |
---|---|---|
committer | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2020-11-10 15:24:31 +0300 |
commit | e919b61352efdbf28a963ea81fcbea7ed4c7fd30 (patch) | |
tree | 8c47d024993fa8d6d6b96de9fbfb2f8fb893461b | |
parent | e78db6c58f15824102f9aee739b773460f3474b6 (diff) |
Hopefully this ought to fix all outstanding failures on new github actions CI
-rw-r--r-- | .ci.cmake | 3 | ||||
-rw-r--r-- | .github/workflows/ci.yml | 9 | ||||
-rw-r--r-- | Readme.md | 8 | ||||
-rw-r--r-- | cmake/toolchain-linux-arm.cmake | 1 | ||||
-rw-r--r-- | include/llfio/v2.0/detail/impl/posix/path_discovery.ipp | 2 | ||||
-rw-r--r-- | release_notes.md | 4 |
6 files changed, 21 insertions, 6 deletions
@@ -19,7 +19,8 @@ ctest_build(TARGET _sl) set(retval 0) if(NOT CTEST_DISABLE_TESTING) if(WIN32) - ctest_test(RETURN_VALUE retval EXCLUDE "shared_fs_mutex") + # Appveyor's Windows version doesn't permit unprivileged creation of symbolic links + ctest_test(RETURN_VALUE retval EXCLUDE "shared_fs_mutex|symlink") elseif("$ENV{CXX}" MATCHES "clang") # clang 10 with libc++ in C++ 20 currently segfaults ctest_test(RETURN_VALUE retval EXCLUDE "shared_fs_mutex|llfio_hl--coroutines") diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a26b7adc..34d3746b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -180,6 +180,11 @@ jobs: steps: - uses: actions/checkout@v2 + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: 3.8 + - name: Install shell: bash run: | @@ -187,8 +192,8 @@ jobs: export CMAKE_CONFIGURE_OPTIONS="$CMAKE_CONFIGURE_OPTIONS -DLLFIO_USE_EXPERIMENTAL_SG14_STATUS_CODE=ON" fi git clone --depth 1 https://github.com/ned14/quickcpplib.git - pip3 install --user gitpython - python3 quickcpplib/scripts/test_cpp-pm_install.py test-packaging/example.cpp quickcpplib quickcpplib::hl https://github.com/ned14/quickcpplib master outcome outcome::hl https://github.com/ned14/outcome better_optimisation llfio llfio::sl https://github.com/ned14/llfio master + pip install --user gitpython + python quickcpplib/scripts/test_cpp-pm_install.py test-packaging/example.cpp quickcpplib quickcpplib::hl https://github.com/ned14/quickcpplib master outcome outcome::hl https://github.com/ned14/outcome better_optimisation llfio llfio::sl https://github.com/ned14/llfio master cd test_cpp-pm_install mkdir build cd build @@ -1,6 +1,12 @@ This is the post-peer-review LLFIO v2 rewrite. You can view its documentation at https://ned14.github.io/llfio/ -<b>master branch test status</b> Linux & OS X: [![Build Status](https://travis-ci.org/ned14/llfio.svg?branch=master)](https://travis-ci.org/ned14/llfio) Windows: [![Build status](https://ci.appveyor.com/api/projects/status/dfctqfap3kpx89om/branch/master?svg=true)](https://ci.appveyor.com/project/ned14/llfio/branch/master) <b>CMake dashboard</b>: https://my.cdash.org/index.php?project=Boost.AFIO +<b>master branch test status</b> Mac OS, Linux & Windows: ![CI](https://github.com/ned14/llfio/workflows/CI/badge.svg?branch=master) + +<b>develop branch test status</b> Mac OS, Linux & Windows: ![CI](https://github.com/ned14/llfio/workflows/CI/badge.svg?branch=develop) + +<b>CMake dashboard</b>: https://my.cdash.org/index.php?project=Boost.AFIO + +PREBUILT BINARIES CAN BE FOUND AT https://github.com/ned14/llfio/packages USAGE AND CONFIGURATION INSTRUCTIONS CAN BE FOUND AT https://ned14.github.io/llfio/ diff --git a/cmake/toolchain-linux-arm.cmake b/cmake/toolchain-linux-arm.cmake index 60e7d8e2..362e0f55 100644 --- a/cmake/toolchain-linux-arm.cmake +++ b/cmake/toolchain-linux-arm.cmake @@ -2,4 +2,5 @@ set(CMAKE_SYSTEM_NAME Linux) set(CMAKE_SYSTEM_PROCESSOR armhf) set(CMAKE_C_COMPILER arm-linux-gnueabihf-gcc) set(CMAKE_CXX_COMPILER arm-linux-gnueabihf-g++) +set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_FLAGS_INIT "-Wno-attributes -Wno-psabi") diff --git a/include/llfio/v2.0/detail/impl/posix/path_discovery.ipp b/include/llfio/v2.0/detail/impl/posix/path_discovery.ipp index 09d980da..c7825d9e 100644 --- a/include/llfio/v2.0/detail/impl/posix/path_discovery.ipp +++ b/include/llfio/v2.0/detail/impl/posix/path_discovery.ipp @@ -138,6 +138,8 @@ namespace path_discovery buffer = "/run/user/" + std::to_string(geteuid()); ret.emplace_back(discovered_path::source_type::hardcoded, buffer); ret.emplace_back(discovered_path::source_type::hardcoded, "/run/shm"); + // Finally, on some Docker images there is no /tmp, /var/tmp, /run nor anywhere sane + ret.emplace_back(discovered_path::source_type::hardcoded, "/"); return ret; } diff --git a/release_notes.md b/release_notes.md index bba3968f..e2eb8836 100644 --- a/release_notes.md +++ b/release_notes.md @@ -2,8 +2,8 @@ <tr> <td align="center"> <a href="https://github.com/ned14/llfio">LLFIO</a><br><a href="https://github.com/ned14/llfio">on GitHub</a> </td> <td align="center"> <a href="https://my.cdash.org/index.php?project=Boost.AFIO">CTest summary</a><br><a href="https://my.cdash.org/index.php?project=Boost.AFIO">dashboard</a> </td> -<td align="center"> <a href="https://travis-ci.org/ned14/llfio">Linux and MacOS CI:</a><img src="https://travis-ci.org/ned14/llfio.svg?branch=master"/> </td> -<td align="center"> <a href="https://ci.appveyor.com/project/ned14/llfio/branch/master">Windows CI:</a><img src="https://ci.appveyor.com/api/projects/status/dfctqfap3kpx89om/branch/master?svg=true"/> </td> +<td align="center"> Mac OS, Linux and Windows CI: <img src="https://github.com/ned14/llfio/workflows/CI/badge.svg?branch=master"/> </td> +<td align="center"> <a href="https://github.com/ned14/llfio/packages">Prebuilt binaries</a> </td> </tr> </table></center> |