diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml deleted file mode 100644 index 4334a3f65..000000000 --- a/.github/workflows/cmake-multi-platform.yml +++ /dev/null @@ -1,56 +0,0 @@ -# This starter workflow is for a CMake project running on multiple platforms. There is a different starter workflow if you just want a single platform. -# See: https://github.com/actions/starter-workflows/blob/main/ci/cmake-single-platform.yml -name: CMake on multiple platforms - -on: - push: - branches: [ "master" ] - pull_request: - branches: [ "master" ] - -jobs: - build: - runs-on: windows-latest - - strategy: - # Set fail-fast to false to ensure that feedback is delivered for all matrix combinations. Consider changing this to true when your workflow is stable. - fail-fast: false - - # Set up a matrix to run the following 3 configurations: - # 1. - # 2. - # 3. - # - # To add more build types (Release, Debug, RelWithDebInfo, etc.) customize the build_type list. - matrix: - os: [windows-latest] - build_type: [Release] - c_compiler: [clang] - clang_version: [17] # 您可以指定所需的 Clang 版本 - include: - - os: windows-latest - c_compiler: clang - cpp_compiler: clang - exclude: - - os: windows-latest - c_compiler: clang - - steps: - - uses: actions/checkout@master - - - name: Install Visual Studio 2022 - uses: microsoft/setup-msbuild@v1.1 - - - name: skynet - run: git submodule update --init - - - name: checkDevenv - run: | - ls "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\devenv.com" - - - name: build - run: | - mkdir build - cd build - cmake --no-warn-unused-cli -S ../ -B ./ -G "Visual Studio 17 2022" -A x64 -T ClangCL -DCMAKE_BUILD_TYPE=Release - & "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\devenv.com" "skynet_fly.sln" /Build Release \ No newline at end of file