From bda34239d85fd18ff8eacd8074b7f28df1519971 Mon Sep 17 00:00:00 2001 From: matth-x <63792403+matth-x@users.noreply.github.com> Date: Sun, 5 Nov 2023 11:03:22 +0100 Subject: [PATCH] build on ubuntu --- .github/workflows/build_ubuntu.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/build_ubuntu.yml diff --git a/.github/workflows/build_ubuntu.yml b/.github/workflows/build_ubuntu.yml new file mode 100644 index 0000000..cfb88d3 --- /dev/null +++ b/.github/workflows/build_ubuntu.yml @@ -0,0 +1,26 @@ +name: Build (Ubuntu) + +on: + push: + branches: + - master + - develop + + pull_request: + +jobs: + + compile-ubuntu-native: + name: Compile for Ubuntu + runs-on: ubuntu-latest + steps: + - name: Check out repository code + uses: actions/checkout@v3 + - 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