diff --git a/.github/workflows/windows-mingw.yml b/.github/workflows/windows-mingw.yml deleted file mode 100644 index 1c859661562..00000000000 --- a/.github/workflows/windows-mingw.yml +++ /dev/null @@ -1,65 +0,0 @@ -name: Windows-MinGW - -on: - push: - branches: - - 'master' - - 'develop' - - 'release/**' - tags: - - '**' - pull_request: - types: [opened,synchronize] - workflow_dispatch: - inputs: - debug_enabled: - description: 'Run the build with tmate debugging enabled by `debug_enabled` keyword (https://github.com/marketplace/actions/debugging-with-tmate)' - required: false - default: false - -concurrency: - group: ${{ github.workflow }}-${{ (github.head_ref && github.ref) || github.run_id }} - cancel-in-progress: true - -jobs: - windows_mingw: - if: ${{ false }} - strategy: - fail-fast: false - matrix: - config: - - {shared: "OFF", build_type: "Release", name: "omp/release/static", cflags: ""} - name: mingw/${{ matrix.config.name }} - runs-on: [windows-latest] - steps: - - name: Checkout the latest code (shallow clone) - uses: actions/checkout@v4 - - - name: Debug over SSH (tmate) - uses: mxschmitt/action-tmate@v3.5 - if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }} - with: - limit-access-to-actor: true - - - name: configure - # Use cmd to remove the path easily - run: | - bcdedit /set IncreaseUserVa 3072 - editbin /LARGEADDRESSAWARE "C:\Program Files\Git\mingw64\bin\cc1plus.exe" - set PATH=C:\Program Files\Git\mingw64\bin;%PATH% - set PATH=C:\ProgramData\chocolatey\lib\mingw\tools\install\mingw64\bin;%PATH% - mkdir build - cd build - cmake -G "MinGW Makefiles" -DBUILD_SHARED_LIBS=${{ matrix.config.shared }} -DCMAKE_BUILD_TYPE=${{ matrix.config.build_type }} -DCMAKE_CXX_FLAGS=${{ matrix.config.cflags }} .. - cmake --build . -j4 - shell: cmd - - - name: install - run: | - set PATH=C:\Program Files\Git\mingw64\bin;%PATH% - set PATH=C:\ProgramData\chocolatey\lib\mingw\tools\install\mingw64\bin;%PATH% - set PATH=C:\Program Files (x86)\Ginkgo\bin;%PATH% - cd build - cmake --install . - cmake --build . --target test_install - shell: cmd diff --git a/.github/workflows/windows-msvc-cuda.yml b/.github/workflows/windows-msvc-cuda.yml deleted file mode 100644 index efa637b2bf9..00000000000 --- a/.github/workflows/windows-msvc-cuda.yml +++ /dev/null @@ -1,62 +0,0 @@ -name: Windows-MSVC-CUDA (compile-only) - -on: - push: - branches: - - 'master' - - 'develop' - - 'release/**' - tags: - - '**' - pull_request: - types: [opened,synchronize] - workflow_dispatch: - inputs: - debug_enabled: - description: 'Run the build with tmate debugging enabled by `debug_enabled` keyword (https://github.com/marketplace/actions/debugging-with-tmate)' - required: false - default: false - -concurrency: - group: ${{ github.workflow }}-${{ (github.head_ref && github.ref) || github.run_id }} - cancel-in-progress: true - -jobs: - windows_cuda: - if: ${{ false }} - strategy: - fail-fast: false - matrix: - config: - - {version: "latest", name: "cuda-latest/release/shared", "mixed": "ON"} - name: msvc/${{ matrix.config.name }} (only compile) - runs-on: [windows-2019] - - steps: - - name: Checkout the latest code (shallow clone) - uses: actions/checkout@v4 - - name: setup (versioned) - if: matrix.config.version != 'latest' - run: | - choco install cuda --version=${{ matrix.config.version }} -y - - - name: setup (latest) - if: matrix.config.version == 'latest' - run: | - choco install cuda -y - - - name: Debug over SSH (tmate) - uses: mxschmitt/action-tmate@v3.5 - if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }} - with: - limit-access-to-actor: true - - - name: configure - run: | - $env:ChocolateyInstall = Convert-Path "$((Get-Command choco).Path)\..\.." - Import-Module "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1" - refreshenv - mkdir build - cd build - cmake -DGINKGO_BUILD_CUDA=ON -DGINKGO_BUILD_OMP=OFF -DGINKGO_MIXED_PRECISION=${{ matrix.config.mixed }} -DGINKGO_CUDA_ARCHITECTURES=60 .. - cmake --build . -j4 --config Release diff --git a/.github/workflows/windows-msvc-ref.yml b/.github/workflows/windows-msvc-ref.yml deleted file mode 100644 index 60a811bb99b..00000000000 --- a/.github/workflows/windows-msvc-ref.yml +++ /dev/null @@ -1,62 +0,0 @@ -name: Windows-MSVC-Reference - -on: - push: - branches: - - 'master' - - 'develop' - - 'release/**' - tags: - - '**' - pull_request: - types: [opened,synchronize] - workflow_dispatch: - inputs: - debug_enabled: - description: 'Run the build with tmate debugging enabled by `debug_enabled` keyword (https://github.com/marketplace/actions/debugging-with-tmate)' - required: false - default: false - -concurrency: - group: ${{ github.workflow }}-${{ (github.head_ref && github.ref) || github.run_id }} - cancel-in-progress: true - -jobs: - windows_ref: - if: ${{ false }} - strategy: - fail-fast: false - matrix: - config: - # Debug shared exceeds symbol limit - # - {shared: "ON", build_type: "Debug", name: "reference/debug/shared"} - - {shared: "OFF", build_type: "Release", name: "reference/release/static"} - - {shared: "ON", build_type: "Release", name: "reference/release/shared"} - # Debug static needs too much storage - # - {shared: "OFF", build_type: "Debug", name: "reference/debug/static"} - name: msvc/${{ matrix.config.name }} - runs-on: [windows-latest] - steps: - - name: Checkout the latest code (shallow clone) - uses: actions/checkout@v4 - - - name: Debug over SSH (tmate) - uses: mxschmitt/action-tmate@v3.5 - if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }} - with: - limit-access-to-actor: true - - - name: configure - run: | - mkdir build - cd build - cmake -DBUILD_SHARED_LIBS=${{ matrix.config.shared }} -DCMAKE_CXX_FLAGS_DEBUG='/MDd /Zi /Ob1 /O1 /Od /RTC1' -DGINKGO_BUILD_CUDA=OFF -DGINKGO_BUILD_OMP=OFF .. - cmake --build . -j4 --config ${{ matrix.config.build_type }} - ctest . -C ${{ matrix.config.build_type }} --output-on-failure - - - name: install - run: | - $env:PATH="$env:PATH;C:\Program Files (x86)\Ginkgo\bin" - cd build - cmake --install . --config ${{ matrix.config.build_type }} - cmake --build . --target test_install --config ${{ matrix.config.build_type }}