Description
We are attempting a workflow where we use our CD flow in GitHub Actions to build the artifacts for our devtool extension on rohd and push them to a separate branch. The goal is that users can point to a pre-release version of our package hosted on git but still benefit from the devtools extension by pointing to this special branch instead of main. But, we're not seeing the devtools extension show up in devtools when we point it there.
If helpful, this PR (intel/rohd#461) has the relevant changes we're making, and here's a dependency override that we expected would work (on a fork, for now):
dependency_overrides:
rohd:
git:
url: https://github.com/quekyj/rohd.git
ref: artifacts
You can see all the build output located here: https://github.com/quekyj/rohd/tree/artifacts/extension/devtools/build
This isn't working for me on Dart SDK version: 3.3.0 (stable) (None) on "linux_x64"
(in windows 11 WSL2 ubuntu)
Here's a tiny example program that you can set a breakpoint on after the call to .build()
, and the extension should show up in the devtools and show the built module within it
import 'package:rohd/rohd.dart';
class MyMod extends Module {
MyMod(Logic x) {
x = addInput('x', x);
}
}
void main(List<String> arguments) async {
final m = MyMod(Logic());
await m.build();
print(m.generateSynth());
}
This is a follow-up to this Discord discussion: https://discord.com/channels/608014603317936148/1159561514072690739/1206721049430069248