From 6cbf1de691c17376b2c205801589d61bde8a671d Mon Sep 17 00:00:00 2001 From: aharpervc Date: Thu, 9 Apr 2020 12:27:48 -0400 Subject: [PATCH 01/22] wip: trying out circleci w/ job matrix parameters --- .circleci/config.yml | 117 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 117 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 00000000..612ab422 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,117 @@ +version: 2.1 + +orbs: + win: circleci/windows@2.2.0 + +jobs: + test_linux: + parameters: + ruby_version: + description: "version tag for the veracross/circleci-ruby-freetds container" + type: string + + docker: + - image: veracross/circleci-ruby-freetds:latest + - image: metaskills/mssql-server-linux-tinytds:2017-GA + + working_directory: ~/repo + + steps: + - checkout + + - restore_cache: + name: restore gem cache + keys: + - v1-bundle-<< parameters.ruby_version >>-{{ .Branch }}-{{ checksum "tiny_tds.gemspec" }} + - v1-bundle-<< parameters.ruby_version >>-{{ .Branch }}- + - v1-bundle-<< parameters.ruby_version >>- + + - run: + name: install dependencies + command: | + bundle check --path ./vendor/bundle || bundle install --jobs=3 --retry=3 --path vendor/bundle + bundle clean + + - save_cache: + name: save gem cache + paths: + - ./vendor/bundle + key: v1-bundle-<< parameters.ruby_version >>-{{ .Branch }}-{{ checksum "tiny_tds.gemspec" }} + + - run: + name: build gem + command: | + bundle exec rake build + + - run: + name: run tests + command: | + TINYTDS_UNIT_HOST=localhost bundle exec rake test + + test_windows: + parameters: + ruby_version: + description: "version tag for the veracross/circleci-ruby-freetds container" + type: string + + executor: + name: win/default + shell: powershell.exe + + steps: + - run: systeminfo + + - run: pwd + + - checkout + + - restore_cache: + name: restore gem cache + keys: + - v1-bundle-<< parameters.ruby_version >>-{{ .Branch }}-{{ checksum "tiny_tds.gemspec" }} + - v1-bundle-<< parameters.ruby_version >>-{{ .Branch }}- + - v1-bundle-<< parameters.ruby_version >>- + + - run: + name: install dependencies + command: | + bundle install --jobs=3 --retry=3 --path ./vendor/bundle + bundle clean + + - save_cache: + name: save gem cache + paths: + - ./vendor/bundle + key: v1-bundle-<< parameters.ruby_version >>-{{ .Branch }}-{{ checksum "tiny_tds.gemspec" }} + + - run: + name: build prereqs + command: | + bundle exec rake ports + + - run: + name: build gem + command: | + bundle exec rake build + + - run: + name: run tests + command: | + TINYTDS_UNIT_HOST=localhost bundle exec rake test + +workflows: + test_supported_ruby_versions: + jobs: + - test_linux: + matrix: + parameters: + ruby_version: + - '2.5.3' + - '2.7' + + - test_windows: + matrix: + parameters: + ruby_version: + - '2.5.3' + - '2.7' From f546ab59a346727f3a33782f177b38afbf8c0049 Mon Sep 17 00:00:00 2001 From: aharpervc Date: Mon, 15 Mar 2021 10:19:57 -0400 Subject: [PATCH 02/22] wip: restore sleep for database --- .circleci/config.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 612ab422..12be11f1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -43,6 +43,12 @@ jobs: command: | bundle exec rake build + - run: + # imported from setup.sh, although we should do better... + name: wait for database + command: | + sleep 10 + - run: name: run tests command: | @@ -94,6 +100,12 @@ jobs: command: | bundle exec rake build + - run: + # imported from setup.sh, although we should do better... + name: wait for database + command: | + sleep 10 + - run: name: run tests command: | From e5bdaa42b721300ca1225f9fc66151701977245c Mon Sep 17 00:00:00 2001 From: aharpervc Date: Mon, 15 Mar 2021 10:25:25 -0400 Subject: [PATCH 03/22] wip: attempt cross build --- .circleci/config.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 12be11f1..44981c8d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -91,14 +91,9 @@ jobs: key: v1-bundle-<< parameters.ruby_version >>-{{ .Branch }}-{{ checksum "tiny_tds.gemspec" }} - run: - name: build prereqs + name: cross build gem command: | - bundle exec rake ports - - - run: - name: build gem - command: | - bundle exec rake build + bundle exec rake gem:windows - run: # imported from setup.sh, although we should do better... From 50404dc6f71dc17efb886a23a579a2f5ebd2a781 Mon Sep 17 00:00:00 2001 From: aharpervc Date: Mon, 15 Mar 2021 10:33:11 -0400 Subject: [PATCH 04/22] wip: remote docker --- .circleci/config.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 44981c8d..6781830f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -90,6 +90,9 @@ jobs: - ./vendor/bundle key: v1-bundle-<< parameters.ruby_version >>-{{ .Branch }}-{{ checksum "tiny_tds.gemspec" }} + - setup_remote_docker: + version: 20.10.2 + - run: name: cross build gem command: | From 65735b16675fbe9cf1fca727a20a633783deeb5e Mon Sep 17 00:00:00 2001 From: aharpervc Date: Mon, 15 Mar 2021 10:33:37 -0400 Subject: [PATCH 05/22] temp: disable linux job --- .circleci/config.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6781830f..3832c38f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -112,12 +112,12 @@ jobs: workflows: test_supported_ruby_versions: jobs: - - test_linux: - matrix: - parameters: - ruby_version: - - '2.5.3' - - '2.7' + # - test_linux: + # matrix: + # parameters: + # ruby_version: + # - '2.5.3' + # - '2.7' - test_windows: matrix: From 5d15281e5a7a630158704d3822f5dbbdb687cd1a Mon Sep 17 00:00:00 2001 From: aharpervc Date: Mon, 15 Mar 2021 10:42:49 -0400 Subject: [PATCH 06/22] wip: remove remote docker --- .circleci/config.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3832c38f..52fb1437 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -90,9 +90,6 @@ jobs: - ./vendor/bundle key: v1-bundle-<< parameters.ruby_version >>-{{ .Branch }}-{{ checksum "tiny_tds.gemspec" }} - - setup_remote_docker: - version: 20.10.2 - - run: name: cross build gem command: | From 7f85bc24f1cd147b30fce020786839344b3484d5 Mon Sep 17 00:00:00 2001 From: aharpervc Date: Mon, 15 Mar 2021 10:43:20 -0400 Subject: [PATCH 07/22] wip: cross build job --- .circleci/config.yml | 47 +++++++++++++++++++++++++++++++++++++++----- 1 file changed, 42 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 52fb1437..dbbbd265 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -54,6 +54,44 @@ jobs: command: | TINYTDS_UNIT_HOST=localhost bundle exec rake test + cross_build: + docker: + - image: veracross/circleci-ruby-freetds:latest + + working_directory: ~/repo + + steps: + - checkout + + - restore_cache: + name: restore gem cache + keys: + - v1-bundle-<< parameters.ruby_version >>-{{ .Branch }}-{{ checksum "tiny_tds.gemspec" }} + - v1-bundle-<< parameters.ruby_version >>-{{ .Branch }}- + - v1-bundle-<< parameters.ruby_version >>- + + - run: + name: install dependencies + command: | + bundle check --path ./vendor/bundle || bundle install --jobs=3 --retry=3 --path vendor/bundle + bundle clean + + - save_cache: + name: save gem cache + paths: + - ./vendor/bundle + key: v1-bundle-<< parameters.ruby_version >>-{{ .Branch }}-{{ checksum "tiny_tds.gemspec" }} + + - run: + name: cross build gem + command: | + bundle exec rake gem:windows + + - persist_to_workspace: + root: . + paths: + - . + test_windows: parameters: ruby_version: @@ -90,11 +128,6 @@ jobs: - ./vendor/bundle key: v1-bundle-<< parameters.ruby_version >>-{{ .Branch }}-{{ checksum "tiny_tds.gemspec" }} - - run: - name: cross build gem - command: | - bundle exec rake gem:windows - - run: # imported from setup.sh, although we should do better... name: wait for database @@ -116,7 +149,11 @@ workflows: # - '2.5.3' # - '2.7' + - cross_build + - test_windows: + requires: + - cross_build matrix: parameters: ruby_version: From 2d7f371ed14f8d8b089a32ebf83fb601a7c5d0fb Mon Sep 17 00:00:00 2001 From: aharpervc Date: Mon, 15 Mar 2021 10:45:04 -0400 Subject: [PATCH 08/22] wip: add ruby version parameter --- .circleci/config.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index dbbbd265..9d03e8e9 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -55,6 +55,11 @@ jobs: TINYTDS_UNIT_HOST=localhost bundle exec rake test cross_build: + parameters: + ruby_version: + description: "version tag for the veracross/circleci-ruby-freetds container" + type: string + docker: - image: veracross/circleci-ruby-freetds:latest @@ -149,7 +154,12 @@ workflows: # - '2.5.3' # - '2.7' - - cross_build + - cross_build: + matrix: + parameters: + ruby_version: + - '2.5.3' + - '2.7' - test_windows: requires: From f72e9666632b232bcc317f7eeb4dbac3bfd90b18 Mon Sep 17 00:00:00 2001 From: aharpervc Date: Mon, 15 Mar 2021 10:46:39 -0400 Subject: [PATCH 09/22] wip: remote docker for cross build --- .circleci/config.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 9d03e8e9..d7683475 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -87,6 +87,9 @@ jobs: - ./vendor/bundle key: v1-bundle-<< parameters.ruby_version >>-{{ .Branch }}-{{ checksum "tiny_tds.gemspec" }} + - setup_remote_docker: + version: 20.10.2 + - run: name: cross build gem command: | From 77c2ece64a0f3147e9442399134f7302c4403c16 Mon Sep 17 00:00:00 2001 From: aharpervc Date: Mon, 15 Mar 2021 10:54:34 -0400 Subject: [PATCH 10/22] wip: only one version of ruby for now, for speed --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d7683475..8b480409 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -161,7 +161,7 @@ workflows: matrix: parameters: ruby_version: - - '2.5.3' + # - '2.5.3' - '2.7' - test_windows: @@ -170,5 +170,5 @@ workflows: matrix: parameters: ruby_version: - - '2.5.3' + # - '2.5.3' - '2.7' From 64276293a23d56c98668e15b226145ecea5ec703 Mon Sep 17 00:00:00 2001 From: aharpervc Date: Mon, 15 Mar 2021 11:08:46 -0400 Subject: [PATCH 11/22] wip: cross build ports instead --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8b480409..209b0310 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -91,9 +91,9 @@ jobs: version: 20.10.2 - run: - name: cross build gem + name: cross build ports command: | - bundle exec rake gem:windows + bundle exec rake ports:cross - persist_to_workspace: root: . From 6cd60c1268c962fbe9c27b8fce077c237ce0a7fa Mon Sep 17 00:00:00 2001 From: aharpervc Date: Mon, 15 Mar 2021 11:19:48 -0400 Subject: [PATCH 12/22] wip: remove cross build --- .circleci/config.yml | 54 -------------------------------------------- 1 file changed, 54 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 209b0310..86a1a97b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -54,52 +54,6 @@ jobs: command: | TINYTDS_UNIT_HOST=localhost bundle exec rake test - cross_build: - parameters: - ruby_version: - description: "version tag for the veracross/circleci-ruby-freetds container" - type: string - - docker: - - image: veracross/circleci-ruby-freetds:latest - - working_directory: ~/repo - - steps: - - checkout - - - restore_cache: - name: restore gem cache - keys: - - v1-bundle-<< parameters.ruby_version >>-{{ .Branch }}-{{ checksum "tiny_tds.gemspec" }} - - v1-bundle-<< parameters.ruby_version >>-{{ .Branch }}- - - v1-bundle-<< parameters.ruby_version >>- - - - run: - name: install dependencies - command: | - bundle check --path ./vendor/bundle || bundle install --jobs=3 --retry=3 --path vendor/bundle - bundle clean - - - save_cache: - name: save gem cache - paths: - - ./vendor/bundle - key: v1-bundle-<< parameters.ruby_version >>-{{ .Branch }}-{{ checksum "tiny_tds.gemspec" }} - - - setup_remote_docker: - version: 20.10.2 - - - run: - name: cross build ports - command: | - bundle exec rake ports:cross - - - persist_to_workspace: - root: . - paths: - - . - test_windows: parameters: ruby_version: @@ -157,16 +111,8 @@ workflows: # - '2.5.3' # - '2.7' - - cross_build: - matrix: - parameters: - ruby_version: - # - '2.5.3' - - '2.7' - test_windows: - requires: - - cross_build matrix: parameters: ruby_version: From 0cf4b9d6078c15e4e496810158f5e9057030cbbe Mon Sep 17 00:00:00 2001 From: aharpervc Date: Mon, 15 Mar 2021 11:20:02 -0400 Subject: [PATCH 13/22] wip: build natively on windows --- .circleci/config.yml | 53 ++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 51 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 86a1a97b..673da0fe 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -65,9 +65,48 @@ jobs: shell: powershell.exe steps: - - run: systeminfo + - run: + name: diagnostics + command: | + systeminfo + pwd + perl --version + ruby --version + gem --version + + - run: + # https://www.msys2.org/news/#2020-06-29-new-packagers + name: prepare msys2- update keyring + command: | + C:\msys64\usr\bin\curl -O http://repo.msys2.org/msys/x86_64/msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz + C:\msys64\usr\bin\curl -O http://repo.msys2.org/msys/x86_64/msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz.sig + ridk exec bash -c "pacman-key --verify msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz.sig" + ridk exec bash -c "pacman -U --noconfirm --config <(echo) msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz" + + - run: + # https://github.com/msys2/MSYS2-packages/issues/2300 + name: prepare msys2- update zstd and pacman first + command: | + C:\msys64\usr\bin\pacman --noconfirm --upgrade https://repo.msys2.org/msys/x86_64/zstd-1.4.7-1-x86_64.pkg.tar.xz # Must come First, or else pacman will install 1.4.8 + C:\msys64\usr\bin\pacman --noconfirm --upgrade https://repo.msys2.org/msys/x86_64/pacman-5.2.2-5-x86_64.pkg.tar.xz + + - run: + name: prepare msys2- update packages + command: | + C:\msys64\usr\bin\pacman --noconfirm --ask 20 --sync --refresh --refresh --sysupgrade --sysupgrade + + - run: + # Kill all running msys2 binaries to avoid error "size of shared memory region changed". + # See https://github.com/msys2/MSYS2-packages/issues/258 + name: prepare msys2- stop processes + command: | + powershell -Command "Get-Process | Where-Object {$_.path -like 'C:\msys64*'} | Stop-Process" - - run: pwd + - run: + # prevent freetds to link to wrong ws2_32 lib on i686-w64-mingw32 + name: prepare msys2- avoid linking to wrong package + command: | + c:/msys64/usr/bin/rm /usr/lib/w32api/libws2_32.a - checkout @@ -90,6 +129,16 @@ jobs: - ./vendor/bundle key: v1-bundle-<< parameters.ruby_version >>-{{ .Branch }}-{{ checksum "tiny_tds.gemspec" }} + - run: + name: install ports + command: | + bundle exec rake ports + + - run: + name: build gem + command: | + bundle exec rake build + - run: # imported from setup.sh, although we should do better... name: wait for database From ec1f452f920e1682507b6d48a67ac7e370e91891 Mon Sep 17 00:00:00 2001 From: aharpervc Date: Mon, 15 Mar 2021 11:25:38 -0400 Subject: [PATCH 14/22] wip: ridk install --- .circleci/config.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 673da0fe..d04e4ae4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -74,6 +74,11 @@ jobs: ruby --version gem --version + - run: + name: ridk install + command: | + ridk install 3 + - run: # https://www.msys2.org/news/#2020-06-29-new-packagers name: prepare msys2- update keyring From 6ef2e3fe0db43e1b74fb4be7311c976293c1f08a Mon Sep 17 00:00:00 2001 From: aharpervc Date: Mon, 15 Mar 2021 11:31:18 -0400 Subject: [PATCH 15/22] wip: install mingw separately (silently) --- .circleci/config.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d04e4ae4..79dcbbd5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -74,10 +74,15 @@ jobs: ruby --version gem --version + - run: + name: install mingw + command: | + choco install mingw + - run: name: ridk install command: | - ridk install 3 + ridk install 2 3 - run: # https://www.msys2.org/news/#2020-06-29-new-packagers From 105d56e445454823f3631d737dbacd3498c41160 Mon Sep 17 00:00:00 2001 From: aharpervc Date: Mon, 15 Mar 2021 11:35:45 -0400 Subject: [PATCH 16/22] fixup: I meant msys2 --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 79dcbbd5..6771984a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -75,9 +75,9 @@ jobs: gem --version - run: - name: install mingw + name: install msys2 command: | - choco install mingw + choco install msys2 - run: name: ridk install From 086e47c67d90a5b1a3a95e34a01da8034663d675 Mon Sep 17 00:00:00 2001 From: aharpervc Date: Mon, 15 Mar 2021 12:01:31 -0400 Subject: [PATCH 17/22] wip: what happens if we skip all these steps --- .circleci/config.yml | 34 ---------------------------------- 1 file changed, 34 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6771984a..65929f41 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -84,40 +84,6 @@ jobs: command: | ridk install 2 3 - - run: - # https://www.msys2.org/news/#2020-06-29-new-packagers - name: prepare msys2- update keyring - command: | - C:\msys64\usr\bin\curl -O http://repo.msys2.org/msys/x86_64/msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz - C:\msys64\usr\bin\curl -O http://repo.msys2.org/msys/x86_64/msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz.sig - ridk exec bash -c "pacman-key --verify msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz.sig" - ridk exec bash -c "pacman -U --noconfirm --config <(echo) msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz" - - - run: - # https://github.com/msys2/MSYS2-packages/issues/2300 - name: prepare msys2- update zstd and pacman first - command: | - C:\msys64\usr\bin\pacman --noconfirm --upgrade https://repo.msys2.org/msys/x86_64/zstd-1.4.7-1-x86_64.pkg.tar.xz # Must come First, or else pacman will install 1.4.8 - C:\msys64\usr\bin\pacman --noconfirm --upgrade https://repo.msys2.org/msys/x86_64/pacman-5.2.2-5-x86_64.pkg.tar.xz - - - run: - name: prepare msys2- update packages - command: | - C:\msys64\usr\bin\pacman --noconfirm --ask 20 --sync --refresh --refresh --sysupgrade --sysupgrade - - - run: - # Kill all running msys2 binaries to avoid error "size of shared memory region changed". - # See https://github.com/msys2/MSYS2-packages/issues/258 - name: prepare msys2- stop processes - command: | - powershell -Command "Get-Process | Where-Object {$_.path -like 'C:\msys64*'} | Stop-Process" - - - run: - # prevent freetds to link to wrong ws2_32 lib on i686-w64-mingw32 - name: prepare msys2- avoid linking to wrong package - command: | - c:/msys64/usr/bin/rm /usr/lib/w32api/libws2_32.a - - checkout - restore_cache: From 50e0ccf1990854cfc89f5bdc5aa415cffab2cf69 Mon Sep 17 00:00:00 2001 From: aharpervc Date: Tue, 16 Mar 2021 11:39:23 -0400 Subject: [PATCH 18/22] wip: try and figure out this perl module stuff --- .circleci/config.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 65929f41..d7259232 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -74,6 +74,16 @@ jobs: ruby --version gem --version + - run: + name: diagnostics- perl modules + command: | + cpan -l + + - run: + name: install Pod::Usage + command: | + cpanm Pod::Usage + - run: name: install msys2 command: | From 626692fad69b6f85438b8d43e8f72ee67166f2a7 Mon Sep 17 00:00:00 2001 From: aharpervc Date: Tue, 16 Mar 2021 12:18:28 -0400 Subject: [PATCH 19/22] wip: where's perl? --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index d7259232..39d69714 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -70,6 +70,7 @@ jobs: command: | systeminfo pwd + where perl perl --version ruby --version gem --version From 9c46f93ca40af9215e58d023ee904c98e7a8fca4 Mon Sep 17 00:00:00 2001 From: aharpervc Date: Tue, 16 Mar 2021 12:21:06 -0400 Subject: [PATCH 20/22] wip: order of operations --- .circleci/config.yml | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 39d69714..0309c5a2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -65,35 +65,35 @@ jobs: shell: powershell.exe steps: - - run: - name: diagnostics - command: | - systeminfo - pwd - where perl - perl --version - ruby --version - gem --version + # - run: + # name: diagnostics + # command: | + # systeminfo + # pwd + # where perl + # perl --version + # ruby --version + # gem --version - run: - name: diagnostics- perl modules + name: install msys2 command: | - cpan -l + choco install msys2 - run: - name: install Pod::Usage + name: ridk install command: | - cpanm Pod::Usage + ridk install 2 3 - run: - name: install msys2 + name: diagnostics- perl modules command: | - choco install msys2 + cpan -l - run: - name: ridk install + name: install Pod::Usage command: | - ridk install 2 3 + cpanm Pod::Usage - checkout From df5d796a0ee9128733e35a4a8a6637d45ed71475 Mon Sep 17 00:00:00 2001 From: aharpervc Date: Tue, 16 Mar 2021 12:25:42 -0400 Subject: [PATCH 21/22] wip: forgot to enable --- .circleci/config.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0309c5a2..b942576a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -85,15 +85,15 @@ jobs: command: | ridk install 2 3 - - run: - name: diagnostics- perl modules - command: | - cpan -l + # - run: + # name: diagnostics- perl modules + # command: | + # cpan -l - - run: - name: install Pod::Usage - command: | - cpanm Pod::Usage + # - run: + # name: install Pod::Usage + # command: | + # cpanm Pod::Usage - checkout @@ -119,6 +119,7 @@ jobs: - run: name: install ports command: | + ridk enable bundle exec rake ports - run: From c3c92eb818329618f2962007d177eb608570d3ed Mon Sep 17 00:00:00 2001 From: aharpervc Date: Tue, 16 Mar 2021 13:00:59 -0400 Subject: [PATCH 22/22] wip: extend timeout --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index b942576a..696f4882 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -118,6 +118,7 @@ jobs: - run: name: install ports + no_output_timeout: 60m command: | ridk enable bundle exec rake ports