Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: move checks under actions #2

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 17 additions & 17 deletions .ci/pipeline/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,23 +39,23 @@ resources:
ref: main
endpoint: intel-daal-connection

jobs:
- job: 'FormatterChecks'
pool:
vmImage: '$(VM_IMAGE)'
steps:
- script: |
.ci/env/apt.sh clang-format
.ci/env/editorconfig-checker.sh
displayName: 'Install Dependencies'
- script: |
.ci/scripts/clang-format.sh
displayName: 'clang-format check'
failOnStderr: true
- script: |
editorconfig-checker
displayName: 'editorconfig-checker'
failOnStderr: true
# jobs:
# - job: 'FormatterChecks'
# pool:
# vmImage: '$(VM_IMAGE)'
# steps:
# - script: |
# .ci/env/apt.sh clang-format
# .ci/env/editorconfig-checker.sh
# displayName: 'Install Dependencies'
# - script: |
# .ci/scripts/clang-format.sh
# displayName: 'clang-format check'
# failOnStderr: true
# - script: |
# editorconfig-checker
# displayName: 'editorconfig-checker'
# failOnStderr: true

- job: 'LinuxMakeGNU_MKL'
timeoutInMinutes: 0
Expand Down
2 changes: 1 addition & 1 deletion .ci/scripts/test.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ rem ============================================================================
rem Copyright 2022 Intel Corporation
rem
rem Licensed under the Apache License, Version 2.0 (the "License");
rem you may not use this file except in compliance with the License.
rem you may not use thdis file except in compliance with the License.
rem You may obtain a copy of the License at
rem
rem http://www.apache.org/licenses/LICENSE-2.0
Expand Down
19 changes: 14 additions & 5 deletions .github/workflows/skywalking-eyes.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Check License Header
name: Code Compliance Checks

on:
pull_request:
Expand All @@ -16,13 +16,22 @@ concurrency:

jobs:
check-license-header:
name: Copyright Check
if: github.repository == 'uxlfoundation/oneDAL'
name: Code Sanity
runs-on: ubuntu-24.04
steps:
- name: "Checkout code"
- name: "Checkout sources"
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: "Run check"
# - name: "Install Dependencies"
# run: |
# .ci/env/apt.sh clang-format
# .ci/env/editorconfig-checker.sh
# - name: "ClangFormat Check"
# run: .ci/scripts/clang-format.sh
# - name: "EditorConfig Checker"
# run: editorconfig-checker
- name: Check go.sum
run: find . -name go.sum
- name: "Copyright Check"
uses: apache/skywalking-eyes/header@cd7b195c51fd3d6ad52afceb760719ddc6b3ee91 # v0.6.0
with:
config: ".github/.licenserc.yaml"
Expand Down
Loading