Skip to content

Commit

Permalink
Merge pull request #2 from sstsimulator/add-environments-and-ci
Browse files Browse the repository at this point in the history
Add environments and CI
  • Loading branch information
berquist authored Nov 30, 2023
2 parents 932a04b + d0b4a77 commit 8595c00
Show file tree
Hide file tree
Showing 19 changed files with 65 additions and 816 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/gha-updater.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
name: GitHub Actions Version Updater

# Controls when the action will run.
# yamllint disable-line rule:truthy
on:
schedule:
# Automatically run on every Sunday
- cron: "0 0 * * 0"

jobs:
gha-updater:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
# [Required] Access token with `workflow` scope.
token: ${{ secrets.WORKFLOW_SECRET }}
- name: Run GitHub Actions Version Updater
uses: saadmk11/[email protected]
with:
# [Required] Access token with `workflow` scope.
token: ${{ secrets.WORKFLOW_SECRET }}
16 changes: 16 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
# In the absence of using the pre-commit.ci service...
name: pre-commit

# yamllint disable-line rule:truthy
on:
pull_request:
push:

jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v3
- uses: pre-commit/[email protected]
25 changes: 25 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
fail_fast: false
repos:
- repo: meta
hooks:
- id: check-hooks-apply
- id: check-useless-excludes
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: "v4.5.0"
hooks:
- id: check-added-large-files
- id: check-case-conflict
- id: check-merge-conflict
- id: check-yaml
- id: end-of-file-fixer
- id: fix-byte-order-marker
- id: mixed-line-ending
args: [--fix, "lf"]
- id: no-commit-to-branch
args: [--branch, main, --branch, master, --branch, devel]
- id: trailing-whitespace
- repo: https://github.com/adrienverge/yamllint
rev: "v1.33.0"
hooks:
- id: yamllint
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ Spack provides the `dev-build` feature for building and installing from a custom
For example:
````
> git clone [email protected]:sstsimulator/sst-core.git -b devel src
> spack dev-build -d src sst-core@devel +pdes-mpi
> spack dev-build -d src sst-core@devel +pdes-mpi
````
is equivalent to just running
````
Expand Down Expand Up @@ -293,4 +293,3 @@ o | | | | | | | | | | | | | zlib
o expat
o libbsd
````

Empty file added sst/packages/.gitkeep
Empty file.
30 changes: 0 additions & 30 deletions sst/packages/dramsim2/package.py

This file was deleted.

28 changes: 0 additions & 28 deletions sst/packages/goblin-hmc-sim/package.py

This file was deleted.

23 changes: 0 additions & 23 deletions sst/packages/hbm-dramsim2/package.py

This file was deleted.

20 changes: 0 additions & 20 deletions sst/packages/hybridsim/makefile.patch

This file was deleted.

37 changes: 0 additions & 37 deletions sst/packages/hybridsim/package.py

This file was deleted.

27 changes: 0 additions & 27 deletions sst/packages/intel-pin/package.py

This file was deleted.

32 changes: 0 additions & 32 deletions sst/packages/nvdimmsim/package.py

This file was deleted.

35 changes: 0 additions & 35 deletions sst/packages/ramulator/package.py

This file was deleted.

Loading

0 comments on commit 8595c00

Please sign in to comment.