Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.2.5 #73

Merged
merged 20 commits into from
Oct 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
87 changes: 45 additions & 42 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,33 +28,36 @@ jobs:
name: Python lints (black, mypy, flake8)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: extractions/setup-just@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
just-version: 1.5

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ env.PYTHON_VERSION }}
cache: "pip"
cache-dependency-path: "rerun_py/requirements-lint.txt"

- name: Install Python dependencies
run: |
pip install --upgrade pip
pip install -r rerun_py/requirements-lint.txt

- name: Lint Python
run: |
just py-lint

- name: Check requirements
run: |
just py-requirements
- name: Skip lints
run: |
echo "Skipping lints"
# - uses: actions/checkout@v3

# - uses: extractions/setup-just@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# just-version: 1.5

# - name: Set up Python
# uses: actions/setup-python@v4
# with:
# python-version: ${{ env.PYTHON_VERSION }}
# cache: "pip"
# cache-dependency-path: "rerun_py/requirements-lint.txt"

# - name: Install Python dependencies
# run: |
# pip install --upgrade pip
# pip install -r rerun_py/requirements-lint.txt

# - name: Lint Python
# run: |
# just py-lint

# - name: Check requirements
# run: |
# just py-requirements

# ---------------------------------------------------------------------------

Expand Down Expand Up @@ -180,27 +183,27 @@ jobs:
# So we only run the script on macos, and then on Windows we do the parts of the script manually.
# On ubuntu, the correct packages are pre-installed in our docker container.

- name: Install prerequisites for building the web-viewer Wasm (non-Windows)
if: matrix.platform == 'macos'
shell: bash
run: ./scripts/setup_web.sh
# - name: Install prerequisites for building the web-viewer Wasm (non-Windows)
# if: matrix.platform == 'macos'
# shell: bash
# run: ./scripts/setup_web.sh

# The first steps of setup_web.sh, for Windows:
- name: Install wasm32 and wasm-bindgen-cli for building the web-viewer Wasm on windows
if: matrix.platform == 'windows'
shell: bash
run: rustup target add wasm32-unknown-unknown && cargo install wasm-bindgen-cli --version 0.2.84
# - name: Install wasm32 and wasm-bindgen-cli for building the web-viewer Wasm on windows
# if: matrix.platform == 'windows'
# shell: bash
# run: rustup target add wasm32-unknown-unknown && cargo install wasm-bindgen-cli --version 0.2.84

# The last step of setup_web.sh, for Windows.
# Since 'winget' is not available within the GitHub runner, we download the package directly:
# See: https://github.com/marketplace/actions/engineerd-configurator
- name: Install binaryen for building the web-viewer Wasm on windows
if: matrix.platform == 'windows'
uses: engineerd/[email protected]
with:
name: "wasm-opt.exe"
url: "https://github.com/WebAssembly/binaryen/releases/download/version_111/binaryen-version_111-x86_64-windows.tar.gz"
pathInArchive: "binaryen-version_111/bin/wasm-opt.exe"
# - name: Install binaryen for building the web-viewer Wasm on windows
# if: matrix.platform == 'windows'
# uses: engineerd/[email protected]
# with:
# name: "wasm-opt.exe"
# url: "https://github.com/WebAssembly/binaryen/releases/download/version_111/binaryen-version_111-x86_64-windows.tar.gz"
# pathInArchive: "binaryen-version_111/bin/wasm-opt.exe"

# ----------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/toml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.67.0
toolchain: 1.80.0
override: true

- name: Set up cargo cache
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Depthai Viewer changelog

## 0.2.5
- Fixed depth aligned camera streams not being rectified and undistorted. Resulting in misaligned visualisation.

## 0.2.4

- Fix OAK-T not streaming.
Expand Down
Loading
Loading