Skip to content

Commit

Permalink
node20 test
Browse files Browse the repository at this point in the history
  • Loading branch information
lukka committed Nov 5, 2023
1 parent 274211b commit 765f06c
Show file tree
Hide file tree
Showing 12 changed files with 26 additions and 26 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/hosted-cmake-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
with:
submodules: true

- uses: lukka/get-cmake@latest
- uses: lukka/get-cmake@dev/update-ncc-eslint
- name: dir
run: find $RUNNER_WORKSPACE
shell: bash
Expand All @@ -38,7 +38,7 @@ jobs:
run: echo "root='${{ steps.runvcpkg.outputs.RUNVCPKG_VCPKG_ROOT_OUT }}', triplet='${{ steps.runvcpkg.outputs.RUNVCPKG_VCPKG_DEFAULT_TRIPLET_OUT }}' "

- name: Run CMake-Workflow+vcpkg+Ninja
uses: lukka/run-cmake@v10
uses: lukka/run-cmake@main
id: runcmake
with:
cmakeListsTxtPath: '${{ github.workspace }}/cmakepresets/CMakeLists.txt'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/hosted-contexts-dump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
- name: dir
run: gci -recurse ${{ runner.workspace }}
if: contains( runner.os, 'windows')
- uses: lukka/get-cmake@latest
- uses: lukka/get-cmake@dev/update-ncc-eslint
- name: Setup vcpkg
uses: lukka/run-vcpkg@main
id: runvcpkg
Expand All @@ -66,7 +66,7 @@ jobs:
vcpkgGitCommitId: ${{ env.vcpkgGitCommitId }}
vcpkgJsonGlob: '**/cmakepresets/vcpkg.json'
- name: Run CMake
uses: lukka/run-cmake@v10
uses: lukka/run-cmake@main
id: runcmake
with:
cmakeListsTxtPath: '${{ github.workspace }}/cmakepresets/CMakeLists.txt'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/hosted-dump-logs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
with:
submodules: true

- uses: lukka/get-cmake@latest
- uses: lukka/get-cmake@dev/update-ncc-eslint
- name: dir
run: find $RUNNER_WORKSPACE
shell: bash
Expand All @@ -78,7 +78,7 @@ jobs:
run: echo "root='${{ steps.runvcpkg.outputs.RUNVCPKG_VCPKG_ROOT_OUT }}', triplet='${{ steps.runvcpkg.outputs.RUNVCPKG_VCPKG_DEFAULT_TRIPLET_OUT }}' "
- name: Run CMake and dump its failure log
continue-on-error: true
uses: lukka/run-cmake@v10
uses: lukka/run-cmake@main
with:
cmakeListsTxtPath: '${{ github.workspace }}/cmakepresets/CMakeLists.txt'
configurePreset: ninja-multi-vcpkg
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/hosted-get-cmake-local-cache-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
with:
submodules: true

- uses: lukka/get-cmake@latest
- uses: lukka/get-cmake@dev/update-ncc-eslint
with:
useLocalCache: true
useCloudCache: false
Expand All @@ -36,7 +36,7 @@ jobs:
- name: Dump the content of $RUNNER_WORKSPACE
run: find $RUNNER_WORKSPACE
shell: bash
- uses: lukka/get-cmake@latest
- uses: lukka/get-cmake@dev/update-ncc-eslint
with:
useLocalCache: true
useCloudCache: false
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/hosted-matchers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
with:
submodules: true

- uses: lukka/get-cmake@latest
- uses: lukka/get-cmake@dev/update-ncc-eslint

- uses: ilammy/msvc-dev-cmd@v1

Expand All @@ -43,20 +43,20 @@ jobs:
# https://github.com/actions/runner/issues/461
if: false
continue-on-error: true
uses: lukka/run-cmake@v10
uses: lukka/run-cmake@main
with:
cmakeListsTxtPath: '${{ github.workspace }}/matchers/cmake_error/CMakeLists.txt'
configurePreset: ninja
- name: Run CMake+Ninja with triplet (cmd) [Build error]
continue-on-error: true
uses: lukka/run-cmake@v10
uses: lukka/run-cmake@main
with:
cmakeListsTxtPath: '${{ github.workspace }}/matchers/build_error/CMakeLists.txt'
configurePreset: ninja
buildPreset: ninja
- name: Run CMake+Ninja with triplet (cmd) [CMake error + warning]
continue-on-error: true
uses: lukka/run-cmake@v10
uses: lukka/run-cmake@main
with:
cmakeListsTxtPath: '${{ github.workspace }}/cmakepresets/CMakeLists.txt'
configurePreset: ninja-multi-vcpkg
4 changes: 2 additions & 2 deletions .github/workflows/hosted-msbuild-vcpkg_submod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
with:
submodules: true

- uses: lukka/get-cmake@latest
- uses: lukka/get-cmake@dev/update-ncc-eslint
- name: dir
run: find $RUNNER_WORKSPACE
shell: bash
Expand All @@ -36,7 +36,7 @@ jobs:
- name: Prints output of run-vcpkg's action.
run: echo "root='${{ steps.runvcpkg.outputs.RUNVCPKG_VCPKG_ROOT_OUT }}', triplet='${{ steps.runvcpkg.outputs.RUNVCPKG_VCPKG_DEFAULT_TRIPLET_OUT }}' "
- name: Run CMake+MSBuild
uses: lukka/run-cmake@v10
uses: lukka/run-cmake@main
if: contains( matrix.os, 'windows')
with:
cmakeListsTxtPath: '${{ github.workspace }}/cmakepresets/CMakeLists.txt'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/hosted-ninja-toolchain-vcpkg_submod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
with:
submodules: true

- uses: lukka/get-cmake@latest
- uses: lukka/get-cmake@dev/update-ncc-eslint
- name: dir
run: find $RUNNER_WORKSPACE
shell: bash
Expand All @@ -38,7 +38,7 @@ jobs:
- name: Prints output of run-vcpkg's action.
run: echo "root='${{ steps.runvcpkg.outputs.RUNVCPKG_VCPKG_ROOT_OUT }}', triplet='${{ steps.runvcpkg.outputs.RUNVCPKG_VCPKG_DEFAULT_TRIPLET_OUT }}' "
- name: Run CMake+vcpkg+Ninja
uses: lukka/run-cmake@v10
uses: lukka/run-cmake@main
id: runcmake
with:
cmakeListsTxtPath: '${{ github.workspace }}/cmakepresets/CMakeLists.txt'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/hosted-ninja-vcpkg-install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
with:
submodules: true

- uses: lukka/get-cmake@latest
- uses: lukka/get-cmake@dev/update-ncc-eslint
- name: List $RUNNER_WORKSPACE before build
run: find $RUNNER_WORKSPACE
shell: bash
Expand All @@ -65,7 +65,7 @@ jobs:
run: echo "root='${{ steps.runvcpkg.outputs.RUNVCPKG_VCPKG_ROOT_OUT }}', triplet='${{ steps.runvcpkg.outputs.RUNVCPKG_VCPKG_DEFAULT_TRIPLET_OUT }}' "

- name: Run CMake with Ninja
uses: lukka/run-cmake@v10
uses: lukka/run-cmake@main
with:
cmakeListsTxtPath: '${{ github.workspace }}/cmakepresets/CMakeLists.txt'
configurePreset: 'ninja-multi-vcpkg'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/hosted-ninja-vcpkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
with:
submodules: true

- uses: lukka/get-cmake@latest
- uses: lukka/get-cmake@dev/update-ncc-eslint
- name: Dump the content of $RUNNER_TEMP
run: find $RUNNER_TEMP
shell: bash
Expand All @@ -59,7 +59,7 @@ jobs:
run: echo "root='${{ steps.runvcpkg.outputs.RUNVCPKG_VCPKG_ROOT_OUT }}', triplet='${{ steps.runvcpkg.outputs.RUNVCPKG_VCPKG_DEFAULT_TRIPLET_OUT }}'"

- name: Run CMake with vcpkg.json manifest
uses: lukka/run-cmake@v10
uses: lukka/run-cmake@main
with:
cmakeListsTxtPath: '${{ github.workspace }}/cmakepresets/CMakeLists.txt'
configurePreset: ninja-multi-vcpkg
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/hosted-ninja-vcpkg_submod-autocache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
# try to access.
fetch-depth: 0

- uses: lukka/get-cmake@latest
- uses: lukka/get-cmake@dev/update-ncc-eslint
- name: List $RUNNER_WORKSPACE before vcpkg is setup
run: find $RUNNER_WORKSPACE
shell: bash
Expand All @@ -54,7 +54,7 @@ jobs:
- name: Prints output of run-vcpkg's action.
run: echo "root='${{ steps.runvcpkg.outputs.RUNVCPKG_VCPKG_ROOT_OUT }}', triplet='${{ steps.runvcpkg.outputs.RUNVCPKG_VCPKG_DEFAULT_TRIPLET_OUT }}' "
- name: Run CMake+vcpkg+Ninja
uses: lukka/run-cmake@v10
uses: lukka/run-cmake@main
id: runcmake
with:
cmakeListsTxtPath: '${{ github.workspace }}/cmakepresets/CMakeLists.txt'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/hosted-ninja-vcpkg_submod-triplet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
with:
submodules: true

- uses: lukka/get-cmake@latest
- uses: lukka/get-cmake@dev/update-ncc-eslint
- name: dir
run: find $RUNNER_WORKSPACE
shell: bash
Expand All @@ -58,7 +58,7 @@ jobs:
- name: Prints output of run-vcpkg's action.
run: echo "root='${{ steps.runvcpkg.outputs.RUNVCPKG_VCPKG_ROOT_OUT }}', triplet='${{ steps.runvcpkg.outputs.RUNVCPKG_VCPKG_DEFAULT_TRIPLET_OUT }}' "
- name: Run CMake+vcpkg+NinjaMulti-Config (Release configuration)
uses: lukka/run-cmake@v10
uses: lukka/run-cmake@main
id: runcmake
with:
cmakeListsTxtPath: '${{ github.workspace }}/cmakepresets/CMakeLists.txt'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/hosted-ninja-vcpkg_submod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
# Do not use if not needed, since it slows down the checkout of sources.
fetch-depth: 0

- uses: lukka/get-cmake@latest
- uses: lukka/get-cmake@dev/update-ncc-eslint
- name: List $RUNNER_WORKSPACE before vcpkg is setup
run: find $RUNNER_WORKSPACE
shell: bash
Expand All @@ -52,7 +52,7 @@ jobs:
- name: Prints output of run-vcpkg's action.
run: echo "root='${{ steps.runvcpkg.outputs.RUNVCPKG_VCPKG_ROOT_OUT }}', triplet='${{ steps.runvcpkg.outputs.RUNVCPKG_VCPKG_DEFAULT_TRIPLET_OUT }}' "
- name: Run CMake+vcpkg+Ninja
uses: lukka/run-cmake@v10
uses: lukka/run-cmake@main
id: runcmake
with:
cmakeListsTxtPath: '${{ github.workspace }}/cmakepresets/CMakeLists.txt'
Expand Down

0 comments on commit 765f06c

Please sign in to comment.