diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-01-07 00:27:53 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-01-07 00:27:53 +0300 |
commit | d87f0aacd7c9823e644c6a2e8a82a2643afd0ffd (patch) | |
tree | 63fd1e58a5a63c6c4ee6c9cf439aa255bd10b873 /.github/workflows/example_toolsets.yml | |
parent | workflows/basic: add some comments (diff) | |
download | cmake-common-d87f0aacd7c9823e644c6a2e8a82a2643afd0ffd.tar.gz cmake-common-d87f0aacd7c9823e644c6a2e8a82a2643afd0ffd.zip |
workflows: remove Cygwin workflows
Part of a) simplifying the workflow files and b) reducing the number of
jobs. I'll probably add basic Cygwin jobs later.
Diffstat (limited to '.github/workflows/example_toolsets.yml')
-rw-r--r-- | .github/workflows/example_toolsets.yml | 26 |
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: |