Skip to content

Linux

Linux #28

Workflow file for this run

name: Linux
on:
workflow_dispatch
jobs:
linux-native-build-run:
runs-on: ubuntu-latest
defaults:
run:
working-directory: tools/hello-world
steps:
# Toolchain + git
- uses: actions/checkout@v5
with:
submodules: recursive
- name: Update
run: sudo apt update
- uses: actions/setup-python@v6
with:
python-version: '3.10'
- name: Install build tools
run: python -m pip install meson ninja
# Native meson
- name: Setup build directory meson native
run: meson setup build-meson-native
- name: Build application meson native
run: ninja -C build-meson-native -j$(nproc)
- name: Start application meson
run: ./build-meson-native/introducing
- name: Setup build directory cmake native
run: cmake -S . -B build-cmake-native
- name: Build application cmake native
run: cmake --build build-cmake-native/ -j$(nproc)
- name: Start application cmake
run: ./build-cmake-native/introducing