|
|
|
@ -16,17 +16,14 @@ jobs:
|
|
|
|
fail-fast: false
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
matrix:
|
|
|
|
os: [ubuntu-latest, macOS-latest, windows-latest]
|
|
|
|
os: [ubuntu-latest, macOS-latest, windows-latest]
|
|
|
|
configuration: [Debug, Release]
|
|
|
|
configuration: [Release]
|
|
|
|
include:
|
|
|
|
include:
|
|
|
|
- os: ubuntu-latest
|
|
|
|
- os: ubuntu-latest
|
|
|
|
COMMAND: AM2RLauncher.Gtk -p:PublishSingleFile=true -p:DebugType=embedded -r ubuntu.18.04-x64 --no-self-contained
|
|
|
|
COMMAND: AM2RLauncher.Gtk -p:PublishSingleFile=true -p:DebugType=embedded -r ubuntu.18.04-x64 --no-self-contained
|
|
|
|
COMMAND2: ""
|
|
|
|
|
|
|
|
- os: macOS-latest
|
|
|
|
- os: macOS-latest
|
|
|
|
COMMAND: AM2RLauncher.Mac
|
|
|
|
COMMAND: AM2RLauncher.Mac
|
|
|
|
COMMAND2: ""
|
|
|
|
|
|
|
|
- os: windows-latest
|
|
|
|
- os: windows-latest
|
|
|
|
COMMAND: AM2RLauncher.Wpf -r win-x86 -o builds\win86
|
|
|
|
COMMAND: AM2RLauncher.Wpf -r win-x86 -o builds\win86
|
|
|
|
#COMMAND2: \&\& ROBOCOPY builds\win86 builds\win86\lib\ /XF *.exe *.config *.manifest /XD lib logs data /E /IS /MOVE
|
|
|
|
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -35,11 +32,10 @@ jobs:
|
|
|
|
- name: Setup .NET
|
|
|
|
- name: Setup .NET
|
|
|
|
uses: actions/setup-dotnet@v1
|
|
|
|
uses: actions/setup-dotnet@v1
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
#dotnet-version: 6.0.x
|
|
|
|
dotnet-version: 6.0.x
|
|
|
|
dotnet-version: 4.8
|
|
|
|
|
|
|
|
- name: Restore dependencies
|
|
|
|
- name: Restore dependencies
|
|
|
|
working-directory: ./AM2RLauncher
|
|
|
|
working-directory: ./AM2RLauncher
|
|
|
|
run: dotnet restore
|
|
|
|
run: dotnet restore
|
|
|
|
- name: Build
|
|
|
|
- name: Build
|
|
|
|
working-directory: ./AM2RLauncher
|
|
|
|
working-directory: ./AM2RLauncher
|
|
|
|
run: dotnet publish ${{ matrix.COMMAND }} -c "${{ matrix.configuration }}" ${{ matrix.COMMAND2 }}
|
|
|
|
run: dotnet publish ${{ matrix.COMMAND }} -c "${{ matrix.configuration }}"
|
|
|
|
|