xo-alloc/.github/workflows/main-stock-ubuntu.yml
Workflow config file is invalid. Please check your config file: Line: 18 Column 5: Failed to match job-factory: Line: 24 Column 9: Failed to match run-step: Line: 25 Column 14: Failed to parse: got unexpected character '/' while lexing end marker }}, expecting '}' Line: 24 Column 9: Failed to match regular-step: Line: 25 Column 9: Unknown Property run Line: 18 Column 5: Failed to match workflow-job: Line: 20 Column 5: Unknown Property steps Forgejo Actions YAML Schema validation error

33 lines
815 B
YAML

name: build on ubuntu base platform
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
# Customize CMake build type here
BUILD_TYPE: Release
jobs:
build:
# This build won't be entirely reproducible, given ubuntu changes on github runners may
# introduce regressions.
#
runs-on: ubuntu-latest
steps:
- name: checkout source
uses: actions/checkout@v3
- name: bootstrap xo-cmake
run: |
PREFIX=${{github.workspace}//local
mkdir -p ${PREFIX}
echo "::group::xo-cmake configure"
cmake -B .build0 -S xo-cmake -DCMAKE_INSTALL_PREFIX=${PREFIX}
echo "::group::xo-cmake build"
cmake --build .build0
echo "::group::xo-cmake install"
cmake --install .build0