summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorEmanuele Torre <torreemanuele6@gmail.com>2022-06-15 20:00:42 +0200
committerDaniel Stenberg <daniel@haxx.se>2022-06-22 10:43:07 +0200
commit79f915e8ec53fb4f8dde981be1e432bd6ac6c875 (patch)
treee09aff539c3a033c693f0ccf8709bf1ce1c8a340 /.github
parent8b83fbfe8295b257eba5341051873ce4e9078d69 (diff)
downloadcurl-79f915e8ec53fb4f8dde981be1e432bd6ac6c875.tar.gz
ci: avoid `cmake -Hpath`
This is an undocumented option similar to the `-Spath' option introduced in cmake 3.13. Replace all instances of `-Hpath' with `-Spath' in macos workflow. Replace `-H. -Bpath' with `mkdir path; cd ./path; cmake ..' in zuul scripts since it runs an older version of cmake. Fixes #9008 Closes #9014
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/macos.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
index cbfed8006..6ebd57a41 100644
--- a/.github/workflows/macos.yml
+++ b/.github/workflows/macos.yml
@@ -149,7 +149,7 @@ jobs:
- uses: actions/checkout@v3
- - run: cmake -H. -Bbuild -DCURL_WERROR=ON -DPICKY_COMPILER=ON ${{ matrix.build.generate }}
+ - run: cmake -S. -Bbuild -DCURL_WERROR=ON -DPICKY_COMPILER=ON ${{ matrix.build.generate }}
name: 'cmake generate'
- run: cmake --build build