diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0d1e2e3..1ef1a1d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -210,9 +210,10 @@ jobs: # if: matrix.os != 'windows-2022' shell: pwsh run: | - Add-Content "$env:GITHUB_ENV" "hostSystemName=$("${{ matrix.os }}".split("-")[0])" - perl -p -e 's//${hostSystemName}/g;' .CMakeUserPresets.json > CMakeUserPresets.json - cmake --workflow "--preset=ci-$("${{ matrix.os }}".split("-")[0])" + export hostSystemName=$("${{ matrix.os }}".split("-")[0]) + uname || echo ${hostSystemName} + perl -p -e "s//${hostSystemName}/g;" .CMakeUserPresets.json > CMakeUserPresets.json + cmake --workflow --preset=dev # XXX "--preset=ci-$("${{ matrix.os }}".split("-")[0])" # - name: Configure on windows # if: matrix.os == 'windows-2022'