|
|
|
|
@ -16,13 +16,13 @@ jobs:
|
|
|
|
|
strategy:
|
|
|
|
|
fail-fast: false
|
|
|
|
|
matrix:
|
|
|
|
|
os: [ubuntu-latest, macos-13, windows-latest]
|
|
|
|
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
|
|
|
|
configuration: [Release]
|
|
|
|
|
include:
|
|
|
|
|
- os: ubuntu-latest
|
|
|
|
|
COMMAND: AM2RLauncher.Gtk -p:PublishSingleFile=true -p:DebugType=embedded -r ubuntu.18.04-x64 --no-self-contained
|
|
|
|
|
ARTIFACT: AM2RLauncher/AM2RLauncher.Gtk/bin/Release/net6.0/ubuntu.18.04-x64/publish/
|
|
|
|
|
- os: macos-13
|
|
|
|
|
ARTIFACT: AM2RLauncher/AM2RLauncher.Gtk/bin/Release/net8.0/ubuntu.18.04-x64/publish/
|
|
|
|
|
- os: macos-latest
|
|
|
|
|
COMMAND: AM2RLauncher.Mac -o builds/macOS-latest
|
|
|
|
|
ARTIFACT: AM2RLauncher/builds/macOS-latest
|
|
|
|
|
- os: windows-latest
|
|
|
|
|
@ -40,9 +40,6 @@ jobs:
|
|
|
|
|
- name: Install Mac workload
|
|
|
|
|
working-directory: ./AM2RLauncher
|
|
|
|
|
run: dotnet workload install macos && dotnet workload restore
|
|
|
|
|
- name: Switch XCode
|
|
|
|
|
run: sudo xcode-select -switch /Applications/Xcode_15.0.1.app/Contents/Developer
|
|
|
|
|
if: matrix.os == 'macos-13'
|
|
|
|
|
- name: Restore dependencies
|
|
|
|
|
working-directory: ./AM2RLauncher
|
|
|
|
|
run: dotnet restore
|
|
|
|
|
|