mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-15 10:53:09 -06:00
36 lines
963 B
YAML
36 lines
963 B
YAML
version: 2
|
|
jobs:
|
|
dendrite:
|
|
docker:
|
|
- image: anoa/sytest-dendrite
|
|
working_directory: /
|
|
steps:
|
|
- checkout
|
|
|
|
# Set up dendrite
|
|
- run:
|
|
name: Build Dendrite
|
|
command: go get github.com/constabulary/gb/... && gb build
|
|
- run:
|
|
name: Copy custom dendrite config
|
|
command: cp .circleci/dendrite-config.yaml dendrite.yaml
|
|
- run:
|
|
name: Generating self-signed server keys
|
|
command: |
|
|
test -f server.key || openssl req -x509 -newkey rsa:4096 -keyout server.key -out server.crt -days 3650 -nodes -subj /CN=localhost
|
|
test -f matrix_key.pem || ./bin/generate-keys -private-key matrix_key.pem
|
|
|
|
- store_artifacts:
|
|
path: /logs
|
|
destination: logs
|
|
- store_test_results:
|
|
path: /logs
|
|
workflows:
|
|
version: 2
|
|
build:
|
|
jobs:
|
|
- dendrite:
|
|
filters:
|
|
branches:
|
|
only: master
|