Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Runner assemblies #2

Merged
merged 7 commits into from
May 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading