Skip to content

move static_hash to stomplay #149

move static_hash to stomplay

move static_hash to stomplay #149

Workflow file for this run

# Copyright (c) 2019-2020 Luca Cappa
# Released under the term specified in file LICENSE.txt
# SPDX short identifier: MIT
name: windows
on: [push]
jobs:
job:
name: ${{ matrix.os }}-hosted-basic
runs-on: ${{ matrix.os }}
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
strategy:
fail-fast: false
matrix:
os: [windows-2019]
include:
- os: windows-2019
triplet: x64-windows
vcpkgCommitId: '8a9a97315aefb3f8bc5d81bf66ca0025938b9c91'
vcpkgPackages: 'sqlite3'
steps:
- uses: actions/checkout@master
- uses: lukka/get-cmake@latest
- name: dir
run: find $RUNNER_WORKSPACE
shell: bash
- name: Restore artifacts, or run vcpkg, build and cache artifacts
uses: lukka/run-vcpkg@v3
id: runvcpkg
with:
vcpkgArguments: '${{ matrix.vcpkgPackages }}'
vcpkgTriplet: '${{ matrix.triplet }}'
vcpkgDirectory: '${{ runner.workspace }}/b/vcpkg'
vcpkgGitCommitId: '${{ matrix.vcpkgCommitId }}'
- name: dir
run: find $RUNNER_WORKSPACE
shell: bash
- name: Prints outputs of run-vcpkg task
run: echo "'${{ steps.runvcpkg.outputs.RUNVCPKG_VCPKG_ROOT_OUT }}' '${{ steps.runvcpkg.outputs.RUNVCPKG_VCPKG_TRIPLET_OUT }}' "
- name: Run CMake+Ninja without triplet
uses: lukka/run-cmake@v2
id: runcmake
with:
cmakeGenerator: 'Ninja'
cmakeListsOrSettingsJson: 'CMakeListsTxtBasic'
cmakeListsTxtPath: '${{ github.workspace }}/CMakeLists.txt'
useVcpkgToolchainFile: true
buildWithCMakeArgs: '-- -v'
buildDirectory: '${{ runner.workspace }}/b/ninja/'