From 26b23bd8c5a0d78f05465efed33d7cbd0a6af5a5 Mon Sep 17 00:00:00 2001 From: suchitra Date: Wed, 25 Jan 2023 10:52:10 +0000 Subject: [PATCH 01/15] added CI for PR --- .github/workflows/CI.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/CI.yml diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml new file mode 100644 index 00000000..c3a4dcd2 --- /dev/null +++ b/.github/workflows/CI.yml @@ -0,0 +1,20 @@ +name: CI + +on: + push: + pull_request: + branches: + - 'develop' + +jobs: + + CI: + name: "AC Debug + HTML5" + runs-on: windows-2022 + steps: + - name: Check out the repo + uses: actions/checkout@v3 + with: + path: html + - run: npm start -- --platforms html5 --html5Runner ".\html5\scripts" + working-directory: html From deafb9a917b1055595a11d8451244f2647aa92cb Mon Sep 17 00:00:00 2001 From: suchitra Date: Wed, 25 Jan 2023 10:53:34 +0000 Subject: [PATCH 02/15] added CI for PR --- .github/workflows/CI.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index c3a4dcd2..0c660a80 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -9,12 +9,12 @@ on: jobs: CI: - name: "AC Debug + HTML5" + name: "CI" runs-on: windows-2022 steps: - name: Check out the repo uses: actions/checkout@v3 with: path: html - - run: npm start -- --platforms html5 --html5Runner ".\html5\scripts" + - run: npm start -- --platforms html5 --html5Runner ".\html\scripts" working-directory: html From 7b20bf24b713e9ff19182fc44e53d50f696d8a3d Mon Sep 17 00:00:00 2001 From: suchitra Date: Wed, 25 Jan 2023 11:07:32 +0000 Subject: [PATCH 03/15] added CI for PR --- .github/workflows/CI.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 0c660a80..a6d029a9 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -15,6 +15,6 @@ jobs: - name: Check out the repo uses: actions/checkout@v3 with: - path: html - - run: npm start -- --platforms html5 --html5Runner ".\html\scripts" - working-directory: html + path: GameMaker-HTML5 + - run: npm start -- --platforms html5 --html5Runner ".\GameMaker-HTML5\scripts" + working-directory: GameMaker-HTML5 From fbe8785d8f307be8434ec27cbe42c72a7e705cf3 Mon Sep 17 00:00:00 2001 From: suchitra Date: Wed, 25 Jan 2023 11:10:59 +0000 Subject: [PATCH 04/15] added CI for PR --- .github/workflows/CI.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index a6d029a9..3e0674a6 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -16,5 +16,10 @@ jobs: uses: actions/checkout@v3 with: path: GameMaker-HTML5 + - name: Check out the HF repo + uses: actions/checkout@v3 + with: + repository: YoYoGames/YoYoPerformanceAndTestSuite + path: YoYoPerformanceAndTestSuite - run: npm start -- --platforms html5 --html5Runner ".\GameMaker-HTML5\scripts" working-directory: GameMaker-HTML5 From 831b5d6dc946cf498072fa9ab68e4d2e351a175b Mon Sep 17 00:00:00 2001 From: suchitra Date: Thu, 26 Jan 2023 10:46:19 +0000 Subject: [PATCH 05/15] added CI for PR --- .github/workflows/CI.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 3e0674a6..82338f89 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -20,6 +20,7 @@ jobs: uses: actions/checkout@v3 with: repository: YoYoGames/YoYoPerformanceAndTestSuite - path: YoYoPerformanceAndTestSuite + path: YoYoPerformanceAndTestSuite + token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} - run: npm start -- --platforms html5 --html5Runner ".\GameMaker-HTML5\scripts" - working-directory: GameMaker-HTML5 + working-directory: YoYoPerformanceAndTestSuite From 79ee7bec334cf863432a38738d03d445175bafc5 Mon Sep 17 00:00:00 2001 From: suchitra Date: Thu, 26 Jan 2023 10:54:36 +0000 Subject: [PATCH 06/15] added CI for PR --- .github/workflows/CI.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 82338f89..15cde6cb 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -22,5 +22,6 @@ jobs: repository: YoYoGames/YoYoPerformanceAndTestSuite path: YoYoPerformanceAndTestSuite token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} + ref: develop - run: npm start -- --platforms html5 --html5Runner ".\GameMaker-HTML5\scripts" working-directory: YoYoPerformanceAndTestSuite From be7b91d9ab7f3264695f98e9d94158816e627748 Mon Sep 17 00:00:00 2001 From: suchitra Date: Thu, 26 Jan 2023 12:24:50 +0000 Subject: [PATCH 07/15] adding repo dispatch for testsuite repo --- .github/workflows/CI.yml | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 15cde6cb..f075233b 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -12,16 +12,10 @@ jobs: name: "CI" runs-on: windows-2022 steps: - - name: Check out the repo - uses: actions/checkout@v3 - with: - path: GameMaker-HTML5 - - name: Check out the HF repo - uses: actions/checkout@v3 + - name: Repository Dispatch + uses: peter-evans/repository-dispatch@v2 with: + token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} repository: YoYoGames/YoYoPerformanceAndTestSuite - path: YoYoPerformanceAndTestSuite - token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} - ref: develop - - run: npm start -- --platforms html5 --html5Runner ".\GameMaker-HTML5\scripts" - working-directory: YoYoPerformanceAndTestSuite + event-type: html5-pr + client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}' From 661cb06d2bb84da01b609bfa8c344d0ba6bbc9f7 Mon Sep 17 00:00:00 2001 From: suchitra Date: Thu, 26 Jan 2023 12:25:10 +0000 Subject: [PATCH 08/15] adding repo dispatch for testsuite repo --- .github/workflows/CI.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index f075233b..79602029 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -1,7 +1,6 @@ name: CI on: - push: pull_request: branches: - 'develop' From cbb64244806aa5bc80eab1d124dbbcb42eda0be8 Mon Sep 17 00:00:00 2001 From: suchitra Date: Thu, 26 Jan 2023 12:33:46 +0000 Subject: [PATCH 09/15] adding repo dispatch for testsuite repo --- .github/workflows/CI.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 79602029..fce7930e 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -12,9 +12,7 @@ jobs: runs-on: windows-2022 steps: - name: Repository Dispatch - uses: peter-evans/repository-dispatch@v2 - with: - token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} - repository: YoYoGames/YoYoPerformanceAndTestSuite - event-type: html5-pr - client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}' + uses: actions/checkout@v3 + - run: | + curl -H "Accept: application/vnd.github.v3+json" -H "Authorization: token ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}" --request POST --data "{\"event_type\":\"html5-pr\"}" https://api.github.com/repos/YoYoGames/${{ secrets.HF_Repo }}/dispatches + From 23bb4abd6c91aee937e725e45ebef8503de61a89 Mon Sep 17 00:00:00 2001 From: suchitra Date: Thu, 26 Jan 2023 12:37:00 +0000 Subject: [PATCH 10/15] adding repo dispatch for testsuite repo --- .github/workflows/CI.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index fce7930e..93e7e366 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -14,5 +14,5 @@ jobs: - name: Repository Dispatch uses: actions/checkout@v3 - run: | - curl -H "Accept: application/vnd.github.v3+json" -H "Authorization: token ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}" --request POST --data "{\"event_type\":\"html5-pr\"}" https://api.github.com/repos/YoYoGames/${{ secrets.HF_Repo }}/dispatches + curl -H "Accept: application/vnd.github+json" -H "Authorization: token ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}" --request POST --data "{\"event_type\":\"html5-pr\"}" https://api.github.com/repos/YoYoGames/${{ secrets.HF_Repo }}/dispatches From ea250dbfcea9b83643e2c8af1b6209633b0b9930 Mon Sep 17 00:00:00 2001 From: suchitra Date: Thu, 26 Jan 2023 12:39:51 +0000 Subject: [PATCH 11/15] adding repo dispatch for testsuite repo --- .github/workflows/CI.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 93e7e366..98e81815 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -14,5 +14,5 @@ jobs: - name: Repository Dispatch uses: actions/checkout@v3 - run: | - curl -H "Accept: application/vnd.github+json" -H "Authorization: token ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}" --request POST --data "{\"event_type\":\"html5-pr\"}" https://api.github.com/repos/YoYoGames/${{ secrets.HF_Repo }}/dispatches + curl -H "Accept: application/vnd.github+json" -H "Authorization: Bearer ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}" --request POST --data "{\"event_type\":\"html5-pr\"}" https://api.github.com/repos/YoYoGames/${{ secrets.HF_Repo }}/dispatches From 9a45f82d8f298eedde70b95d8f561f87a5db28fc Mon Sep 17 00:00:00 2001 From: suchitra Date: Thu, 26 Jan 2023 12:45:45 +0000 Subject: [PATCH 12/15] adding repo dispatch for testsuite repo --- .github/workflows/CI.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 98e81815..a0ce037f 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -14,5 +14,8 @@ jobs: - name: Repository Dispatch uses: actions/checkout@v3 - run: | - curl -H "Accept: application/vnd.github+json" -H "Authorization: Bearer ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}" --request POST --data "{\"event_type\":\"html5-pr\"}" https://api.github.com/repos/YoYoGames/${{ secrets.HF_Repo }}/dispatches - + curl -H "Accept: application/vnd.github.everest-preview+json" \ + -H "Authorization: token ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}" \ + --request POST \ + --data '{"event_type": "html5-pr"}' \ + https://api.github.com/repos/${{ secrets.Repo }}/${{ secrets.HF_Repo }}/dispatches From ed16d7f74a85c49b516288e9d2876a883f3077de Mon Sep 17 00:00:00 2001 From: suchitra Date: Thu, 26 Jan 2023 12:51:49 +0000 Subject: [PATCH 13/15] adding repo dispatch for testsuite repo --- .github/workflows/CI.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index a0ce037f..cf4636e6 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -15,7 +15,7 @@ jobs: uses: actions/checkout@v3 - run: | curl -H "Accept: application/vnd.github.everest-preview+json" \ - -H "Authorization: token ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}" \ - --request POST \ - --data '{"event_type": "html5-pr"}' \ - https://api.github.com/repos/${{ secrets.Repo }}/${{ secrets.HF_Repo }}/dispatches + -H "Authorization: token ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}" \ + --request POST \ + --data '{"event_type": "html5-pr"}' \ + https://api.github.com/repos/${{ secrets.Repo }}/${{ secrets.HF_Repo }}/dispatches From 3aca04a52c0875c7649b50e8c40b55db54108f84 Mon Sep 17 00:00:00 2001 From: suchitra Date: Thu, 26 Jan 2023 12:53:11 +0000 Subject: [PATCH 14/15] adding repo dispatch for testsuite repo --- .github/workflows/CI.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index cf4636e6..5d9c22fe 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -9,7 +9,7 @@ jobs: CI: name: "CI" - runs-on: windows-2022 + runs-on: ubuntu-22.04 steps: - name: Repository Dispatch uses: actions/checkout@v3 From cdaa2068b2ffc8b4becd244375cebcf484ffe3d5 Mon Sep 17 00:00:00 2001 From: suchitra Date: Thu, 26 Jan 2023 12:56:16 +0000 Subject: [PATCH 15/15] adding repo dispatch for testsuite repo --- .github/workflows/CI.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 5d9c22fe..9eee7022 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -14,8 +14,8 @@ jobs: - name: Repository Dispatch uses: actions/checkout@v3 - run: | - curl -H "Accept: application/vnd.github.everest-preview+json" \ - -H "Authorization: token ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}" \ + curl -H "Accept: application/vnd.github.v3+json" \ + -H "Authorization: Bearer ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}" \ --request POST \ --data '{"event_type": "html5-pr"}' \ https://api.github.com/repos/${{ secrets.Repo }}/${{ secrets.HF_Repo }}/dispatches