Merge pull request #19 from A1bert04/main #24
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: Ubuntu | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
compile-ubuntu-native: | |
name: Compile for Ubuntu | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Get compiler toolchain | |
run: | | |
sudo apt update | |
sudo apt install cmake libssl-dev build-essential | |
- name: Generate CMake files | |
run: cmake -S . -B ./build | |
- name: Compile | |
run: cmake --build ./build -j 16 --target mo_simulator |