hendrikmuhs / ccache-action

github action to speedup building using ccache
MIT License
114 stars 52 forks source link

Error installing on Windows #184

Open krlmlr opened 7 months ago

krlmlr commented 7 months ago

For some reason, on Windows, with RTools installed (which provides a custom sh.exe), the workflows can no longer install ccache:

  C:\rtools43\usr\bin\sh.exe -xc "curl -L 'https://github.com/ccache/ccache/releases/download/v4.7.4/ccache-4.7.4-windows-x86_64.zip' -o 'C:\Users\RUNNER~1\AppData\Local\Tempk750hp\dl.zip'"
  + curl -L https://github.com/ccache/ccache/releases/download/v4.7.4/ccache-4.7.4-windows-x86_64.zip -o 'C:\Users\RUNNER~1\AppData\Local\Tempk750hp\dl.zip'
    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                   Dload  Upload   Total   Spent    Left  Speed

    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  curl: (77) error setting certificate file: /usr/ssl/certs/ca-bundle.crt
  Error: Restoring cache failed: Error: The process 'C:\rtools43\usr\bin\sh.exe' failed with exit code 77

This has worked in the past, and (I think) can be mitigated by using the built-in bash instead of "sh" found in $PATH .

https://github.com/duckdblabs/duckplyr/actions/runs/7839478926/job/21392636508?pr=93#step:4:3749

krlmlr commented 7 months ago

This is using an older version from a fork, perhaps 10 commits behind the current mainline. I've updated, will report here.

krlmlr commented 5 months ago

@hendrikmuhs: Seeing this again, now from the main branch: https://github.com/hannes/duckdb-rfuns/actions/runs/8508536239/job/23302365461?pr=71#step:8:27 .

Any idea what might be causing this?