Skip to content

Commit

Permalink
ci: remove testing on WSL
Browse files Browse the repository at this point in the history
  • Loading branch information
tniessen committed Apr 30, 2022
1 parent e05e74e commit 1fc8a91
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 40 deletions.
39 changes: 0 additions & 39 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,42 +35,3 @@ jobs:
- name: Test
working-directory: ${{runner.workspace}}/build
run: ctest -C ${{matrix.buildtype}} --output-on-failure
wsl:
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
buildtype:
- Release
- Debug
- MinSizeRel
- RelWithDebInfo
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
id: distrocache
with:
path: distro.zip
key: distro-ubuntu2004
- name: Download WSL distribution
if: steps.distrocache.outputs.cache-hit != 'true'
shell: powershell
run: Invoke-WebRequest -Uri https://aka.ms/wslubuntu2004 -OutFile distro.zip -UseBasicParsing
- name: Extract WSL distribution
shell: powershell
run: Expand-Archive .\distro.zip .\distro
- name: Install WSL distribution
shell: powershell
run: .\distro\ubuntu2004.exe install --root
- name: Update distribution dependency information
run: wsl -u root -- apt-get update
- name: Install CMake and build-essential
run: wsl -u root -- apt-get -y install cmake build-essential
- name: Create Build Environment
run: wsl -- cmake -E make_directory build
- name: Configure CMake
run: wsl -- cmake -E chdir build cmake .. -DCMAKE_BUILD_TYPE=${{matrix.buildtype}}
- name: Build
run: wsl -- cmake -E chdir build cmake --build . --config ${{matrix.buildtype}}
- name: Test
run: wsl -- cmake -E chdir build ctest -C ${{matrix.buildtype}} --output-on-failure
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,4 +131,3 @@ supported platforms. These tests cover the following platforms:
| Ubuntu (latest) | GNU |
| macOS (latest) | AppleClang |
| Windows (latest) | MSVC |
| WSL (Ubuntu 20.04) | GNU |

0 comments on commit 1fc8a91

Please sign in to comment.