mirror of
https://github.com/1f349/dendrite.git
synced 2024-11-09 22:42:58 +00:00
ade4b9c978
We were previously only running CircleCI on master, but we want it to PRs as well.
33 lines
684 B
YAML
33 lines
684 B
YAML
version: 2
|
|
jobs:
|
|
dendrite:
|
|
docker:
|
|
- image: matrixdotorg/sytest-dendrite
|
|
working_directory: /src
|
|
steps:
|
|
- checkout
|
|
|
|
# Set up dendrite
|
|
- run:
|
|
name: Build Dendrite
|
|
command: ./build.sh
|
|
- run:
|
|
name: Copy dummy keys to root
|
|
command: |
|
|
mv .circleci/matrix_key.pem .
|
|
mv .circleci/server.key .
|
|
- run:
|
|
name: Run sytest with whitelisted tests
|
|
command: /dendrite_sytest.sh
|
|
|
|
- store_artifacts:
|
|
path: /logs
|
|
destination: logs
|
|
- store_test_results:
|
|
path: /logs
|
|
workflows:
|
|
version: 2
|
|
build:
|
|
jobs:
|
|
- dendrite
|