Skip to content

Load 32 bits or 64 bits FMU according to current process (Is64BitProc… #11

Load 32 bits or 64 bits FMU according to current process (Is64BitProc…

Load 32 bits or 64 bits FMU according to current process (Is64BitProc… #11

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Generate Reference-FMUs Makefile
run: cmake -S Reference-FMUs -B bin
working-directory: FMU
- name: Build Reference-FMUs
run: make
working-directory: FMU/bin
- name: Setup .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: Install dependencies
run: dotnet restore
- name: Build assembly
run: dotnet build --configuration Release --no-restore
- name: Test assembly
run: dotnet test --no-restore --verbosity normal
- name: Publish to nuget.org
uses: brandedoutcast/[email protected]
with:
PROJECT_FILE_PATH: src/Femyou.csproj
NUGET_KEY: ${{secrets.NUGET_API_KEY}}
NUGET_SOURCE: https://api.nuget.org