Skip to content

Commit

Permalink
fixup! [#66307] Migrate to newer Renode, newer Python and bzlmod
Browse files Browse the repository at this point in the history
  • Loading branch information
JanOlencki committed Oct 23, 2024
1 parent d6c8e7a commit 699b925
Show file tree
Hide file tree
Showing 11 changed files with 68 additions and 3,835 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/bazel_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,16 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2

- name: Run example test
- name: Run example tests
run: |
cd examples/cortex-r52
cd $GITHUB_WORKSPACE/examples/cortex-r52
bazel test //:all
cd $GITHUB_WORKSPACE/examples/failing-test
! bazel test //:all > test.log || exit 1
grep -E "//:success-test +PASSED" test.log
grep -E "//:failing-test +FAILED" test.log
- name: Upload Bazel artifacts
uses: actions/upload-artifact@v4
if: ${{ always() }}
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
bazel-*
.bazelrc

examples/*/*.log
MODULE.bazel.lock
2 changes: 1 addition & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ pip.parse(
use_repo(pip, "renode_test_python_deps")

renode = use_extension("@rules_renode//renode:extensions.bzl", "renode")
use_repo(renode, "renode_toolchains")
use_repo(renode, renode_toolchains_default = "renode_toolchains")
Loading

0 comments on commit 699b925

Please sign in to comment.