Skip to content

Commit

Permalink
Add test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
emnigma committed Jan 31, 2024
1 parent e037d58 commit 460a68c
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build_and_run.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Build and Launch C# Project

on: [pull_request]

jobs:
build-and-launch:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: GameServers/VSharp

- name: Install dependencies
working-directory: ./GameServers/VSharp
run: |
pwd
dotnet build VSharp.ML.GameServer.Runner -c Release
- uses: actions/upload-artifact@v3
with:
name: runner
path: ./GameServers/VSharp/VSharp.ML.GameServer.Runner/bin/Debug/net7.0

- name: Launch application
run: |
python3 -h
# dotnet launch

0 comments on commit 460a68c

Please sign in to comment.