mirror of
https://github.com/momo5502/hypervisor.git
synced 2025-06-02 09:27:43 +00:00
Try adding a github workflow
This commit is contained in:
parent
ed9ed1da2f
commit
c68882513c
7
.github/dependabot.yml
vendored
Normal file
7
.github/dependabot.yml
vendored
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
version: 2
|
||||||
|
updates:
|
||||||
|
- package-ecosystem: gitsubmodule
|
||||||
|
directory: "/"
|
||||||
|
schedule:
|
||||||
|
interval: daily
|
||||||
|
open-pull-requests-limit: 10
|
56
.github/workflows/build.yml
vendored
Normal file
56
.github/workflows/build.yml
vendored
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
name: Build
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- "*"
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- "*"
|
||||||
|
types: [opened, synchronize, reopened]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: Build binaries
|
||||||
|
runs-on: windows-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
configuration:
|
||||||
|
- debug
|
||||||
|
- release
|
||||||
|
steps:
|
||||||
|
- name: Check out files
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
submodules: true
|
||||||
|
fetch-depth: 0
|
||||||
|
lfs: false
|
||||||
|
|
||||||
|
- name: Add msbuild to PATH
|
||||||
|
uses: microsoft/setup-msbuild@v1.1
|
||||||
|
with:
|
||||||
|
msbuild-architecture: x64
|
||||||
|
|
||||||
|
- name: Setup CMake
|
||||||
|
uses: lukka/get-cmake@latest
|
||||||
|
|
||||||
|
- name: Setup Ninja
|
||||||
|
uses: ashutoshvarma/setup-ninja@master
|
||||||
|
|
||||||
|
- name: Set up problem matching
|
||||||
|
uses: ammaraskar/msvc-problem-matcher@master
|
||||||
|
|
||||||
|
- name: Run CMake
|
||||||
|
uses: lukka/run-cmake@v10
|
||||||
|
with:
|
||||||
|
configurePreset: '${{matrix.configuration}}'
|
||||||
|
buildPreset: '${{matrix.configuration}}'
|
||||||
|
|
||||||
|
- name: Upload ${{matrix.configuration}} binaries
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: ${{matrix.configuration}} binaries
|
||||||
|
path: |
|
||||||
|
build/${{matrix.configuration}}/artifacts/*.exe
|
||||||
|
build/${{matrix.configuration}}/artifacts/*.pdb
|
||||||
|
build/${{matrix.configuration}}/artifacts/*.sys
|
Loading…
x
Reference in New Issue
Block a user