Skip to content

Commit

Permalink
6.0.0 (#193)
Browse files Browse the repository at this point in the history
* upd dependencies

* es5 => es2015

* prepare strides

* Prepare iterator

* Add strided iterator

* Working strides for abs

* Fix #153, #172

* Mega-cleanup commit (types, docs, tests, etc)

* Fix examples

* More cleanup

* Tslint

* Export statics globally and cleanup

* Fix examples

* Add NDMultiIter class

* Fix

* Export both iterators

* Add todo note

* Update version

* Updates

* Switch to jest

* Add github actions workflow

* Remove .travis.yml

* Fix conflict

* GH Actions fix

* Fix

* Skip code coverage for now

* Fix bug
  • Loading branch information
mateogianolio authored Sep 15, 2020
1 parent b53e9fc commit 75c048a
Show file tree
Hide file tree
Showing 294 changed files with 15,684 additions and 19,352 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
test:
name: Test on node ${{ matrix.node_version }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}

strategy:
matrix:
node_version: [14.x]
os: [ubuntu-latest, macOS-latest]

steps:
- uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- name: Setup C++ environment on linux
uses: kurocha/setup-cpp@v1
if: runner.os == 'Linux'

- name: Install dependencies on linux
run: sudo apt-get install -yq libblas-dev liblapack-dev liblapacke-dev libpython-dev
if: runner.os == 'Linux'

- name: Install dependencies on mac
run: brew install lapack
if: runner.os == 'macOS'

- name: Install package dependencies
run: npm ci

- name: Build
run: npm run build

- name: Test
run: npm test
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ coverage
.DS_Store
built
benchmarks
docs
27 changes: 0 additions & 27 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion dist/vectorious.min.js

Large diffs are not rendered by default.

69 changes: 69 additions & 0 deletions docs.tmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title><?js= env.conf.metadata.title ?>: <?js= title ?></title>
<?js if (env.conf.opts.hasOwnProperty('prism-theme')) { ?>
<link type="text/css" rel="stylesheet" href="styles/vendor/<?js= env.conf.opts['prism-theme'] ?>.css">
<?js } else { ?>
<link type="text/css" rel="stylesheet" href="styles/vendor/prism-tomorrow-night.css">
<?js } ?>
<link type="text/css" rel="stylesheet" href="styles/styles.css">
<?js if (env.conf.hasOwnProperty('styles')) { ?>
<?js var styles = env.conf.styles; ?>
<style>
:root {
<?js for (var key in styles) { ?>
<?js if (styles.hasOwnProperty(key)) { ?>
--<?js= key + ': ' + styles[key] ?>;
<?js } } ?>
}
</style>
<?js } ?>
<style>
.container {
margin: 0;
}
</style>
</head>
<body>

<header class="layout-header">
<?js if (env.conf.metadata.logo) { ?>
<a href="./">
<img
src="<?js= env.conf.metadata.logo ?>"
alt="<?js= env.conf.metadata.title ?>"
>
</a>
<?js } ?>
<h1>
<a href="./index.html">
<?js= env.conf.metadata.title ?>
</a>
</h1>
<nav class="layout-nav">
<?js= this.nav ?>
</nav>
</header>


<main class="layout-main <?js if (kind === 'source') { ?> layout-content--source<?js } ?>">
<div class="container">
<p class="page-kind"><?js= kind ?></p>
<h1 class="page-title"><?js= title ?></h1>
<?js= content ?>
</div>
</main>

<footer class="layout-footer">
<div class="container">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc <?js= env.version.number ?></a><?js if(env.conf.templates && env.conf.templates.default && env.conf.templates.default.includeDate !== false) { ?> on <?js= (new Date()) ?><?js } ?>
</div>
</footer>



<script src="scripts/prism.dev.js"></script>
</body>
</html>
Loading

0 comments on commit 75c048a

Please sign in to comment.