Skip to content

enabling actions#260

Closed
ArturHarasimiuk wants to merge 8 commits into
intel:masterfrom
ArturHarasimiuk:actions
Closed

enabling actions#260
ArturHarasimiuk wants to merge 8 commits into
intel:masterfrom
ArturHarasimiuk:actions

Conversation

@ArturHarasimiuk
Copy link
Copy Markdown
Contributor

Signed-off-by: Artur Harasimiuk artur.harasimiuk@intel.com

ArturHarasimiuk added a commit to ArturHarasimiuk/compute-runtime that referenced this pull request Feb 20, 2020
intel#260
Change-Id: Ie04607e5a6f69966e19effb436a31c1de0dd585c
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
ArturHarasimiuk added a commit to ArturHarasimiuk/compute-runtime that referenced this pull request Feb 20, 2020
intel#260
Change-Id: Ie04607e5a6f69966e19effb436a31c1de0dd585c
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
ArturHarasimiuk added a commit to ArturHarasimiuk/compute-runtime that referenced this pull request Feb 20, 2020
intel#260
Change-Id: Ie04607e5a6f69966e19effb436a31c1de0dd585c
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
Copy link
Copy Markdown

@AlexeySachkov AlexeySachkov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi there,

Feel free to ignore my comments, I'm just curious about GitHub actions by myself (example) and interested in review workflows in other projects to find some ideas or more examples

Comment thread .github/workflows/ci.yml Outdated
matrix:
compiler: [gcc-5, gcc-6, gcc-7, gcc-8]
env:
WORKFLOW: CI
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
WORKFLOW: CI
WORKFLOW: ${{ github.workflow}}

? Just to unify this line across different workflows

env:
BUILD_OS: ubuntu-18.04
COMPILER: ${{ matrix.compiler }}
run: ./neo/scripts/actions/run-action-build.sh
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess this should launch a different script, right?

Would it be better to just express it via separate job in the CI workflow?

BUILD_OS: ubuntu-18.04
COMPILER: ${{ matrix.compiler }}
working-directory: neo/scripts/actions
run: ./run-action-docker-prepare.sh
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about using steps.with, or steps.with.args? (docs) - it will clearly indicate which env variables are actually used and should be treated as arguments for the particular step

Copy link
Copy Markdown

@Panquesito7 Panquesito7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you should also disable Travis CI, as GitHub Actions works much faster than Travis CI.

Comment thread .github/workflows/ci.yml
Comment on lines +2 to +11
on:
push:
branches:
- master
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
on:
push:
branches:
- master
on: [push]

Comment thread .github/workflows/ci.yml
@@ -0,0 +1,27 @@
#!/bin/bash -x
#
# Copyright (C) 2020 Intel Corporation
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# Copyright (C) 2020 Intel Corporation
# Copyright (C) 2021 Intel Corporation

@@ -0,0 +1,21 @@
#!/bin/bash
#
# Copyright (C) 2020 Intel Corporation
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# Copyright (C) 2020 Intel Corporation
# Copyright (C) 2021 Intel Corporation

Comment thread .github/workflows/verify.yml
@ArturHarasimiuk ArturHarasimiuk force-pushed the actions branch 5 times, most recently from e406d7a to 10101ca Compare September 24, 2021 22:43
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
@JablonskiMateusz
Copy link
Copy Markdown
Contributor

closing as deprecated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants