Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First try to test with modules under OSX with clang v16.0.1 #1

Closed
30 changes: 0 additions & 30 deletions .github/workflows/cifuzz.yml

This file was deleted.

35 changes: 0 additions & 35 deletions .github/workflows/doc.yml

This file was deleted.

111 changes: 0 additions & 111 deletions .github/workflows/linux.yml

This file was deleted.

45 changes: 0 additions & 45 deletions .github/workflows/macos.yml

This file was deleted.

50 changes: 18 additions & 32 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,32 +13,12 @@ jobs:
# windows-2019 has MSVC 2019 installed;
# windows-2022 has MSVC 2022 installed:
# https://github.com/actions/virtual-environments.
os: [windows-2019]
platform: [Win32, x64]
toolset: [v140, v141, v142]
standard: [14, 17, 20]
shared: ["", -DBUILD_SHARED_LIBS=ON]
os: [windows-2022]
platform: [x64]
toolset: [v143]
standard: [20]
shared: [""]
build_type: [Debug, Release]
exclude:
- { toolset: v140, standard: 17 }
- { toolset: v140, standard: 20 }
- { toolset: v141, standard: 14 }
- { toolset: v141, standard: 20 }
- { toolset: v142, standard: 14 }
- { platform: Win32, toolset: v140 }
- { platform: Win32, toolset: v141 }
- { platform: Win32, standard: 14 }
- { platform: Win32, standard: 20 }
- { platform: x64, toolset: v140, shared: -DBUILD_SHARED_LIBS=ON }
- { platform: x64, toolset: v141, shared: -DBUILD_SHARED_LIBS=ON }
- { platform: x64, standard: 14, shared: -DBUILD_SHARED_LIBS=ON }
- { platform: x64, standard: 20, shared: -DBUILD_SHARED_LIBS=ON }
include:
- os: windows-2022
platform: x64
toolset: v143
build_type: Debug
standard: 20

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -78,22 +58,28 @@ jobs:
shell: msys2 {0}
strategy:
matrix:
sys: [ mingw64, ucrt64 ]
cxx: [ clang++ ]
lib: [ libc++, libstdc++ ]
steps:
- name: Set timezone
run: tzutil /s "Ekaterinburg Standard Time"
shell: cmd
- uses: actions/checkout@v3
- uses: msys2/setup-msys2@v2
with:
release: false
msystem: ${{matrix.sys}}
pacboy: cc:p cmake:p ninja:p lld:p
- uses: actions/checkout@v3
msystem: ucrt64
pacboy: cmake:u ninja:u clang:u libc++:u gcc-libs:u
- name: Configure
run: cmake -B ../build -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Debug
env: { LDFLAGS: -fuse-ld=lld }
run: |
cmake -B ../build -G "Ninja" \
-DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Debug
env:
CXX: ${{matrix.cxx}}
CXXFLAGS: ${{format('-stdlib={0} -std={1}', matrix.lib, 'c++20')}}

- name: Build
run: cmake --build ../build
run: cmake -j `nproc` --build ../build
- name: Test
run: ctest -j `nproc` --test-dir ../build
env:
Expand Down
Loading