chore(ci): test to see about building plugin
This commit is contained in:
parent
902cc7a654
commit
f8dc5cc49c
14
.build.yml
14
.build.yml
|
@ -1,12 +1,23 @@
|
||||||
image: fedora/latest
|
image: fedora/latest
|
||||||
packages:
|
packages:
|
||||||
- dotnet
|
- dotnet
|
||||||
|
- wget
|
||||||
|
- unzip
|
||||||
sources:
|
sources:
|
||||||
- https://git.sr.ht/~jkcclemens/NoSoliciting
|
- https://git.sr.ht/~jkcclemens/NoSoliciting
|
||||||
secrets:
|
secrets:
|
||||||
- 92fe0dd0-db40-41e0-903a-a18489f75548
|
- 92fe0dd0-db40-41e0-903a-a18489f75548
|
||||||
tasks:
|
tasks:
|
||||||
- build: |
|
- download-dalamud: |
|
||||||
|
mkdir dalamud
|
||||||
|
cd dalamud
|
||||||
|
wget https://github.com/goatcorp/dalamud-distrib/raw/main/latest.zip
|
||||||
|
unzip latest.zip
|
||||||
|
rm latest.zip
|
||||||
|
- build-plugin: |
|
||||||
|
cd NoSoliciting/NoSoliciting
|
||||||
|
dotnet build -c Release -p:IsCI=true
|
||||||
|
- build-trainer: |
|
||||||
cd NoSoliciting/NoSoliciting.Trainer
|
cd NoSoliciting/NoSoliciting.Trainer
|
||||||
dotnet build -c Release
|
dotnet build -c Release
|
||||||
- test: |
|
- test: |
|
||||||
|
@ -22,4 +33,5 @@ tasks:
|
||||||
ssh actions@warm.kitteh.space model update "$(git rev-parse HEAD)" < NoSoliciting.Trainer/model.zip
|
ssh actions@warm.kitteh.space model update "$(git rev-parse HEAD)" < NoSoliciting.Trainer/model.zip
|
||||||
fi
|
fi
|
||||||
artifacts:
|
artifacts:
|
||||||
|
- NoSoliciting/NoSoliciting/bin/Release/net5-windows/NoSoliciting/latest.zip
|
||||||
- NoSoliciting/NoSoliciting.Trainer/model.zip
|
- NoSoliciting/NoSoliciting.Trainer/model.zip
|
||||||
|
|
|
@ -10,25 +10,36 @@
|
||||||
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
||||||
<ProduceReferenceAssembly>false</ProduceReferenceAssembly>
|
<ProduceReferenceAssembly>false</ProduceReferenceAssembly>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<Dalamud>$(AppData)\XIVLauncher\addon\Hooks\dev</Dalamud>
|
||||||
|
<CI>$(HOME)/dalamud</CI>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="Dalamud">
|
<Reference Include="Dalamud">
|
||||||
<HintPath>$(AppData)\XIVLauncher\addon\Hooks\dev\Dalamud.dll</HintPath>
|
<HintPath>$(Dalamud)\Dalamud.dll</HintPath>
|
||||||
|
<HintPath Condition="'$(IsCI)' == 'true'">$(CI)/Dalamud.dll</HintPath>
|
||||||
<Private>False</Private>
|
<Private>False</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="ImGui.NET">
|
<Reference Include="ImGui.NET">
|
||||||
<HintPath>$(AppData)\XIVLauncher\addon\Hooks\dev\ImGui.NET.dll</HintPath>
|
<HintPath>$(Dalamud)\ImGui.NET.dll</HintPath>
|
||||||
|
<HintPath Condition="'$(IsCI)' == 'true'">$(CI)/ImGui.NET.dll</HintPath>
|
||||||
<Private>False</Private>
|
<Private>False</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Lumina">
|
<Reference Include="Lumina">
|
||||||
<HintPath>$(AppData)\XIVLauncher\addon\Hooks\dev\Lumina.dll</HintPath>
|
<HintPath>$(Dalamud)\Lumina.dll</HintPath>
|
||||||
|
<HintPath Condition="'$(IsCI)' == 'true'">$(CI)/Lumina.dll</HintPath>
|
||||||
<Private>False</Private>
|
<Private>False</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Lumina.Excel">
|
<Reference Include="Lumina.Excel">
|
||||||
<HintPath>$(AppData)\XIVLauncher\addon\Hooks\dev\Lumina.Excel.dll</HintPath>
|
<HintPath>$(Dalamud)\Lumina.Excel.dll</HintPath>
|
||||||
|
<HintPath Condition="'$(IsCI)' == 'true'">$(CI)/Lumina.Excel.dll</HintPath>
|
||||||
<Private>False</Private>
|
<Private>False</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Newtonsoft.Json">
|
<Reference Include="Newtonsoft.Json">
|
||||||
<HintPath>$(AppData)\XIVLauncher\addon\Hooks\dev\Newtonsoft.Json.dll</HintPath>
|
<HintPath>$(Dalamud)\Newtonsoft.Json.dll</HintPath>
|
||||||
|
<HintPath Condition="'$(IsCI)' == 'true'">$(CI)/Newtonsoft.Json.dll</HintPath>
|
||||||
<Private>False</Private>
|
<Private>False</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
Loading…
Reference in New Issue