Skip to content

Add a src/enterprise folder with CMake includes #25

Add a src/enterprise folder with CMake includes

Add a src/enterprise folder with CMake includes #25

Workflow file for this run

name: Sourcemeta Registry CI
on:
pull_request:
concurrency:
group: registry-ci-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
strategy:
fail-fast: false
matrix:
edition:
- name: community
suffix: ce
- name: enterprise
suffix: ee
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Dependencies
- run: pipx install clang-format==19.1.0
- uses: sourcemeta/[email protected]
- name: Install Hurl
run: |
curl --location --remote-name https://github.com/Orange-OpenSource/hurl/releases/download/${{ env.HURL_VERSION }}/hurl_${{ env.HURL_VERSION }}_amd64.deb
sudo apt install ./hurl_${{ env.HURL_VERSION }}_amd64.deb
rm hurl_${{ env.HURL_VERSION }}_amd64.deb
env:
HURL_VERSION: 5.0.1
# Linting
- run: make configure PRESET=Release INDEX=OFF SERVER=OFF
- run: make lint PRESET=Release
# Testing
- run: make test-schemas PRESET=Release
- run: docker build --tag registry . --file Dockerfile.${{ matrix.edition.suffix }} --progress plain
- run: docker compose --file test/sandbox/compose.yaml build
- run: docker compose --file test/sandbox/compose.yaml up --detach --wait
- run: make test-e2e-common PRESET=Release
- run: make test-e2e-${{ matrix.edition.suffix }} PRESET=Release
- run: docker compose --file test/sandbox/compose.yaml down