From 1586245d8bd5c76e14942bba735d0428860dcef8 Mon Sep 17 00:00:00 2001 From: thatcosmonaut <2342303+thatcosmonaut@users.noreply.github.com> Date: Tue, 25 Jun 2019 18:36:36 -0700 Subject: [PATCH 1/7] Update TODO --- TODO | 2 ++ 1 file changed, 2 insertions(+) diff --git a/TODO b/TODO index 8afe268..ff167bf 100644 --- a/TODO +++ b/TODO @@ -6,4 +6,6 @@ - maybe AddEngine should take a constructed engine similarly to AddComponent? +- component getters should return ValueTuple instead of KeyValuePair so we can do destructuring assignments + - docs From 205c5fcfc541f8526b1dc0545bfacb43281edbba Mon Sep 17 00:00:00 2001 From: Evan Hemsley <2342303+ehemsley@users.noreply.github.com> Date: Wed, 26 Jun 2019 22:21:04 -0700 Subject: [PATCH 2/7] circleCI --- .circleci/config.yml | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..b415d24 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,43 @@ +version: 2.1 + +defaults: &defaults + working_directory: ~/repo + docker: + - image: mcr.microsoft.com/dotnet/core/sdk:2.2 + environment: + DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 + DOTNET_CLI_TELEMETRY_OPTOUT: 1 + +jobs: + test: + <<: *defaults + steps: + - checkout + - run: dotnet restore + - run: dotnet build -c Release + - run: dotnet test -c Release + + deploy: + <<: *defaults + steps: + - checkout + - attach_workspace: + at: . + - run: + name: deploy to NuGet + command: | + dotnet nuget push ./encompass-cs/bin/Release/EncompassECS.Framework.*.nupkg -k $API_KEY -s $NUGET_SOURCE + +workflows: + version: 2 + test_and_deploy: + jobs: + - test + - deploy: + requires: + - test + filters: + branches: + ignore: /.*/ + tags: + only: /^[0-9]\.[0-9]\.[0-9]$/ From fbc0dffc4eaf5e5d1dc213b0e5635f29e0592a6b Mon Sep 17 00:00:00 2001 From: Evan Hemsley <2342303+ehemsley@users.noreply.github.com> Date: Wed, 26 Jun 2019 22:29:41 -0700 Subject: [PATCH 3/7] more CI --- .circleci/config.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b415d24..d07daea 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -16,6 +16,8 @@ jobs: - run: dotnet restore - run: dotnet build -c Release - run: dotnet test -c Release + - persist_to_workspace: + root: . deploy: <<: *defaults @@ -23,16 +25,13 @@ jobs: - checkout - attach_workspace: at: . - - run: - name: deploy to NuGet - command: | - dotnet nuget push ./encompass-cs/bin/Release/EncompassECS.Framework.*.nupkg -k $API_KEY -s $NUGET_SOURCE + - run: dotnet nuget push ./encompass-cs/bin/Release/EncompassECS.Framework.*.nupkg -k $API_KEY -s $NUGET_SOURCE workflows: version: 2 test_and_deploy: jobs: - - test + test - deploy: requires: - test From 4556587c74fab73244ddab120a14996f9c037717 Mon Sep 17 00:00:00 2001 From: Evan Hemsley <2342303+ehemsley@users.noreply.github.com> Date: Wed, 26 Jun 2019 22:31:12 -0700 Subject: [PATCH 4/7] even more CI its fun!! --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d07daea..2e93680 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -31,7 +31,7 @@ workflows: version: 2 test_and_deploy: jobs: - test + - test - deploy: requires: - test From cd8654187ecb6024140b71cb73ca757ee78be236 Mon Sep 17 00:00:00 2001 From: Evan Hemsley <2342303+ehemsley@users.noreply.github.com> Date: Wed, 26 Jun 2019 22:42:29 -0700 Subject: [PATCH 5/7] hmmm --- .circleci/config.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2e93680..08ba272 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -33,10 +33,10 @@ workflows: jobs: - test - deploy: - requires: - - test - filters: - branches: - ignore: /.*/ - tags: - only: /^[0-9]\.[0-9]\.[0-9]$/ + requires: + - test + filters: + branches: + ignore: /.*/ + tags: + only: /^[0-9]\.[0-9]\.[0-9]$/ From 68e01239d6ead0a44608e3d1891698ff928446cf Mon Sep 17 00:00:00 2001 From: Evan Hemsley <2342303+ehemsley@users.noreply.github.com> Date: Wed, 26 Jun 2019 22:43:44 -0700 Subject: [PATCH 6/7] one more time!!! --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 08ba272..cdcd508 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -17,14 +17,14 @@ jobs: - run: dotnet build -c Release - run: dotnet test -c Release - persist_to_workspace: - root: . + root: . deploy: <<: *defaults steps: - checkout - attach_workspace: - at: . + at: . - run: dotnet nuget push ./encompass-cs/bin/Release/EncompassECS.Framework.*.nupkg -k $API_KEY -s $NUGET_SOURCE workflows: From 5546b846d5cc3fe0efc124574622ac5a558eee6a Mon Sep 17 00:00:00 2001 From: Evan Hemsley <2342303+ehemsley@users.noreply.github.com> Date: Wed, 26 Jun 2019 22:45:36 -0700 Subject: [PATCH 7/7] maybe this is the one!!! --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index cdcd508..3bf160f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -18,6 +18,7 @@ jobs: - run: dotnet test -c Release - persist_to_workspace: root: . + paths: ./encompass-cs/bin deploy: <<: *defaults