mirror of
https://github.com/SFML/SFML.git
synced 2025-02-18 06:18:01 +08:00
Only install MinGW when necessary
Installing MinGW 11 takes way too long to tolerate doing this in all Windows jobs.
This commit is contained in:
parent
9d1d9cde33
commit
793ee75873
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@ -105,11 +105,15 @@ jobs:
|
|||||||
max_attempts: 10
|
max_attempts: 10
|
||||||
timeout_minutes: 3
|
timeout_minutes: 3
|
||||||
command: |
|
command: |
|
||||||
choco uninstall mingw
|
|
||||||
choco install mingw --version 11.2.0
|
|
||||||
choco install ninja OpenCppCoverage -y
|
choco install ninja OpenCppCoverage -y
|
||||||
echo "C:\Program Files\OpenCppCoverage" >> $env:GITHUB_PATH
|
echo "C:\Program Files\OpenCppCoverage" >> $env:GITHUB_PATH
|
||||||
|
|
||||||
|
- name: Install MinGW
|
||||||
|
if: matrix.platform.name == 'Windows MinGW'
|
||||||
|
run: |
|
||||||
|
choco uninstall mingw
|
||||||
|
choco install mingw --version 11.2.0
|
||||||
|
|
||||||
- name: Configure CMake
|
- name: Configure CMake
|
||||||
shell: bash
|
shell: bash
|
||||||
run: cmake --preset dev -DCMAKE_VERBOSE_MAKEFILE=ON ${{matrix.platform.flags}} ${{matrix.config.flags}} ${{matrix.type.flags}}
|
run: cmake --preset dev -DCMAKE_VERBOSE_MAKEFILE=ON ${{matrix.platform.flags}} ${{matrix.config.flags}} ${{matrix.type.flags}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user