Skip to content

Merge pull request #1 from guusw/unity-nullable-fix #25

Merge pull request #1 from guusw/unity-nullable-fix

Merge pull request #1 from guusw/unity-nullable-fix #25

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install g++
run: sudo apt-get update && sudo apt-get install -y g++
- name: Compile and Run C++ Tests
run: |
g++ -std=c++20 -g -o crdt tests.cpp && ./crdt
g++ -std=c++20 -g -o list-crdt list_tests.cpp && ./list-crdt
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: '8.0.x' # Updated to .NET 8.0
- name: Restore dependencies
run: dotnet restore
- name: Build C# project
run: dotnet build --no-restore
- name: Run C# Tests
run: dotnet run --project crdt-lite.csproj