File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 1717 if : " ! contains(github.event.head_commit.message, '[ci skip]')"
1818 runs-on : windows-latest
1919
20- name : windows-latest-WSLv1
20+ name : windows-latest-WSL2
2121
2222 env :
2323 R_REMOTES_NO_ERRORS_FROM_WARNINGS : true
@@ -47,13 +47,12 @@ jobs:
4747 - uses : Vampire/setup-wsl@v4
4848 with :
4949 distribution : Ubuntu-22.04
50- use-cache : ' false'
50+ wsl-version : 2
51+ use-cache : ' true'
5152 set-as-default : ' true'
53+
5254 - name : Install WSL Dependencies
5355 run : |
54- # Bugfix for current gzip (for unpacking apt packages) under WSLv1:
55- # https://github.com/microsoft/WSL/issues/8219#issuecomment-1110508016
56- echo -en '\x10' | sudo dd of=/usr/bin/gzip count=1 bs=1 conv=notrunc seek=$((0x189))
5756 sudo apt-get update
5857 sudo apt-get install -y build-essential libopenmpi-dev
5958 shell : wsl-bash {0}
You can’t perform that action at this time.
0 commit comments