Skip to content

Commit 9b63533

Browse files
paulgessingercursoragent
authored andcommitted
ci: Add check for devcontainer configuration (acts-project#4414)
Add a basic check that verifies the dev container can load, configure and build ACTS. Co-authored-by: Cursor Agent <199161495+cursoragent@users.noreply.github.com>
1 parent 97a9e57 commit 9b63533

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Devcontainer CI
2+
3+
on:
4+
push:
5+
pull_request:
6+
branches:
7+
- main
8+
- 'release/**'
9+
- 'develop/**'
10+
11+
jobs:
12+
devcontainer-build:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout code
17+
uses: actions/checkout@v4
18+
with:
19+
submodules: recursive
20+
21+
- name: Install devcontainer CLI
22+
run: |
23+
npm install -g @devcontainers/cli
24+
25+
- name: Build devcontainer
26+
run: |
27+
devcontainer up --workspace-folder .
28+
29+
- name: Run configure_acts
30+
run: |
31+
devcontainer exec --workspace-folder . bash -c "configure_acts"
32+
33+
- name: Run build_acts with ActsCore target
34+
run: |
35+
devcontainer exec --workspace-folder . bash -c "build_acts --target ActsCore"

0 commit comments

Comments
 (0)