File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # @copyright Copyright (c) contributors to Project Ocre,
2+ # which has been established as Project Ocre a Series of LF Projects, LLC
3+ #
4+ # SPDX-License-Identifier: Apache-2.0
5+
6+ name : Build Samples
7+
8+ on :
9+ pull_request :
10+ push :
11+ branches :
12+ - main
13+ workflow_dispatch :
14+ inputs :
15+ devcontainer-tag :
16+ description : " Devcontainer tag"
17+ required : false
18+ default : " latest"
19+ type : string
20+
21+ concurrency :
22+ group : ${{ github.repository }}-${{ github.workflow }}@build-${{ github.ref }}
23+ cancel-in-progress : true
24+
25+ jobs :
26+ build :
27+ name : Build Samples
28+ runs-on : " ubuntu-22.04"
29+ container :
30+ image : ghcr.io/project-ocre/ocre-runtime/devcontainer-linux:${{ inputs.devcontainer-tag || 'latest'}}
31+ options : --user 1001:127
32+
33+ steps :
34+ - name : Checkout
35+ uses : actions/checkout@v4
36+ with :
37+ submodules : true
38+
39+ - name : Configure
40+ run : |
41+ mkdir build && cd build
42+ cmake ..
43+ make
You can’t perform that action at this time.
0 commit comments