Skip to content

Commit

Permalink
changed build order in appveyor
Browse files Browse the repository at this point in the history
  • Loading branch information
EX3exp committed Sep 30, 2024
1 parent 27452cf commit 7a0e98f
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,18 @@ nuget:
project_feed: true

for:

-
matrix:
only:
- job_name: Windows build
- job_name: Linux build

build_script:
- pwd
- dotnet restore Mirivoice.Desktop/Mirivoice.Desktop.csproj
- dotnet publish Mirivoice.Desktop/Mirivoice.Desktop.csproj -c Release -r win-x64 --self-contained true
- dotnet publish Mirivoice.Desktop/Mirivoice.Desktop.csproj -c Release -r linux-x64 --self-contained true
- chmod +x Mirivoice.Desktop/bin/x64/Release/net8.0/linux-x64/publish
- mv Mirivoice.Desktop/bin/x64/Release/net8.0/linux-x64/publish Mirivoice.Desktop/bin/x64/Release/net8.0/linux-x64/MiriVoice-linux-x64
- tar -C Mirivoice.Desktop/bin/x64/Release/net8.0/linux-x64/ -czvf MiriVoice-linux-x64.tar.gz

-
matrix:
Expand All @@ -65,18 +67,19 @@ for:
- npm install -g create-dmg
- create-dmg Mirivoice.Desktop/bin/x64/Release/net8.0/osx-x64/MiriVoice.app
- mv *.dmg Mirivoice-osx-x64.dmg

-
matrix:
only:
- job_name: Linux build
- job_name: Windows build

build_script:
- pwd
- dotnet restore Mirivoice.Desktop/Mirivoice.Desktop.csproj
- dotnet publish Mirivoice.Desktop/Mirivoice.Desktop.csproj -c Release -r linux-x64 --self-contained true
- chmod +x Mirivoice.Desktop/bin/x64/Release/net8.0/linux-x64/publish
- mv Mirivoice.Desktop/bin/x64/Release/net8.0/linux-x64/publish Mirivoice.Desktop/bin/x64/Release/net8.0/linux-x64/MiriVoice-linux-x64
- tar -C Mirivoice.Desktop/bin/x64/Release/net8.0/linux-x64/ -czvf MiriVoice-linux-x64.tar.gz
- dotnet publish Mirivoice.Desktop/Mirivoice.Desktop.csproj -c Release -r win-x64 --self-contained true





artifacts:
Expand Down

0 comments on commit 7a0e98f

Please sign in to comment.