Open robandpdx opened 5 months ago
Hey @robandpdx, thanks for kicking off the migration. @jturner65 and I would be happy to help iterate here.
Perhaps a quick chat in the next week or two would be most efficient?
Note that our CI testing here is closely tied to our other repo: https://github.com/facebookresearch/habitat-lab so it makes sense to consider and unify both at the same time since much of the content overlaps.
Note that our CI testing here is closely tied to our other repo: https://github.com/facebookresearch/habitat-lab so it makes sense to consider and unify both at the same time since much of the content overlaps.
@aclegg3 I'll work on habitat-lab
next. Let's connect to discuss. Send invite to my username + @github.com. I'm on US east coast schedule for now.
Motivation and Context
This pull request converts the CircleCI workflows to GitHub actions workflows.
I did my best to make it all work, but this project's build process is not quite within my area of expertise.
Notes
In the
build_conda_binaries
job, the use of thepython common/delete_old_night_packages.py
script was failing with a usage message. I didn't know how to fix that, so I left it commented out.The
nightly
circleci worklfow becomesschedule
trigger in github actions with a steps to set environment variables where necessary andif
statements to toggle of/off jobs and steps as needed.The
version_conda_release
circleci worklfow becomespush: tags
trigger in github actions with a steps to set environment variables where necessary andif
statements to toggle of/off jobs and steps as needed.Errors
lab_build_habitat
job fails runningtests/test_baseline_agents.py
and I don't understand why.install_and_test_ubuntu
job fails with the following error:pre-commit
job fails. I really don't understand how this job works at all.clang_tidy
job fails with many errors.Errors
``` /home/runner/work/habitat-sim/habitat-sim/habitat-sim/src/esp/metadata/managers/AOAttributesManager.h:26:3: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors] AOAttributesManager() ^ /home/runner/work/habitat-sim/habitat-sim/habitat-sim/src/esp/metadata/managers/AbstractObjectAttributesManager.h:76:36: error: parameter 'assetAttributesMgr' is unused [misc-unused-parameters,-warnings-as-errors] AssetAttributesManager::cptr assetAttributesMgr) { ^~~~~~~~~~~~~~~~~~ /*assetAttributesMgr*/ /home/runner/work/habitat-sim/habitat-sim/habitat-sim/src/esp/metadata/managers/AssetAttributesManager.h:229:5: error: if with identical then and else branches [bugprone-branch-clone,-warnings-as-errors] if (isWireFrame) { ^ /home/runner/work/habitat-sim/habitat-sim/habitat-sim/src/esp/metadata/managers/AssetAttributesManager.h:231:7: note: else branch starts here } else { ^ /home/runner/work/habitat-sim/habitat-sim/habitat-sim/src/esp/metadata/managers/AssetAttributesManager.h:262:5: error: if with identical then and else branches [bugprone-branch-clone,-warnings-as-errors] if (isWireFrame) { ^ /home/runner/work/habitat-sim/habitat-sim/habitat-sim/src/esp/metadata/managers/AssetAttributesManager.h:264:7: note: else branch starts here } else { ^ /home/runner/work/habitat-sim/habitat-sim/habitat-sim/src/esp/metadata/managers/AssetAttributesManager.h:295:5: error: if with identical then and else branches [bugprone-branch-clone,-warnings-as-errors] if (isWireFrame) { ^ /home/runner/work/habitat-sim/habitat-sim/habitat-sim/src/esp/metadata/managers/AssetAttributesManager.h:297:7: note: else branch starts here } else { ^ /home/runner/work/habitat-sim/habitat-sim/habitat-sim/src/esp/metadata/managers/AssetAttributesManager.h:328:5: error: if with identical then and else branches [bugprone-branch-clone,-warnings-as-errors] if (isWireFrame) { ^ /home/runner/work/habitat-sim/habitat-sim/habitat-sim/src/esp/metadata/managers/AssetAttributesManager.h:330:7: note: else branch starts here } else { ^ /home/runner/work/habitat-sim/habitat-sim/habitat-sim/src/esp/metadata/managers/AssetAttributesManager.h:361:5: error: if with identical then and else branches [bugprone-branch-clone,-warnings-as-errors] if (isWireFrame) { ^ /home/runner/work/habitat-sim/habitat-sim/habitat-sim/src/esp/metadata/managers/AssetAttributesManager.h:363:7: note: else branch starts here } else { /home/runner/work/habitat-sim/habitat-sim/habitat-sim/src/esp/physics/objectWrappers/ManagedPhysicsObjectBase.h:241:39: error: parameter 'angleInRad' is unused [misc-unused-parameters,-warnings-as-errors] void rotateXLocal(const Magnum::Rad angleInRad) { ^~~~~~~~~~ /*angleInRad*/ /home/runner/work/habitat-sim/habitat-sim/habitat-sim/src/esp/physics/objectWrappers/ManagedPhysicsObjectBase.h:247:39: error: parameter 'angleInRad' is unused [misc-unused-parameters,-warnings-as-errors] void rotateYLocal(const Magnum::Rad angleInRad) { ^~~~~~~~~~ /*angleInRad*/ /home/runner/work/habitat-sim/habitat-sim/habitat-sim/src/esp/physics/objectWrappers/ManagedPhysicsObjectBase.h:253:39: error: parameter 'angleInRad' is unused [misc-unused-parameters,-warnings-as-errors] void rotateZLocal(const Magnum::Rad angleInRad) { ^~~~~~~~~~ /*angleInRad*/ /home/runner/work/habitat-sim/habitat-sim/habitat-sim/src/esp/scene/SceneManager.h:18:7: warning: constructor does not initialize these fields: sceneGraphs_ [cppcoreguidelines-pro-type-member-init] class SceneManager { ^ /home/runner/work/habitat-sim/habitat-sim/habitat-sim/src/esp/scene/SceneNode.h:125:46: warning: narrowing conversion from 'uint32_t' (aka 'unsigned int') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions] virtual int getSemanticId() const { return semanticId_; } ^ /home/runner/work/habitat-sim/habitat-sim/habitat-sim/src/esp/scene/SceneNode.h:284:55: error: variable 'stack' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors] std::stackhttps://fburl.com/workplace/f6mz6tmw
How Has This Been Tested
Here is a link to the latest workflow run in my fork.
Types of changes
Checklist