bugfix: actions .yml location
This commit is contained in:
parent
88a8cd0f0a
commit
a0fed9a4d2
1 changed files with 0 additions and 0 deletions
33
.github/workflows/main-stock-ubuntu.yml
vendored
Normal file
33
.github/workflows/main-stock-ubuntu.yml
vendored
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue