mirror of
				https://github.com/momo5502/hypervisor.git
				synced 2025-11-04 12:37:10 +00:00 
			
		
		
		
	Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 5. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
		
			
				
	
	
		
			60 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			60 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
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@v5
 | 
						|
        with:
 | 
						|
          submodules: true
 | 
						|
          fetch-depth: 0
 | 
						|
          lfs: false
 | 
						|
 | 
						|
      - name: Install WDK
 | 
						|
        run: |
 | 
						|
          curl -L --output wdksetup.exe https://go.microsoft.com/fwlink/?linkid=2196230
 | 
						|
          cmd /c start /wait wdksetup.exe /ceip off /quiet /features +
 | 
						|
 | 
						|
      - name: Setup CMake
 | 
						|
        uses: lukka/get-cmake@latest
 | 
						|
 | 
						|
      - name: Setup problem matching
 | 
						|
        uses: ammaraskar/msvc-problem-matcher@master
 | 
						|
 | 
						|
      - name: Setup DevCmd
 | 
						|
        uses: ilammy/msvc-dev-cmd@v1.13.0
 | 
						|
        with:
 | 
						|
          arch: x64
 | 
						|
 | 
						|
      - name: Configure CMake
 | 
						|
        run: cmake --preset=${{matrix.configuration}}
 | 
						|
 | 
						|
      - name: Build ${{matrix.configuration}}
 | 
						|
        run: cmake --build --preset=${{matrix.configuration}}
 | 
						|
 | 
						|
      - name: Upload ${{matrix.configuration}} binaries
 | 
						|
        uses: actions/upload-artifact@v5
 | 
						|
        with:
 | 
						|
          name: ${{matrix.configuration}} binaries
 | 
						|
          path: |
 | 
						|
            build/${{matrix.configuration}}/artifacts/*.exe
 | 
						|
            build/${{matrix.configuration}}/artifacts/*.dll
 | 
						|
            build/${{matrix.configuration}}/artifacts/*.pdb
 | 
						|
            build/${{matrix.configuration}}/artifacts/*.sys
 |