-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from Xeratec/dev/gitlab_ci
GitLab CI
- Loading branch information
Showing
15 changed files
with
194 additions
and
135 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: gitlab-ci | ||
|
||
on: [ push, pull_request, workflow_dispatch ] | ||
|
||
jobs: | ||
gitlab-ci: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check Gitlab CI | ||
uses: pulp-platform/pulp-actions/gitlab-ci@v2 | ||
# Skip on forks or pull requests from forks due to missing secrets. | ||
if: (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) | ||
with: | ||
domain: iis-git.ee.ethz.ch | ||
repo: github-mirror/ita | ||
token: ${{ secrets.GITLAB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
# Copyright 2023 ETH Zurich and University of Bologna. | ||
# Licensed under the Apache License, Version 2.0, see LICENSE for details. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
# Author: Paul Scheffler <paulsc@iis.ee.ethz.ch> | ||
|
||
name: lint | ||
|
||
on: [ push, pull_request, workflow_dispatch ] | ||
|
||
jobs: | ||
ling-py: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- | ||
name: Checkout | ||
uses: actions/checkout@v3 | ||
- | ||
name: Check Python | ||
uses: diegovalenzuelaiturra/yapf-action@master | ||
with: | ||
args: . --verbose --recursive --diff --parallel | ||
|
||
lint-license: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- | ||
name: Checkout | ||
uses: actions/checkout@v3 | ||
- | ||
name: Check license | ||
uses: pulp-platform/pulp-actions/lint-license@v2 | ||
with: | ||
license: | | ||
Copyright (\d{4}(-\d{4})?\s)?.* | ||
(Solderpad Hardware License, Version 0.51|Licensed under the Apache License, Version 2.0), see LICENSE for details. | ||
SPDX-License-Identifier: (SHL-0.51|Apache-2.0) | ||
# Exclude generated headers (no license checker support for optional lines) | ||
exclude_paths: | | ||
.github/* | ||
quantlib/* | ||
tests/* | ||
# lint-sv: | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - | ||
# name: Checkout | ||
# uses: actions/checkout@v3 | ||
# - | ||
# name: Run Verible | ||
# uses: chipsalliance/verible-linter-action@main | ||
# with: | ||
# paths: | | ||
# ./src | ||
# extra_args: "--waiver_files .github/verible.waiver" | ||
# github_token: ${{ secrets.GITHUB_TOKEN }} | ||
# tfsec_version: "v1.28.1" | ||
# tfsec_flags: "--concise-output" | ||
# fail_on_error: true | ||
# reviewdog_reporter: github-check | ||
# verible_version: "v0.0-3318-g8d254167" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
packages: | ||
cluster_interconnect: | ||
revision: 1284def6c0b7f7e9355eb093d00883ad9dead1b7 | ||
version: null | ||
source: | ||
Git: https://github.com/pulp-platform/cluster_interconnect.git | ||
dependencies: | ||
- common_cells | ||
common_cells: | ||
revision: c27bce39ebb2e6bae52f60960814a2afca7bd4cb | ||
version: 1.37.0 | ||
source: | ||
Git: https://github.com/pulp-platform/common_cells | ||
dependencies: | ||
- common_verification | ||
- tech_cells_generic | ||
common_verification: | ||
revision: 9c07fa860593b2caabd9b5681740c25fac04b878 | ||
version: 0.2.3 | ||
source: | ||
Git: https://github.com/pulp-platform/common_verification.git | ||
dependencies: [] | ||
hci: | ||
revision: 066c7ce7d24b61587e245decb592054669d7a2d1 | ||
version: null | ||
source: | ||
Git: https://github.com/pulp-platform/hci | ||
dependencies: | ||
- cluster_interconnect | ||
- hwpe-stream | ||
- l2_tcdm_hybrid_interco | ||
hwpe-ctrl: | ||
revision: 2926867cafb3fb518a1ae849675f281b79ecab8a | ||
version: null | ||
source: | ||
Git: https://github.com/pulp-platform/hwpe-ctrl | ||
dependencies: | ||
- tech_cells_generic | ||
hwpe-stream: | ||
revision: a20f35e62fe2842904797079dc7881e490ff7117 | ||
version: null | ||
source: | ||
Git: https://github.com/pulp-platform/hwpe-stream.git | ||
dependencies: | ||
- tech_cells_generic | ||
l2_tcdm_hybrid_interco: | ||
revision: fa55e72859dcfb117a2788a77352193bef94ff2b | ||
version: 1.0.0 | ||
source: | ||
Git: https://github.com/pulp-platform/L2_tcdm_hybrid_interco.git | ||
dependencies: [] | ||
scm: | ||
revision: 998466d2a3c2d7d572e43d2666d93c4f767d8d60 | ||
version: 1.1.1 | ||
source: | ||
Git: https://github.com/pulp-platform/scm | ||
dependencies: [] | ||
tech_cells_generic: | ||
revision: 7968dd6e6180df2c644636bc6d2908a49f2190cf | ||
version: 0.2.13 | ||
source: | ||
Git: https://github.com/pulp-platform/tech_cells_generic | ||
dependencies: | ||
- common_verification |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.