Skip to content

Commit 8461585

Browse files
committed
- Base visualizations and data parsing (no merging yet)
- add GitHub Actions for build, test & release
1 parent 47c1f8f commit 8461585

15 files changed

Lines changed: 6998 additions & 4 deletions

File tree

.github/workflows/build-test.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Build & Test
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
env:
8+
CARGO_TERM_COLOR: always
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
- name: Always use stable rust
16+
run: rustup update stable && rustc --version
17+
- name: Build
18+
run: cargo build --verbose
19+
- name: Run tests
20+
run: cargo test --verbose

.github/workflows/release.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Release
2+
3+
on:
4+
workflow_dispatch:
5+
release:
6+
types: [ created ]
7+
8+
jobs:
9+
release:
10+
name: release ${{ matrix.target }}
11+
runs-on: ubuntu-latest
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
include:
16+
- target: x86_64-pc-windows-gnu
17+
archive: zip
18+
- target: x86_64-unknown-linux-musl
19+
archive: tar.gz tar.xz tar.zst
20+
- target: x86_64-apple-darwin
21+
archive: zip
22+
steps:
23+
- uses: actions/checkout@master
24+
- name: Compile and release
25+
uses: rust-build/rust-build.action@v1.4.5
26+
env:
27+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28+
with:
29+
RUSTTARGET: ${{ matrix.target }}
30+
ARCHIVE_TYPES: ${{ matrix.archive }}
31+
TOOLCHAIN_VERSION: stable

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
/target
2-
.idea
2+
/dist
3+
.idea
4+
*.fit

0 commit comments

Comments
 (0)