Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@
"redhat.vscode-yaml",
"shardulm94.trailing-spaces",
"oderwat.indent-rainbow",
"msjsdiag.debugger-for-chrome"
"msjsdiag.debugger-for-chrome",
// GitHub Actions
"github.vscode-github-actions"
],
},
},
Expand Down
36 changes: 36 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:

jobs:
build-project:
name: Buuld (Native)
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
Expand All @@ -25,7 +26,42 @@ jobs:
run-test: true
test-args: "--output-on-failure"

build-project-devcontainers:
name: Build (Dev Containers)
runs-on: ubuntu-latest

permissions:
contents: read
packages: read

steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: "true"

- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build in the dev container image
uses: devcontainers/ci@v0.3
with:
imageName: ghcr.io/testcontainers/testcontainers-native-builder
cacheFrom: ghcr.io/testcontainers/testcontainers-native-builder
push: never
runCmd: |
cmake .
cmake --build .
ctest --output-on-failure
env: |
GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}

build-site:
name: Build Site
runs-on: ubuntu-latest

permissions:
Expand Down