You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by ch...@apache.org on 2021/01/15 00:37:34 UTC
[buildstream] 01/01: test
This is an automated email from the ASF dual-hosted git repository.
chandan pushed a commit to branch chandan/test
in repository https://gitbox.apache.org/repos/asf/buildstream.git
commit 21b3366223e5139c37bfe9642b045f2d348b077f
Author: Chandan Singh <ch...@chandansingh.net>
AuthorDate: Fri Jan 15 00:16:23 2021 +0000
test
---
.github/workflows/ci.yml | 49 +++++++-----------------------------------------
1 file changed, 7 insertions(+), 42 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index c811486..6dea76b 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -36,48 +36,6 @@ env:
CI_IMAGE_VERSION: master-241289109
jobs:
- tests:
- runs-on: ubuntu-20.04
- continue-on-error: ${{ matrix.allow-failure || false }}
-
- strategy:
- fail-fast: false
- matrix:
-
- # The names here should map to a valid service defined in
- # "../compose/ci.docker-compose.yml"
- test-name:
- - debian-10
- - fedora-31
- - fedora-32
- - ubuntu-18.04
- - centos-7.7.1908
- - fedora-missing-deps
- - no-usedevelop
- - lint
- - mypy
-
- include:
- - test-name: plugins-master
- allow-failure: true
-
- steps:
- - name: Check out repository
- uses: actions/checkout@v2
- # BuildStream requires tags to be able to find its version.
- with:
- fetch-depth: 0
-
- - name: Give `testuser` ownership of the source directory
- run: sudo chown -R 1000:1000 ${GITHUB_WORKSPACE}
-
- - name: Run tests with Docker Compose
- run: |
- docker-compose \
- --file ${GITHUB_WORKSPACE}/.github/compose/ci.docker-compose.yml \
- run \
- ${{ matrix.test-name }}
-
docs:
runs-on: ubuntu-20.04
steps:
@@ -97,6 +55,13 @@ jobs:
run \
docs
+ # Restore permissions to the current user
+ sudo chown -R ${USER} ${GITHUB_WORKSPACE}
+
+ # Include a tarball in the published docs, allowing for
+ # easy re-publishing of master docs on docs.buildstream.build
+ tar -C doc/build/html -zcf docs.tgz .
+
- name: Upload artifacts
uses: actions/upload-artifact@v2
with: