Skip to content

Commit

Permalink
fixing ci
Browse files Browse the repository at this point in the history
Signed-off-by: Andrey Parfenov <a1994ndrey@gmail.com>
  • Loading branch information
Andrey1994 committed Dec 12, 2022
1 parent fdf26b1 commit 3808715
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:

jobs:
RunDeploy:
runs-on: windows-2019
runs-on: windows-2022

steps:
# check users permission
Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
run: |
mkdir %GITHUB_WORKSPACE%\build64
cd %GITHUB_WORKSPACE%\build64
cmake -DBRAINFLOW_VERSION=%GITHUB_SHA% -DWARNINGS_AS_ERRORS=ON -G "Visual Studio 16 2019" -A x64 -DCMAKE_SYSTEM_VERSION=8.1 -DCMAKE_INSTALL_PREFIX=..\installed64\ ..
cmake -DBRAINFLOW_VERSION=%GITHUB_SHA% -DWARNINGS_AS_ERRORS=ON -G "Visual Studio 17 2022" -A x64 -DCMAKE_SYSTEM_VERSION=8.1 -DCMAKE_INSTALL_PREFIX=..\installed64\ ..
cmake --build . --target install --config Release -j 2 --parallel 2
shell: cmd
# Download all artifacts from AWS
Expand Down Expand Up @@ -167,6 +167,7 @@ jobs:
Get-ChildItem -Path "$env:GITHUB_WORKSPACE\csharp_package\brainflow\brainflow\lib" *.lib | foreach { Remove-Item -Path $_.FullName }
ls $env:GITHUB_WORKSPACE\csharp_package\brainflow\brainflow\lib
cd $env:GITHUB_WORKSPACE\csharp_package\brainflow
dotnet restore brainflow.sln
msbuild brainflow.sln /p:Configuration=Release /p:Platform="Any CPU"
cd $env:GITHUB_WORKSPACE\csharp_package\brainflow\brainflow
(gc .\brainflow.nuspec).replace('0.0.1', $env:VERSION) | Out-File -encoding ASCII brainflow.nuspec
Expand Down

0 comments on commit 3808715

Please sign in to comment.