Skip to content

Commit 7d43e90

Browse files
authored
Adds devcontainer builds to CI (#281)
1 parent 07cee14 commit 7d43e90

File tree

3 files changed

+40
-0
lines changed

3 files changed

+40
-0
lines changed

.github/workflows/build.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,17 @@ jobs:
4141
env:
4242
CONFIGURATION: ${{ matrix.configuration }}
4343
CI: true
44+
45+
# Builds the project in a dev container
46+
build-devcontainer:
47+
runs-on: ubuntu-latest
48+
steps:
49+
50+
- uses: actions/checkout@v3
51+
52+
- name: Build and run dev container task
53+
uses: devcontainers/[email protected]
54+
with:
55+
runCmd: |
56+
chmod +x ./build.sh
57+
./build.sh

Content/Console/.github/workflows/build.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,16 @@ jobs:
5151
env:
5252
CONFIGURATION: ${{ matrix.configuration }}
5353
CI: true
54+
# Builds the project in a dev container
55+
build-devcontainer:
56+
runs-on: ubuntu-latest
57+
steps:
58+
59+
- uses: actions/checkout@v3
60+
61+
- name: Build and run dev container task
62+
uses: devcontainers/[email protected]
63+
with:
64+
runCmd: |
65+
chmod +x ./build.sh
66+
./build.sh

Content/Library/.github/workflows/build.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,16 @@ jobs:
4242
CI: true
4343
CONFIGURATION: ${{ matrix.configuration }}
4444
ENABLE_COVERAGE: true
45+
# Builds the project in a dev container
46+
build-devcontainer:
47+
runs-on: ubuntu-latest
48+
steps:
49+
50+
- uses: actions/checkout@v3
51+
52+
- name: Build and run dev container task
53+
uses: devcontainers/[email protected]
54+
with:
55+
runCmd: |
56+
chmod +x ./build.sh
57+
./build.sh

0 commit comments

Comments
 (0)