Skip to content

Commit

Permalink
skeleton of energy selector (#1136)
Browse files Browse the repository at this point in the history
* skeleton of energy selector

* drop node 16

* check make -j

* update

* fix

* update

* bump libamtrack

* update to node 20

* update
  • Loading branch information
grzanka committed Aug 20, 2024
1 parent e12f332 commit 4f2b44c
Show file tree
Hide file tree
Showing 13 changed files with 7,568 additions and 5,831 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ name: Node.js CI
on:
push:
branches: [ master ]
tags: '*'
tags:
- '*'
pull_request:
branches: [ master ]
release:
Expand All @@ -23,7 +24,7 @@ jobs:
needs: [webasm_package]
strategy:
matrix:
node-version: [16.x, 18.x]
node-version: [18.x, 20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
Expand Down Expand Up @@ -91,7 +92,7 @@ jobs:
tar -xzf gsl-latest.tar.gz -C $HOME/gsl-latest
mv $HOME/gsl-latest/** $HOME/gsl-latest/gsl
mkdir $HOME/usr
cd $HOME/gsl-latest/gsl/ && emconfigure ./configure --prefix=$HOME/usr --disable-shared && emmake make -j2 && emmake make install
cd $HOME/gsl-latest/gsl/ && emconfigure ./configure --prefix=$HOME/usr --disable-shared && emmake make -j && emmake make install
ls -al $HOME/usr/lib/
- name: Compile libamtrack webassembly package
Expand Down Expand Up @@ -121,7 +122,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
node-version: '20'

- name: Install 🔧
run: npm install
Expand Down
53 changes: 49 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Created by https://www.toptal.com/developers/gitignore/api/node,visualstudiocode
# Edit at https://www.toptal.com/developers/gitignore?templates=node,visualstudiocode

### Node ###
# Logs
logs
*.log
Expand Down Expand Up @@ -54,6 +58,9 @@ web_modules/
# Optional eslint cache
.eslintcache

# Optional stylelint cache
.stylelintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
Expand All @@ -69,10 +76,12 @@ web_modules/
# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
# dotenv environment variable files
.env
.env.test
.env.production
.env.development.local
.env.test.local
.env.production.local
.env.local

# parcel-bundler cache (https://parceljs.org/)
.cache
Expand All @@ -95,6 +104,12 @@ dist
# vuepress build output
.vuepress/dist

# vuepress v2.x temp and cache directory
.temp

# Docusaurus cache and generated files
.docusaurus

# Serverless directories
.serverless/

Expand All @@ -115,4 +130,34 @@ dist
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*
.pnp.*

### Node Patch ###
# Serverless Webpack directories
.webpack/

# Optional stylelint cache

# SvelteKit build / generate output
.svelte-kit

### VisualStudioCode ###
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
!.vscode/*.code-snippets

# Local History for Visual Studio Code
.history/

# Built Visual Studio Code Extensions
*.vsix

### VisualStudioCode Patch ###
# Ignore all local history of files
.history
.ionide

# End of https://www.toptal.com/developers/gitignore/api/node,visualstudiocode
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"yaml.schemas": {
"https://json.schemastore.org/github-workflow.json": "file:///Users/grzanka/workspace/web/.github/workflows/node.js.yml"
}
}
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# -- Project information -----------------------------------------------------

project = 'LibamtrackWeb'
copyright = '2022, Arkadiusz Dudzik, Piotr Zmilczak, Leszek Grzanka'
copyright = '2024, Arkadiusz Dudzik, Piotr Zmilczak, Leszek Grzanka'
author = 'Arkadiusz Dudzik, Piotr Zmilczak, Leszek Grzanka'

# The short X.Y version
Expand Down
2 changes: 1 addition & 1 deletion docs/jsons.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Global configuration JSON file looks like below
{
"applicationTitle": "Libamtrack",
"introText": "libamtrack provides computational routines for the prediction of detector response and radiobiological efficiency in heavy charged particle beams.",
"footerText": "LibatrackWeb ©2022",
"footerText": "LibatrackWeb ©2024",
"categories": [],
"dictionaries": [],
}
Expand Down
2 changes: 1 addition & 1 deletion library
Loading

0 comments on commit 4f2b44c

Please sign in to comment.