Load 32 bits or 64 bits FMU according to current process (Is64BitProc… #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |