Skip to content

feat: improve automatic versioning #21

feat: improve automatic versioning

feat: improve automatic versioning #21

Workflow file for this run

name: Endstone CI (Linux)
on:
push:
branches:
- next
pull_request:
workflow_dispatch:
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-20.04 ]
gcc: [ '7', '8', '9', '10', '11' ]
build_type: [ Debug, Release ]
name: Build on ${{ matrix.os }} (${{ matrix.build_type }}) with GCC ${{ matrix.gcc }}
runs-on: ${{ matrix.os}}
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Set up GCC
uses: egor-tensin/setup-gcc@v1
with:
version: ${{ matrix.gcc }}
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
cache: 'pip'
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install conan cmake ninja
- name: Build with Conan
run: |
conan profile detect --force
conan create . --build=missing -s compiler.cppstd=17 -s build_type=${{ matrix.build_type }}