Skip to content

Commit

Permalink
Merge pull request #2 from project-fika/runner-assemblies
Browse files Browse the repository at this point in the history
Runner assemblies
  • Loading branch information
MerijnHendriks authored May 3, 2024
2 parents f3e655a + 0f00e29 commit 4f5f13b
Show file tree
Hide file tree
Showing 7 changed files with 55 additions and 3 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: .NET Test

on:
workflow_dispatch:
push:
paths-ignore:
- '**/*.md'
pull_request:
paths-ignore:
- '**/*.md'

jobs:
test:
runs-on: ubuntu-latest

env:
DOTNET_NOLOGO: true
DOTNET_CLI_TELEMETRY_OPTOUT: true

steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: recursive
token: ${{ secrets.FIKA_GITMODULES }}

- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'

- name: Install dependencies
run: dotnet restore --configfile Nuget.config

- name: Build
run: dotnet build --nologo --no-restore --configuration Debug

- name: Test
run: dotnet test --nologo --no-restore --no-build --blame-hang-timeout 1min

3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -371,5 +371,4 @@ FodyWeavers.xsd
# Fika
/Build
/Properties/private.snk
/Properties/public.snk
/References
/Properties/public.snk
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "References"]
path = References
url = https://github.com/project-fika/References.git
2 changes: 1 addition & 1 deletion Fika.Core/Fika.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
<Private>False</Private>
</Reference>
<Reference Include="Assembly-CSharp">
<HintPath>..\References\Assembly-CSharp.dll</HintPath>
<HintPath>..\References\hollowed.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="bsg.componentace.compression.libs.zlib">
Expand Down
File renamed without changes.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,15 @@ to make your code coherent for the other developers.
- [Visual Studio Code](https://code.visualstudio.com/)
- [.NET SDK 8.0.x](https://dotnet.microsoft.com/en-us/download/dotnet/8.0)

## Setup

- Fika developer: `git submodule update --init --recursive`
- Collaborator:
1. Copy-paste the contents of `EscapeFromTarkov_Data/Managed/` into
`References/`
2. Copy-paste from Aki.Modules `project/Shared/Hollowed/hollowed.dll` into
`References/`

## Build

### Debug / Release
Expand Down
1 change: 1 addition & 0 deletions References
Submodule References added at c79307

0 comments on commit 4f5f13b

Please sign in to comment.