Skip to content

Commit

Permalink
Fixed mac & linux build
Browse files Browse the repository at this point in the history
  • Loading branch information
EX3exp committed Sep 30, 2024
1 parent 3b65183 commit 75844e6
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,14 @@ for:
- pwd
- dotnet restore Mirivoice.Desktop/Mirivoice.Desktop.csproj
- dotnet publish Mirivoice.Desktop/Mirivoice.Desktop.csproj -c Release -r osx-x64 --self-contained true
- mkdir -p Mirivoice.Desktop/bin/x64/Release/net8.0/osx-x64/MiriVoice.app/Contents/Resources/
- mkdir -p Mirivoice.Desktop/bin/x64/Release/net8.0/osx-x64/MiriVoice.app/Contents/MacOS/
- cp -R Mirivoice.Desktop/bin/Release/net8.0/osx-x64/publish/* Mirivoice.Desktop/bin/x64/Release/net8.0/osx-x64/MiriVoice.app/Contents/MacOS/
- cp Mirivoice/Assets/mirivoice.icns Mirivoice.Desktop/bin/x64/Release/net8.0/osx-x64/MiriVoice.app/Contents/Resources/
- rm *.dmg
- 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:
Expand All @@ -66,14 +74,17 @@ for:
- 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


artifacts:
- path: Mirivoice.Desktop\bin\x64\Release\net8.0\win-x64\publish\
name: MiriVoice-win-x64
- path: Mirivoice.Desktop\bin\x64\Release\net8.0\osx-x64\
- path: MiriVoice-osx-x64.dmg
name: MiriVoice-osx-x64
- path: Mirivoice.Desktop\bin\x64\Release\net8.0\linux-x64\
- path: MiriVoice-linux-x64.tar.gz
name: MiriVoice-linux-x64
deploy:
- provider: GitHub
Expand Down

0 comments on commit 75844e6

Please sign in to comment.