Include nuget restore step
This commit is contained in:
vdwtanner 2023-12-04 11:52:24 -08:00 коммит произвёл GitHub
Родитель ce02d38ae8
Коммит 41c148d64e
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 6 добавлений и 0 удалений

6
.github/workflows/prBuild.yml поставляемый
Просмотреть файл

@ -19,12 +19,18 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: NuGet/setup-nuget@v1.2.0
with:
nuget-version: latest
- name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
run: cmake -B ${{github.workspace}}/build -DUSE_PIX=OFF -DCMAKE_SYSTEM_VERSION="10.0.22621.0"
- name: Nuget Restore
run: nuget restore ${{github.workspace}}/build/D3D9on12.sln
- name: Build
# Build your program with the given configuration
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}