File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 6363 - os : windows-latest
6464 type : static
6565 shell : msys2 {0}
66+ - os : windows-latest
67+ type : wsl-2
68+ shell : wsl-bash {0}
6669
6770 defaults :
6871 run :
7982 with :
8083 install : cmake make gcc
8184
85+ # See https://github.com/Vampire/setup-wsl
86+ - uses : Vampire/setup-wsl@v5
87+ if : runner.os == 'windows' && matrix.platform.type == 'wsl-2'
88+ with :
89+ distribution : Ubuntu-22.04
90+ additional-packages : cmake build-essential ca-certificates
91+ wsl-version : 2
92+
8293 - uses : actions/checkout@v4
8394 - name : Install dependencies (macOS)
8495 if : runner.os == 'macos'
89100
90101 - run : cmake --version
91102 - name : Configure (static)
92- if : matrix.platform.type == 'static'
103+ if : matrix.platform.type == 'static' || matris.platform.type == 'wsl-2'
93104 run : >
94105 cmake -S . -B ./build
95106 -DCMAKE_BUILD_TYPE:STRING=Release
You can’t perform that action at this time.
0 commit comments