29 lines
639 B
YAML
29 lines
639 B
YAML
name: Build Simulator
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
# This is just to ensure the simulator compiles on Linux
|
|
build-simulator:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
with:
|
|
submodules: recursive
|
|
|
|
- name: Install multilib
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install gcc-multilib g++-multilib
|
|
|
|
- name: Compile Simulator
|
|
working-directory: ./simulator/
|
|
run: sh compile.sh
|
|
|
|
- name: Upload built simulator
|
|
uses: actions/upload-artifact@v2
|
|
with:
|
|
name: rusefi_simulator_linux
|
|
path: ./simulator/build/rusefi_simulator
|