Skip to content

Add fixed port range for sub-processor debugger #203

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

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
5ca5824
Hard coding the sub-process port for testing.
mrbiggred Sep 30, 2020
4047386
Try a random port.
mrbiggred Sep 30, 2020
54b16c2
Added debug info to the free port method updates.
mrbiggred Sep 30, 2020
3b38227
Updated exception handling for ports in use.
mrbiggred Sep 30, 2020
d9823d2
Catch all errors when looking for free port.
mrbiggred Oct 1, 2020
e1ed54c
Commenting and changing output to debug instead of stderr.
mrbiggred Oct 8, 2020
15edffc
Tests now use the real find_free_port instead of test version.
mrbiggred Oct 16, 2020
7311633
Updated the ReadMe with sub-process ports.
mrbiggred Oct 16, 2020
4869a67
Incorrect error handling in find_free_port method.
mrbiggred Dec 18, 2020
14d20ee
Docker container for development.
mrbiggred Jan 19, 2021
12e2341
Initial CI file.
mrbiggred Jan 20, 2021
46c4c67
Changed CI to fire on push for testing.
mrbiggred Jan 20, 2021
0a8d64a
Fixed typo in CI.
mrbiggred Jan 20, 2021
9684f1b
Removed Ruby versions the Ruby Setup Action does not support.
mrbiggred Jan 20, 2021
d9f72fa
Switched CI to use Ruby Docker images.
mrbiggred Jan 20, 2021
e47a7f7
Fixed duplicate runs-on typo in CI.
mrbiggred Jan 20, 2021
c43bda2
Fixed matrix variable typo in CI.
mrbiggred Jan 20, 2021
327a74b
Fixed container typo in CI.
mrbiggred Jan 20, 2021
3fa3ffd
Added bundle install to CI.
mrbiggred Jan 20, 2021
e4c3cac
Try CI with full Ruby Docker images instead of slim.
mrbiggred Jan 20, 2021
1b3e379
Updated Gemfile to fix some build failures.
mrbiggred Jan 20, 2021
6f836b6
Fixed issue with Ruby and Rake version installed.
mrbiggred Jan 20, 2021
6a0aa88
Testing possible reason Ruby 2.0 build fails.
mrbiggred Jan 20, 2021
2d3b633
Make sure bundler is installed in CI.
mrbiggred Jan 20, 2021
34d552d
Trying to fix Ruby 2.0 build error.
mrbiggred Jan 20, 2021
3c83384
See if Ruby 2.0 will build with Debase 0.2.3.
mrbiggred Jan 20, 2021
6a75059
Switch back to Debase 0.2.2 for Ruby 2.0.
mrbiggred Jan 20, 2021
3ec13d8
Think I fixed Ruby 1.9.3 CI build fail.
mrbiggred Jan 20, 2021
41fb345
Fixed typo in my setting of the bundler version.
mrbiggred Jan 20, 2021
603acdd
Upgrading bundler in CI to fix issue with 1.9.3 build.
mrbiggred Jan 20, 2021
a055a32
Trying RVM instead of Docker images.
mrbiggred Jan 20, 2021
bacd7fa
Try RVM again.
mrbiggred Jan 20, 2021
fad5c10
Make sure RVM is loaded after installing.
mrbiggred Jan 20, 2021
5151267
Try again to source RVM after it's installed.
mrbiggred Jan 20, 2021
5ec2f4c
Testing if RVM is installed correctly.
mrbiggred Jan 20, 2021
d39925a
Do everything in CI in one run command so RVM can be found.
mrbiggred Jan 20, 2021
b891d1d
Try gpg2 to fix Mac issue in CI.
mrbiggred Jan 20, 2021
510f7ef
Try to fix RVM key download issue.
mrbiggred Jan 20, 2021
b9a439d
Removed Windows from CI and added Ruby versions.
mrbiggred Jan 20, 2021
609ea1f
Try just downloading binaries for RVM in CI.
mrbiggred Jan 20, 2021
e46cb1c
Give up on RVM. Revert back to Docker images.
mrbiggred Jan 20, 2021
03ef023
Trying to fix 1.9.3 build error.
mrbiggred Jan 21, 2021
0ee897e
Run Rake using bundler to fix Ruby 1.9.3 error.
mrbiggred Jan 21, 2021
a1f66d0
Update Gemfile to it works with Ruby 2.6.
mrbiggred Nov 25, 2021
cd809a7
Merge pull request #1 from corgibytes/feature-dockerize
mrbiggred Nov 25, 2021
4f54b3b
Trigger build.
mrbiggred Nov 25, 2021
d1297cd
Different bundler for ruby 1.9.3 in CI.
mrbiggred Nov 25, 2021
219d3b8
Fixed typo in different Bundler versions in CI.
mrbiggred Nov 25, 2021
dee36f1
Setup individual ruby/bunder versions for matrix in CI.
mrbiggred Nov 25, 2021
b8eccbe
Install REXML gem for Ruby 3.0.
mrbiggred Nov 25, 2021
6d5bf03
Merge branch 'master' into feature-github-ci
mrbiggred Nov 25, 2021
f5532ae
Merge pull request #2 from corgibytes/feature-github-ci
mrbiggred Nov 25, 2021
3adbe95
Update CI to only trigger on a PR.
mrbiggred Nov 25, 2021
94ff91b
Merge pull request #4 from corgibytes/feature-trigger-ci-on-pr
mrbiggred Nov 25, 2021
70ccf3b
Merge pull request #3 from ruby-debug/master
mrbiggred Nov 25, 2021
4e8aade
Trigger CI on push and PR.
mrbiggred Nov 25, 2021
e2dcd10
Change main to master in CI.
mrbiggred Nov 25, 2021
ce3beef
Removed logic to build Travis CI file.
mrbiggred Nov 25, 2021
31d1e65
Merge pull request #5 from corgibytes/feature-trigger-ci-on-push-and-pr
mrbiggred Nov 25, 2021
397466b
Added the Standard lint checker.
mrbiggred Nov 25, 2021
a62e639
Add linting check to CI.
mrbiggred Nov 25, 2021
5bd5654
Loading gemspec has be to done after loading debase.
mrbiggred Nov 25, 2021
4a19392
Only run linting on supported versions of Ruby.
mrbiggred Nov 25, 2021
f20acd5
Only lint newer Ruby versions in CI.
mrbiggred Nov 25, 2021
e1aee7e
Updated readme for linting.
mrbiggred Nov 25, 2021
00542f9
Merge pull request #7 from corgibytes/feature-add-standard-lint-checker
mrbiggred Nov 25, 2021
3c8ce7c
Merge branch 'master' into feature-add-fixed-port-range
mrbiggred Nov 25, 2021
1c29c1f
Fix linting issue in ruby-debug-ide file.
mrbiggred Nov 25, 2021
03d53c3
Fix standard linting issue.
mrbiggred Nov 26, 2021
4778461
Is some linter issues.
mrbiggred Nov 26, 2021
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
73 changes: 73 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
name: CI
on:
push:
branches: [ master, release* ]
tags: [v*]
pull_request:
branches: [ master, release* ]

defaults:
run:
shell: bash

jobs:
build:
name: Build job
runs-on: ubuntu-20.04

strategy:
fail-fast: false
matrix:
include:
- ruby-version: 1.9.3-p551
bundler-version: 1.17.3
run-linter: false

- ruby-version: 2.0.0-p648
bundler-version: 1.17.3
run-linter: false

- ruby-version: 2.1.10
bundler-version: 1.17.3
run-linter: false

- ruby-version: 2.2.10
bundler-version: 1.17.3
run-linter: false

- ruby-version: 2.3.8
bundler-version: 2.2.32
run-linter: false

- ruby-version: 2.4.10
bundler-version: 2.2.32
run-linter: false

- ruby-version: 2.5.8
bundler-version: 2.2.32
run-linter: true

- ruby-version: 2.6.6
bundler-version: 2.2.32
run-linter: true

- ruby-version: 3.0.0
bundler-version: 2.2.32
run-linter: true

container: ruby:${{ matrix.ruby-version }}

steps:
- uses: actions/checkout@v2

- name: Install Bundler and gems
run: |
gem install bundler -v ${{ matrix.bundler-version }}
bundle install

- name: Linting
if: ${{ matrix.run-linter }}
run: bundle exec standardrb

- name: Unit Tests
run: bundle exec rake
8 changes: 8 additions & 0 deletions .standard.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Oldest version of Ruby supported by the Debugger.
ruby_version: 1.9.3

# Ignore some rules that are only valid in
# newer versions of Ruby.
ignore:
- '**/*':
- Style/SafeNavigation # The & nil check is not available until Ruby 2.3.
Loading