We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8710b1f commit cfaef26Copy full SHA for cfaef26
1 file changed
.github/workflows/R-CMD-check-wsl.yaml
@@ -47,13 +47,12 @@ jobs:
47
- uses: Vampire/setup-wsl@v4
48
with:
49
distribution: Ubuntu-22.04
50
- use-cache: 'false'
+ wsl-version: 2
51
+ use-cache: 'true'
52
set-as-default: 'true'
53
+
54
- name: Install WSL Dependencies
55
run: |
- # Bugfix for current gzip (for unpacking apt packages) under WSLv1:
- # 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))
57
sudo apt-get update
58
sudo apt-get install -y build-essential libopenmpi-dev
59
shell: wsl-bash {0}
0 commit comments