-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: add minor elements to the repo - round (3) (#59)
- Loading branch information
1 parent
c599edf
commit e020604
Showing
8 changed files
with
176 additions
and
51 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,54 @@ | ||
name: dev | ||
|
||
on: [push] | ||
|
||
jobs: | ||
|
||
ubuntu: | ||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
|
||
- name: Checkout Repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Display compiler version | ||
run: g++ --version | ||
|
||
- name: Install MPFR | ||
run: | | ||
sudo apt-get update -y | ||
sudo apt-get install -y libmpfr-dev | ||
- name: Make! | ||
run: | | ||
cd hypercomplex | ||
make help | ||
conda: | ||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
|
||
- name: Checkout Repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup Miniconda & Environment | ||
uses: conda-incubator/setup-miniconda@v2 | ||
with: | ||
python-version: 3.11 | ||
auto-update-conda: true | ||
activate-environment: hypercomplex-dev | ||
environment-file: environment.yml | ||
auto-activate-base: false | ||
|
||
- name: Conda Info | ||
shell: bash -l {0} | ||
run: | | ||
conda info -a | ||
conda list | ||
- name: Make! | ||
run: | | ||
cd hypercomplex | ||
make help |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
repos: | ||
|
||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.4.0 | ||
hooks: | ||
|
||
- id: no-commit-to-branch | ||
name: "[01/09] Forbid committing to `master` branch" | ||
args: [--branch=master] | ||
always_run: true | ||
|
||
- id: check-merge-conflict | ||
name: "[02/09] Check for merge conflict strings" | ||
always_run: true | ||
|
||
- id: check-case-conflict | ||
name: "[03/09] Guard against case-insensitive filesystems" | ||
always_run: true | ||
|
||
- id: fix-byte-order-marker | ||
name: "[04/09] Remove UTF-8 byte order marker (BOM)" | ||
always_run: true | ||
|
||
- id: check-added-large-files | ||
name: "[05/09] Forbid commiting files bigger than 1MB" | ||
args: [— maxkb=1024] | ||
always_run: true | ||
|
||
- id: trailing-whitespace | ||
name: "[06/09] Check for trailing whitespaces" | ||
args: [--markdown-linebreak-ext=md] | ||
always_run: true | ||
|
||
- id: end-of-file-fixer | ||
name: "[07/09] Ensure 1 newline at the end of each file" | ||
always_run: true | ||
|
||
- id: mixed-line-ending | ||
name: "[08/09] Correct mixed line endings" | ||
always_run: true | ||
|
||
- id: check-yaml | ||
name: "[09/09] Check YAML files syntax" | ||
files: \.ya?ml$ | ||
always_run: true |
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,27 @@ | ||
############################################################################### | ||
# | ||
# Software to be installed in the environment | ||
# | ||
# AUTHOR: Maciek_Bak | ||
# AFFILIATION: Department_of_Mathematics_City_University_of_London | ||
# CONTACT: wsciekly.maciek@gmail.com | ||
# CREATED: 01-08-2023 | ||
# LICENSE: Apache 2.0 | ||
# | ||
############################################################################### | ||
--- | ||
|
||
name: hypercomplex-dev | ||
|
||
channels: | ||
- conda-forge | ||
|
||
dependencies: | ||
- compilers=1.6.0 | ||
- cpplint=1.6.0 | ||
- doxygen=1.9.7 | ||
- make=4.3 | ||
- mpfr=4.2.0 | ||
- pre-commit=3.2.1 | ||
|
||
... |