aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows/example_toolsets.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/example_toolsets.yml')
-rw-r--r--.github/workflows/example_toolsets.yml26
1 files changed, 2 insertions, 24 deletions
diff --git a/.github/workflows/example_toolsets.yml b/.github/workflows/example_toolsets.yml
index d98cfe0..bb63376 100644
--- a/.github/workflows/example_toolsets.yml
+++ b/.github/workflows/example_toolsets.yml
@@ -14,7 +14,6 @@ jobs:
matrix:
example: [simple, static, dynamic]
toolset: [auto, clang, clang-cl, gcc, mingw, msvc]
- cygwin: [0, 1]
os: [ubuntu-latest, windows-2016, windows-2019, windows-2022]
include:
@@ -23,7 +22,6 @@ jobs:
- {os: windows-2019, name: Windows 2019}
- {os: windows-2016, name: Windows 2016}
- {os: ubuntu-latest, name: Ubuntu}
- - {cygwin: 1, name: Cygwin}
# Target platform.
- {example: simple, platform: x64}
- {example: static, platform: x86}
@@ -52,16 +50,9 @@ jobs:
type: dll
symbols: [baz]
exclude:
- # Ubuntu: no MSVC/clang-cl/Cygwin.
+ # Ubuntu: no MSVC/clang-cl.
- {os: ubuntu-latest, toolset: msvc}
- {os: ubuntu-latest, toolset: clang-cl}
- - {os: ubuntu-latest, cygwin: 1}
- # Cygwin: no MSVC/clang-cl.
- - {cygwin: 1, toolset: msvc}
- - {cygwin: 1, toolset: clang-cl}
- # Cygwin is the same on different Windows versions.
- - {os: windows-2019, cygwin: 1}
- - {os: windows-2016, cygwin: 1}
runs-on: '${{ matrix.os }}'
@@ -83,32 +74,20 @@ jobs:
uses: ./.github/actions/common-variables
with:
toolset: '${{ matrix.toolset }}'
- cygwin: '${{ matrix.cygwin }}'
- name: Set up Python
uses: actions/setup-python@v2
- if: '!env.CI_HOST_CYGWIN'
-
- - name: Install Cygwin
- uses: egor-tensin/setup-cygwin@v3
- with:
- platform: '${{ matrix.platform }}'
- packages: cmake make python3
- hardlinks: 1
- if: env.CI_HOST_CYGWIN
- name: Install GCC
uses: egor-tensin/setup-gcc@v1
with:
- cygwin: '${{ matrix.cygwin }}'
platform: '${{ matrix.platform }}'
hardlinks: 1
- if: (env.CI_HOST_LINUX || env.CI_HOST_CYGWIN) && (matrix.toolset == 'auto' || matrix.toolset == 'gcc')
+ if: env.CI_HOST_LINUX && (matrix.toolset == 'auto' || matrix.toolset == 'gcc')
- name: Install Clang
uses: egor-tensin/setup-clang@v1
with:
- cygwin: '${{ matrix.cygwin }}'
platform: '${{ matrix.platform }}'
hardlinks: 1
if: matrix.toolset == 'clang' || matrix.toolset == 'clang-cl'
@@ -116,7 +95,6 @@ jobs:
- name: Install MinGW
uses: egor-tensin/setup-mingw@v2
with:
- cygwin: '${{ matrix.cygwin }}'
platform: '${{ matrix.platform }}'
hardlinks: 1
# toolset == 'clang' needs some kind of make, e.g. mingw32-make: