Skip to content

Commit

Permalink
try to run workflow in fork
Browse files Browse the repository at this point in the history
  • Loading branch information
Chyzh committed Feb 27, 2024
1 parent 44655b8 commit 86606b9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,7 @@ jobs:
if: matrix.os=='ubuntu-latest' && matrix.c_compiler=='clang-15'
run: |
sudo apt -y install clang-15
sudo apt -y install libc++-15-dev libc++abi-15-dev
dpkg -l | grep libc++
find /usr/lib -name "libc++abi*"
clang-15 --version
- name: Install lld
if: matrix.os=='ubuntu-latest' && matrix.c_compiler=='clang-15'
run: |
sudo apt -y install lld-15

- name: Set reusable strings
Expand All @@ -86,6 +78,14 @@ jobs:
- name: Unit Tests on Ubuntu
# Execute tests defined by the CMake configuration. Note that --build-config is needed because the default Windows generator is a multi-config generator (Visual Studio generator).
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
if: matrix.os=='windows-latest'
working-directory: ${{ steps.strings.outputs.build-output-dir }}/testbpatch/
run: ./testbpatch

- name: Unit Tests on Windows
# Execute tests defined by the CMake configuration. Note that --build-config is needed because the default Windows generator is a multi-config generator (Visual Studio generator).
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
if: matrix.os=='ubuntu-latest'
working-directory: ${{ steps.strings.outputs.build-output-dir }}/testbpatch/${{ matrix.build_type }}/
shell: cmd
run: .\testbpatch.exe
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ endif()

if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang") #note: Clang 14.0.0 and ranges seems are not friends yet
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++ -std=c++20 -fexperimental-library")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -fuse-ld=lld-15")
endif()

message(STATUS "CMAKE_CXX_FLAGS:" ${CMAKE_CXX_FLAGS})
Expand Down

0 comments on commit 86606b9

Please sign in to comment.