Language Migration #21
@@ -1,50 +0,0 @@
|
|||||||
name: hosted-ninja_multi-vcpkg_submod-triplet-cacheoff
|
|
||||||
on: [push, workflow_dispatch]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
job:
|
|
||||||
name: ${{ matrix.os }}-${{ github.workflow }}
|
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
strategy:
|
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
|
||||||
include:
|
|
||||||
- os: windows-latest
|
|
||||||
triplet: x64-windows
|
|
||||||
- os: ubuntu-latest
|
|
||||||
triplet: x64-linux
|
|
||||||
- os: macos-latest
|
|
||||||
triplet: x64-osx
|
|
||||||
|
|
||||||
env:
|
|
||||||
VCPKG_DEFAULT_TRIPLET: ${{ matrix.triplet }}
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
submodules: true
|
|
||||||
|
|
||||||
- uses: lukka/get-cmake@latest
|
|
||||||
- name: dir
|
|
||||||
run: find $RUNNER_WORKSPACE
|
|
||||||
shell: bash
|
|
||||||
|
|
||||||
- name: Setup vcpkg
|
|
||||||
uses: lukka/run-vcpkg@main
|
|
||||||
id: runvcpkg
|
|
||||||
with:
|
|
||||||
vcpkgJsonGlob: '**/cmakepresets/vcpkg.json'
|
|
||||||
|
|
||||||
- name: List $RUNNER_WORKSPACE before build
|
|
||||||
run: find $RUNNER_WORKSPACE
|
|
||||||
shell: bash
|
|
||||||
- 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: Build
|
|
||||||
# Build your program with the given configuration
|
|
||||||
# run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
|
|
||||||
|
|
||||||
- name: List $RUNNER_WORKSPACE after build
|
|
||||||
run: find $RUNNER_WORKSPACE
|
|
||||||
shell: bash
|
|
||||||
Reference in New Issue
Block a user