Skip to content

Remove merge_fmus step #4

Remove merge_fmus step

Remove merge_fmus step #4

Workflow file for this run

name: Build the BeamNG FMU
on:
push:
branches: [ main ]
tags: [ 'v*' ]
pull_request:
branches: [ main ]
jobs:
lint-files:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- run: python3 dist/lint_files.py
build:
strategy:
matrix:
include:
- name: x86_64-windows
image: windows-2022
arch: x86_64
- name: x86_64-linux
image: ubuntu-20.04
arch: x86_64
runs-on: ${{ matrix.image }}
needs: lint-files
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- uses: s-weigand/[email protected]
with:
conda-channels: conda-forge
- run: conda --version
- run: which python
- run: python -m pip install fmpy==0.3.18 pytest scipy
- if: matrix.name == 'aarch64-linux'
run: |
sudo apt-get update
sudo apt-get install gcc-aarch64-linux-gnu qemu-user
- run: python dist/build_cvode.py ${{ matrix.name }}
- run: python dist/build_libxml2.py ${{ matrix.name }}
- run: python dist/build_zlib.py ${{ matrix.name }}
- run: python dist/build.py ${{ matrix.name }}
- uses: actions/upload-artifact@v3
with:
name: ${{ matrix.name }}
path: dist/fmus
if-no-files-found: error