@@ -210,10 +210,11 @@ jobs:
- run: echo "build --disk_cache ~/.cache/bazel" >.bazelrc.local
- name: Test
run: bazel test ... -c dbg
# TODO(robinlinden): This no longer runs in CI due to http://example.com
# being inaccessible.
# - name: Run
# run: bazel run browser:tui -c dbg
- name: Run tui
run: |
echo "<html><body><h1>Example</h1><p>This is an example page.</p></body></html>" >example.html
python3 -m http.server --bind localhost 12345 &
bazel run browser:tui -c dbg http://localhost:12345/example.html
windows-clang-cl:
runs-on: windows-2022
@@ -230,9 +231,11 @@ jobs:
- run: echo "build --config clang-cl" >.bazelrc.local
- run: echo "build --disk_cache ~/.cache/bazel" >>.bazelrc.local
- run: bazel test ...
# TODO(robinlinden): This no longer runs in CI due to http://example.com
# being inaccessible.
# - run: bazel run browser:tui
- name: Run tui
run: |
echo "<html><body><h1>Example</h1><p>This is an example page.</p></body></html>" >example.html
python3 -m http.server --bind localhost 12345 &
bazel run browser:tui http://localhost:12345/example.html
pre-commit:
runs-on: ubuntu-22.04