From 7d43e9062cfe93684e4719df4d73cf19a0d19420 Mon Sep 17 00:00:00 2001 From: Jimmy Byrd Date: Sat, 21 Oct 2023 15:45:37 -0400 Subject: [PATCH] Adds devcontainer builds to CI (#281) --- .github/workflows/build.yml | 14 ++++++++++++++ Content/Console/.github/workflows/build.yml | 13 +++++++++++++ Content/Library/.github/workflows/build.yml | 13 +++++++++++++ 3 files changed, 40 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6fadb7f1..33755ac7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -41,3 +41,17 @@ jobs: env: CONFIGURATION: ${{ matrix.configuration }} CI: true + + # Builds the project in a dev container + build-devcontainer: + runs-on: ubuntu-latest + steps: + + - uses: actions/checkout@v3 + + - name: Build and run dev container task + uses: devcontainers/ci@v0.3 + with: + runCmd: | + chmod +x ./build.sh + ./build.sh diff --git a/Content/Console/.github/workflows/build.yml b/Content/Console/.github/workflows/build.yml index 643b82e6..cae3c80b 100644 --- a/Content/Console/.github/workflows/build.yml +++ b/Content/Console/.github/workflows/build.yml @@ -51,3 +51,16 @@ jobs: env: CONFIGURATION: ${{ matrix.configuration }} CI: true + # Builds the project in a dev container + build-devcontainer: + runs-on: ubuntu-latest + steps: + + - uses: actions/checkout@v3 + + - name: Build and run dev container task + uses: devcontainers/ci@v0.3 + with: + runCmd: | + chmod +x ./build.sh + ./build.sh diff --git a/Content/Library/.github/workflows/build.yml b/Content/Library/.github/workflows/build.yml index b1df5e54..0505eabf 100644 --- a/Content/Library/.github/workflows/build.yml +++ b/Content/Library/.github/workflows/build.yml @@ -42,3 +42,16 @@ jobs: CI: true CONFIGURATION: ${{ matrix.configuration }} ENABLE_COVERAGE: true + # Builds the project in a dev container + build-devcontainer: + runs-on: ubuntu-latest + steps: + + - uses: actions/checkout@v3 + + - name: Build and run dev container task + uses: devcontainers/ci@v0.3 + with: + runCmd: | + chmod +x ./build.sh + ./build.sh