From 0f424f8f0a10e61107c0d9cabf66d54efd1bc442 Mon Sep 17 00:00:00 2001 From: xuxusheng Date: Wed, 26 Jul 2023 14:09:33 +0800 Subject: [PATCH] only enable msvc --- .github/workflows/ci.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b5e12c446..643e44dba 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,9 +12,21 @@ on: env: CMAKE_VERSION: 3.22.3 OMP_NUM_THREADS: 1 + ENABLE_STANDARD: 0 + ENABLE_MACOS: 0 + ENABLE_GCC: 0 + ENABLE_CLANG: 0 + ENABLE_MSVC: 1 + ENABLE_CLANG_CL: 0 + ENABLE_MINGW64: 0 + ENABLE_MSYS2: 0 + ENABLE_CYGWIN: 0 + ENABLE_CUDA: 0 + ENABLE_NVHPC: 0 jobs: standard: + if: ${{env.ENABLE_STANDARD}} strategy: fail-fast: false matrix: @@ -130,6 +142,7 @@ jobs: # ============================================================================ macos: + if: ${{env.ENABLE_MACOS}} runs-on: macos-11 name: "MacOS 11 • ${{ matrix.xcode }} • x64" env: @@ -208,6 +221,7 @@ jobs: # ============================================================================ gcc: + if: ${{env.ENABLE_GCC}} runs-on: ubuntu-latest strategy: fail-fast: false @@ -341,6 +355,7 @@ jobs: # ============================================================================ clang: + if: ${{env.ENABLE_CLANG}} runs-on: ubuntu-latest strategy: fail-fast: false @@ -501,6 +516,7 @@ jobs: # ============================================================================ msvc: + if: ${{env.ENABLE_MSVC}} runs-on: windows-latest name: "MSVC • x64" steps: @@ -592,6 +608,7 @@ jobs: # ============================================================================ clang-cl: + if: ${{env.ENABLE_CLANG_CL}} runs-on: windows-latest name: "Clang-Cl • x64" steps: @@ -684,6 +701,7 @@ jobs: # ============================================================================ mingw64: + if: ${{env.ENABLE_MINGW64}} runs-on: windows-2022 strategy: fail-fast: false @@ -772,6 +790,7 @@ jobs: # ============================================================================ msys2: + if: ${{env.ENABLE_MSYS2}} runs-on: windows-latest strategy: fail-fast: false @@ -920,6 +939,7 @@ jobs: # ============================================================================ cygwin: + if: ${{env.ENABLE_CYGWIN}} runs-on: windows-latest name: "Cygwin • x64" env: @@ -1065,6 +1085,7 @@ jobs: # ============================================================================ cuda: + if: ${{env.ENABLE_CUDA}} runs-on: ubuntu-latest strategy: fail-fast: false @@ -1143,6 +1164,7 @@ jobs: # ============================================================================ nvhpc: + if: ${{env.ENABLE_NVHPC}} runs-on: ubuntu-latest strategy: fail-fast: false