Don't generate matrix assets on CircleCI (#3034)
We already do this in the buildkite pipeline, so doing so in CircleCI is just duplicate work.
This commit is contained in:
parent
5d275ab79e
commit
25605b65a3
2 changed files with 2 additions and 12 deletions
|
@ -30,12 +30,6 @@ checkexamples: &checkexamples
|
||||||
source /env/bin/activate
|
source /env/bin/activate
|
||||||
scripts/check-event-schema-examples.py
|
scripts/check-event-schema-examples.py
|
||||||
|
|
||||||
genmatrixassets: &genmatrixassets
|
|
||||||
name: Generate/Verify matrix.org assets
|
|
||||||
command: |
|
|
||||||
source /env/bin/activate
|
|
||||||
./scripts/generate-matrix-org-assets
|
|
||||||
|
|
||||||
validateapi: &validateapi
|
validateapi: &validateapi
|
||||||
name: Validate OpenAPI specifications
|
name: Validate OpenAPI specifications
|
||||||
command: |
|
command: |
|
||||||
|
@ -69,7 +63,6 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- run: *checkexamples
|
- run: *checkexamples
|
||||||
- run: *genmatrixassets # We don't actually use the assets, but we do want to make sure they build
|
|
||||||
build-docs:
|
build-docs:
|
||||||
docker:
|
docker:
|
||||||
- image: uhoreg/matrix-doc-build
|
- image: uhoreg/matrix-doc-build
|
||||||
|
|
|
@ -8,11 +8,8 @@ cd `dirname $0`/..
|
||||||
|
|
||||||
mkdir -p assets
|
mkdir -p assets
|
||||||
|
|
||||||
if [ "$CIRCLECI" != "true" ]
|
# generate specification/proposals.rst
|
||||||
then
|
./scripts/proposals.py
|
||||||
# generate specification/proposals.rst
|
|
||||||
./scripts/proposals.py
|
|
||||||
fi
|
|
||||||
|
|
||||||
# generate the spec docs
|
# generate the spec docs
|
||||||
./scripts/gendoc.py -d assets/spec
|
./scripts/gendoc.py -d assets/spec
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue