Skip to content

Commit

Permalink
Merge pull request #706 from pupil-labs/imu_alpha_labs
Browse files Browse the repository at this point in the history
IMU Transformation AL article & Small IMU Docs Update
  • Loading branch information
marc-tonsen committed Sep 5, 2024
2 parents 8a08556 + 4d58143 commit 4e7b3aa
Show file tree
Hide file tree
Showing 15 changed files with 1,023 additions and 201 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/PR-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
build:
name: 📦 ${{ matrix.component }} build
name: 📦 ${{ matrix.component }} build
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand All @@ -21,7 +21,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 22

- name: Install dependencies
working-directory: ./${{ matrix.component }}
Expand Down Expand Up @@ -101,7 +101,7 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 2
- name: 'Check Grammar'
- name: "Check Grammar"
id: cspell
uses: streetsidesoftware/cspell-action@v5
with:
Expand Down
51 changes: 25 additions & 26 deletions .github/workflows/build-deploy-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 22

- name: Install dependencies
working-directory: ./neon
Expand All @@ -32,13 +32,13 @@ jobs:
- name: Make build
working-directory: ./neon
run: npm run docs:build

- name: Upload
uses: actions/upload-artifact@v3
with:
name: neon
path: neon/.vitepress/dist

invisible:
name: Build Invisible
runs-on: ubuntu-latest
Expand All @@ -49,12 +49,12 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 22

- name: Install dependencies
working-directory: ./invisible
run: npm install

# Copy node modules to provide dependencies for shared components in root folder
- name: Copy node_modules
shell: bash
Expand All @@ -65,13 +65,13 @@ jobs:
- name: Make build
working-directory: ./invisible
run: npm run docs:build

- name: Upload
uses: actions/upload-artifact@v3
with:
name: invisible
path: invisible/.vitepress/dist

core:
name: Build Core
runs-on: ubuntu-latest
Expand All @@ -82,12 +82,12 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 22

- name: Install dependencies
working-directory: ./core
run: npm install

# Copy node modules to provide dependencies for shared components in root folder
- name: Copy node_modules
shell: bash
Expand All @@ -98,13 +98,13 @@ jobs:
- name: Make build
working-directory: ./core
run: npm run docs:build

- name: Upload
uses: actions/upload-artifact@v3
with:
name: core
path: core/.vitepress/dist

alpha-lab:
name: Build Alpha Lab
runs-on: ubuntu-latest
Expand All @@ -115,12 +115,12 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 22

- name: Install dependencies
working-directory: ./alpha-lab
run: npm install

# Copy node modules to provide dependencies for shared components in root folder
- name: Copy node_modules
shell: bash
Expand All @@ -131,7 +131,7 @@ jobs:
- name: Make build
working-directory: ./alpha-lab
run: npm run docs:build

- name: Upload
uses: actions/upload-artifact@v3
with:
Expand All @@ -148,12 +148,12 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 22

- name: Install dependencies
working-directory: ./landing-page
run: npm install

# Copy node modules to provide dependencies for shared components in root folder
- name: Copy node_modules
shell: bash
Expand All @@ -164,19 +164,19 @@ jobs:
- name: Make build
working-directory: ./landing-page
run: npm run docs:build

- name: Upload
uses: actions/upload-artifact@v3
with:
name: landing-page
path: landing-page/.vitepress/dist

debugging-info:
name: Upload debugging info
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v3
- name: Write commit SHA to gitcommit.txt
shell: bash
run: |
Expand All @@ -203,13 +203,13 @@ jobs:
shell: bash
run: |
du -ah .
- name: Download gitcommit
uses: actions/download-artifact@v3
with:
name: gitcommit
path: gitcommit.txt

- name: Download Neon
uses: actions/download-artifact@v3
with:
Expand All @@ -221,13 +221,13 @@ jobs:
with:
name: invisible
path: invisible/

- name: Download Core
uses: actions/download-artifact@v3
with:
name: core
path: core/

- name: Download AlphaLab
uses: actions/download-artifact@v3
with:
Expand All @@ -248,7 +248,6 @@ jobs:
remote_host: ${{ secrets.REMOTE_HOST}}
remote_user: ${{ secrets.REMOTE_USER }}
remote_key: ${{ secrets.DEPLOY_KEY }}


deploy-production:
name: Deploy to production
Expand All @@ -272,13 +271,13 @@ jobs:
with:
name: invisible
path: invisible/

- name: Download Core
uses: actions/download-artifact@v3
with:
name: core
path: core/

- name: Download AlphaLab
uses: actions/download-artifact@v3
with:
Expand Down
Loading

0 comments on commit 4e7b3aa

Please sign in to comment.