From bb4e95439a00ee19e79b4eb486d9b755f83f27aa Mon Sep 17 00:00:00 2001 From: Cesar Galan Date: Tue, 28 Jun 2022 11:37:06 -0600 Subject: [PATCH 01/27] Add new job on release, update exe in std140-CSE repo. --- .github/workflows/release.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ce21937d9..157944b7e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -46,3 +46,27 @@ jobs: user_name: 'cse-ci' user_email: 'ci@cse.org' full_commit_message: "Update docs for ${{ github.event.release.tag_name }}." + + std140-exe: + name: Add new exe to std140 + needs: release-cse + runs-on: windows-2022 + defaults: + run: + shell: bash + steps: + - name: Clone std140-cse repo + - uses: action/checkout@v3 + with: + repository: cse-sim/std140-cse + path: test/repo/ + ref: + - name: Update and push latest CSE std140-cse repo + - uses: action/checkout@v3 + - run: | + cp "./msvc/CSE.exe" "./test/repo/std140-cse/CSE.exe" + git config user.name github-actions + git config user.email github-actions@github.com + git add CSE.exe + git commit -m "Update CSE.exe" + git push From 6a7e5c4dc1fc280b7c7e909541417acc69bae7a0 Mon Sep 17 00:00:00 2001 From: Cesar Galan Date: Tue, 28 Jun 2022 12:04:29 -0600 Subject: [PATCH 02/27] Test checkout std140 repo. --- .github/workflows/release.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 157944b7e..cc73397b5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -59,14 +59,14 @@ jobs: - uses: action/checkout@v3 with: repository: cse-sim/std140-cse - path: test/repo/ - ref: - - name: Update and push latest CSE std140-cse repo - - uses: action/checkout@v3 - - run: | - cp "./msvc/CSE.exe" "./test/repo/std140-cse/CSE.exe" - git config user.name github-actions - git config user.email github-actions@github.com - git add CSE.exe - git commit -m "Update CSE.exe" - git push + path: test/repo/std140-cse + ref: master + #- name: Update and push latest CSE std140-cse repo + #- uses: action/checkout@v3 + #- run: | + # cp "./msvc/CSE.exe" "./test/repo/std140-cse/CSE.exe" + # git config user.name github-actions + # git config user.email github-actions@github.com + # git add CSE.exe + # git commit -m "Update CSE.exe" + # git push From 4cecd22b3bfde75c7c86bd7d6ef4db60ecd178be Mon Sep 17 00:00:00 2001 From: Cesar Galan Date: Tue, 28 Jun 2022 12:07:18 -0600 Subject: [PATCH 03/27] Test checkout std140 repo V2. --- .github/workflows/release.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cc73397b5..66a62eea6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -51,9 +51,6 @@ jobs: name: Add new exe to std140 needs: release-cse runs-on: windows-2022 - defaults: - run: - shell: bash steps: - name: Clone std140-cse repo - uses: action/checkout@v3 From 771732c1e9eac547c879cb2761ee009fee48310f Mon Sep 17 00:00:00 2001 From: Cesar Galan Date: Tue, 28 Jun 2022 14:44:50 -0600 Subject: [PATCH 04/27] Add new workflow. --- .github/workflows/release.yml | 21 ------------- .github/workflows/std140-cse.yml | 51 ++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+), 21 deletions(-) create mode 100644 .github/workflows/std140-cse.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 66a62eea6..ce21937d9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -46,24 +46,3 @@ jobs: user_name: 'cse-ci' user_email: 'ci@cse.org' full_commit_message: "Update docs for ${{ github.event.release.tag_name }}." - - std140-exe: - name: Add new exe to std140 - needs: release-cse - runs-on: windows-2022 - steps: - - name: Clone std140-cse repo - - uses: action/checkout@v3 - with: - repository: cse-sim/std140-cse - path: test/repo/std140-cse - ref: master - #- name: Update and push latest CSE std140-cse repo - #- uses: action/checkout@v3 - #- run: | - # cp "./msvc/CSE.exe" "./test/repo/std140-cse/CSE.exe" - # git config user.name github-actions - # git config user.email github-actions@github.com - # git add CSE.exe - # git commit -m "Update CSE.exe" - # git push diff --git a/.github/workflows/std140-cse.yml b/.github/workflows/std140-cse.yml new file mode 100644 index 000000000..0b86b7e71 --- /dev/null +++ b/.github/workflows/std140-cse.yml @@ -0,0 +1,51 @@ +name: std140-cse + +on: + release: + types: + - created + +jobs: + build-cse: + name: Build CSE executable + runs-on: windows-2022 + defaults: + run: + shell: bash + steps: + - name: Checkout + uses: actions/checkout@v1 + - name: Get branch name + uses: tj-actions/branch-names@v5 + id: branch-name + - name: Save branch name + run: echo "CI_GIT_BRANCH=${{steps.branch-name.outputs.current_branch}}" >> $GITHUB_ENV + - name: Build + shell: cmd + run: build.bat + - name: Upload executable artifiact + uses: actions/upload-artifact@v2.2.4 + with: + name: CSE.exe + path: msvc/CSE.exe + + std140-exe: + name: Add new exe to std140 + needs: release-cse + runs-on: windows-2022 + steps: + - name: Clone std140-cse repo + - uses: action/checkout@v3 + with: + repository: cse-sim/std140-cse + path: test/repo/std140-cse + ref: add-test-workflow + #- name: Update and push latest CSE std140-cse repo + #- uses: action/checkout@v3 + #- run: | + # cp "./msvc/CSE.exe" "./test/repo/std140-cse/CSE.exe" + # git config user.name github-actions + # git config user.email github-actions@github.com + # git add CSE.exe + # git commit -m "Update CSE.exe" + # git push From 71752b9dcaaa876b84869293f5bdb8b2b5bdb3d3 Mon Sep 17 00:00:00 2001 From: Cesar Galan Date: Wed, 29 Jun 2022 08:08:19 -0600 Subject: [PATCH 05/27] Check std140 builds. --- .github/workflows/std140-cse.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/std140-cse.yml b/.github/workflows/std140-cse.yml index 0b86b7e71..85e74291b 100644 --- a/.github/workflows/std140-cse.yml +++ b/.github/workflows/std140-cse.yml @@ -29,17 +29,17 @@ jobs: name: CSE.exe path: msvc/CSE.exe - std140-exe: - name: Add new exe to std140 - needs: release-cse - runs-on: windows-2022 - steps: - - name: Clone std140-cse repo - - uses: action/checkout@v3 - with: - repository: cse-sim/std140-cse - path: test/repo/std140-cse - ref: add-test-workflow +# std140-exe: +# name: Add new exe to std140 +# needs: release-cse +# runs-on: windows-2022 +# steps: +# - name: Clone std140-cse repo +# - uses: action/checkout@v3 +# with: +# repository: cse-sim/std140-cse +# path: test/repo/std140-cse +# ref: add-test-workflow #- name: Update and push latest CSE std140-cse repo #- uses: action/checkout@v3 #- run: | From eb2e12b036bedff459a0ced2b3fa84d99e8b85b6 Mon Sep 17 00:00:00 2001 From: Cesar Galan Date: Wed, 29 Jun 2022 08:13:56 -0600 Subject: [PATCH 06/27] Checkout branch. --- .github/workflows/std140-cse.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/std140-cse.yml b/.github/workflows/std140-cse.yml index 85e74291b..541f7652c 100644 --- a/.github/workflows/std140-cse.yml +++ b/.github/workflows/std140-cse.yml @@ -1,4 +1,4 @@ -name: std140-cse +name: Update std140 CSE on: release: @@ -29,17 +29,17 @@ jobs: name: CSE.exe path: msvc/CSE.exe -# std140-exe: -# name: Add new exe to std140 -# needs: release-cse -# runs-on: windows-2022 -# steps: -# - name: Clone std140-cse repo -# - uses: action/checkout@v3 -# with: -# repository: cse-sim/std140-cse -# path: test/repo/std140-cse -# ref: add-test-workflow + std140-exe: + name: Add new exe to std140 + needs: build-cse + runs-on: windows-2022 + steps: + - name: Clone std140-cse repo + - uses: action/checkout@v3 + with: + repository: cse-sim/std140-cse + path: test/repo/std140-cse + ref: add-test-workflow #- name: Update and push latest CSE std140-cse repo #- uses: action/checkout@v3 #- run: | From f552d60e2a0a76f1ea7b9623826a16967ae7839b Mon Sep 17 00:00:00 2001 From: Cesar Galan Date: Wed, 29 Jun 2022 08:15:00 -0600 Subject: [PATCH 07/27] Checkout branch for std140. --- .github/workflows/std140-cse.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/std140-cse.yml b/.github/workflows/std140-cse.yml index 541f7652c..2519b2e8f 100644 --- a/.github/workflows/std140-cse.yml +++ b/.github/workflows/std140-cse.yml @@ -33,13 +33,13 @@ jobs: name: Add new exe to std140 needs: build-cse runs-on: windows-2022 - steps: - - name: Clone std140-cse repo - - uses: action/checkout@v3 - with: - repository: cse-sim/std140-cse - path: test/repo/std140-cse - ref: add-test-workflow +# steps: +# - name: Clone std140-cse repo +# - uses: action/checkout@v3 +# with: +# repository: cse-sim/std140-cse +# path: test/repo/std140-cse +# ref: add-test-workflow #- name: Update and push latest CSE std140-cse repo #- uses: action/checkout@v3 #- run: | From 0077e635321ee3fa8187b6e131603b069b2158bc Mon Sep 17 00:00:00 2001 From: Cesar Galan Date: Wed, 29 Jun 2022 08:16:06 -0600 Subject: [PATCH 08/27] Checkout branch for std140 V2. --- .github/workflows/std140-cse.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/std140-cse.yml b/.github/workflows/std140-cse.yml index 2519b2e8f..5108f018a 100644 --- a/.github/workflows/std140-cse.yml +++ b/.github/workflows/std140-cse.yml @@ -33,9 +33,9 @@ jobs: name: Add new exe to std140 needs: build-cse runs-on: windows-2022 -# steps: -# - name: Clone std140-cse repo -# - uses: action/checkout@v3 + steps: + - name: Clone std140-cse repo + - uses: action/checkout@v3 # with: # repository: cse-sim/std140-cse # path: test/repo/std140-cse From efbff6616f4b57c546a0e77f314b02c4b3f6fe55 Mon Sep 17 00:00:00 2001 From: Cesar Galan Date: Wed, 29 Jun 2022 08:17:26 -0600 Subject: [PATCH 09/27] Checkout branch for std140 V3. --- .github/workflows/std140-cse.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/std140-cse.yml b/.github/workflows/std140-cse.yml index 5108f018a..363956176 100644 --- a/.github/workflows/std140-cse.yml +++ b/.github/workflows/std140-cse.yml @@ -35,11 +35,11 @@ jobs: runs-on: windows-2022 steps: - name: Clone std140-cse repo - - uses: action/checkout@v3 -# with: -# repository: cse-sim/std140-cse -# path: test/repo/std140-cse -# ref: add-test-workflow + - uses: action/checkout@v1 + with: + repository: cse-sim/std140-cse + path: test/repo/std140-cse + ref: add-test-workflow #- name: Update and push latest CSE std140-cse repo #- uses: action/checkout@v3 #- run: | From 649099ebfcb2574617b94ca37c80148076da43ba Mon Sep 17 00:00:00 2001 From: Cesar Galan Date: Wed, 29 Jun 2022 08:20:26 -0600 Subject: [PATCH 10/27] Checkout branch for std140 V4. --- .github/workflows/std140-cse.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/std140-cse.yml b/.github/workflows/std140-cse.yml index 363956176..f2f6d71d1 100644 --- a/.github/workflows/std140-cse.yml +++ b/.github/workflows/std140-cse.yml @@ -33,13 +33,13 @@ jobs: name: Add new exe to std140 needs: build-cse runs-on: windows-2022 - steps: - - name: Clone std140-cse repo - - uses: action/checkout@v1 - with: - repository: cse-sim/std140-cse - path: test/repo/std140-cse - ref: add-test-workflow + steps: + - name: Clone std140-cse repo + - uses: action/checkout@v1 + with: + repository: cse-sim/std140-cse + path: test/repo/std140-cse + ref: add-test-workflow #- name: Update and push latest CSE std140-cse repo #- uses: action/checkout@v3 #- run: | From a3b2f47554bd941780fd0fe833199d62bdd66e6c Mon Sep 17 00:00:00 2001 From: Cesar Galan Date: Wed, 29 Jun 2022 08:21:26 -0600 Subject: [PATCH 11/27] Checkout branch for std140 V4. --- .github/workflows/std140-cse.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/std140-cse.yml b/.github/workflows/std140-cse.yml index f2f6d71d1..39fea10f1 100644 --- a/.github/workflows/std140-cse.yml +++ b/.github/workflows/std140-cse.yml @@ -40,6 +40,7 @@ jobs: repository: cse-sim/std140-cse path: test/repo/std140-cse ref: add-test-workflow + #- name: Update and push latest CSE std140-cse repo #- uses: action/checkout@v3 #- run: | From 1b0f4d9888a02b6f2b8d2bd1e4d8239916472c37 Mon Sep 17 00:00:00 2001 From: Cesar Galan Date: Wed, 29 Jun 2022 08:26:05 -0600 Subject: [PATCH 12/27] Checkout branch for std140 V5. --- .github/workflows/std140-cse.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/std140-cse.yml b/.github/workflows/std140-cse.yml index 39fea10f1..a6c20d95e 100644 --- a/.github/workflows/std140-cse.yml +++ b/.github/workflows/std140-cse.yml @@ -33,14 +33,14 @@ jobs: name: Add new exe to std140 needs: build-cse runs-on: windows-2022 - steps: - - name: Clone std140-cse repo - - uses: action/checkout@v1 + steps: + - name: Clone std140-cse repo + - uses: action/checkout@v1 with: repository: cse-sim/std140-cse path: test/repo/std140-cse ref: add-test-workflow - + #- name: Update and push latest CSE std140-cse repo #- uses: action/checkout@v3 #- run: | From 92912003f117559277e9b6ae21acbd8364dcbbbd Mon Sep 17 00:00:00 2001 From: Cesar Galan Date: Wed, 29 Jun 2022 08:34:22 -0600 Subject: [PATCH 13/27] Checkout branch for std140 V6. --- .github/workflows/std140-cse.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/std140-cse.yml b/.github/workflows/std140-cse.yml index a6c20d95e..b31d5a227 100644 --- a/.github/workflows/std140-cse.yml +++ b/.github/workflows/std140-cse.yml @@ -35,11 +35,11 @@ jobs: runs-on: windows-2022 steps: - name: Clone std140-cse repo - - uses: action/checkout@v1 - with: - repository: cse-sim/std140-cse - path: test/repo/std140-cse - ref: add-test-workflow + uses: action/checkout@v1 + with: + repository: cse-sim/std140-cse + path: test/repo/std140-cse + ` ref: add-test-workflow #- name: Update and push latest CSE std140-cse repo #- uses: action/checkout@v3 From c90c830d4d953439c85c9d29569f4bc9266010af Mon Sep 17 00:00:00 2001 From: Cesar Galan Date: Wed, 29 Jun 2022 08:35:55 -0600 Subject: [PATCH 14/27] Checkout branch for std140 V7. --- .github/workflows/std140-cse.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/std140-cse.yml b/.github/workflows/std140-cse.yml index b31d5a227..693fea6b6 100644 --- a/.github/workflows/std140-cse.yml +++ b/.github/workflows/std140-cse.yml @@ -34,8 +34,8 @@ jobs: needs: build-cse runs-on: windows-2022 steps: - - name: Clone std140-cse repo - uses: action/checkout@v1 + - name: Clone std140-cse repo + uses: action/checkout@v1 with: repository: cse-sim/std140-cse path: test/repo/std140-cse From 93ab48a9e2fced13e98aeb80d2566ec203c45ced Mon Sep 17 00:00:00 2001 From: Cesar Galan Date: Wed, 29 Jun 2022 08:51:57 -0600 Subject: [PATCH 15/27] Checkout branch for std140 V8. --- .github/workflows/std140-cse.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/std140-cse.yml b/.github/workflows/std140-cse.yml index 693fea6b6..68803525d 100644 --- a/.github/workflows/std140-cse.yml +++ b/.github/workflows/std140-cse.yml @@ -39,7 +39,7 @@ jobs: with: repository: cse-sim/std140-cse path: test/repo/std140-cse - ` ref: add-test-workflow + ref: add-test-workflow #- name: Update and push latest CSE std140-cse repo #- uses: action/checkout@v3 From 9f21015b155f46a2b80ae1848a62a3e9ac6d58b7 Mon Sep 17 00:00:00 2001 From: Cesar Galan Date: Wed, 29 Jun 2022 10:28:00 -0600 Subject: [PATCH 16/27] Add test only when this branch is pushed. --- .github/workflows/std140-cse.yml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/.github/workflows/std140-cse.yml b/.github/workflows/std140-cse.yml index 68803525d..987e06186 100644 --- a/.github/workflows/std140-cse.yml +++ b/.github/workflows/std140-cse.yml @@ -1,9 +1,16 @@ name: Update std140 CSE +# Final +#on: +# release: +# types: +# - created + +# For test on: - release: - types: - - created + push: + branches: + - '140-ci-test' jobs: build-cse: @@ -41,8 +48,8 @@ jobs: path: test/repo/std140-cse ref: add-test-workflow - #- name: Update and push latest CSE std140-cse repo - #- uses: action/checkout@v3 + - name: Update and push latest CSE std140-cse repo + uses: action/checkout@v3 #- run: | # cp "./msvc/CSE.exe" "./test/repo/std140-cse/CSE.exe" # git config user.name github-actions From 2200f7493a497023a35ae7e21268f5e6c47c70e6 Mon Sep 17 00:00:00 2001 From: Cesar Galan Date: Wed, 29 Jun 2022 10:29:55 -0600 Subject: [PATCH 17/27] Add test only when this branch is pushed V2. --- .github/workflows/std140-cse.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/std140-cse.yml b/.github/workflows/std140-cse.yml index 987e06186..c9a4681a9 100644 --- a/.github/workflows/std140-cse.yml +++ b/.github/workflows/std140-cse.yml @@ -10,7 +10,7 @@ name: Update std140 CSE on: push: branches: - - '140-ci-test' + - '140-ci-test' jobs: build-cse: From 911a8631a829354ebd6918e2612c24e68c617170 Mon Sep 17 00:00:00 2001 From: Cesar Galan Date: Wed, 29 Jun 2022 10:51:13 -0600 Subject: [PATCH 18/27] Add test only when this branch is pushed V3. --- .github/workflows/std140-cse.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/std140-cse.yml b/.github/workflows/std140-cse.yml index c9a4681a9..831a9f8e2 100644 --- a/.github/workflows/std140-cse.yml +++ b/.github/workflows/std140-cse.yml @@ -21,7 +21,7 @@ jobs: shell: bash steps: - name: Checkout - uses: actions/checkout@v1 + uses: actions/checkout@v3 - name: Get branch name uses: tj-actions/branch-names@v5 id: branch-name @@ -30,11 +30,11 @@ jobs: - name: Build shell: cmd run: build.bat - - name: Upload executable artifiact - uses: actions/upload-artifact@v2.2.4 - with: - name: CSE.exe - path: msvc/CSE.exe +# - name: Upload executable artifiact +# uses: actions/upload-artifact@v2.2.4 +# with: +# name: CSE.exe +# path: msvc/CSE.exe std140-exe: name: Add new exe to std140 @@ -42,7 +42,7 @@ jobs: runs-on: windows-2022 steps: - name: Clone std140-cse repo - uses: action/checkout@v1 + uses: action/checkout@v3 with: repository: cse-sim/std140-cse path: test/repo/std140-cse From 592aef529beac531fd0c1fcacdeac634d2740e90 Mon Sep 17 00:00:00 2001 From: Cesar Galan Date: Wed, 29 Jun 2022 11:08:04 -0600 Subject: [PATCH 19/27] Add test only when this branch is pushed V4. --- .github/workflows/std140-cse.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/std140-cse.yml b/.github/workflows/std140-cse.yml index 831a9f8e2..08b7ccb4d 100644 --- a/.github/workflows/std140-cse.yml +++ b/.github/workflows/std140-cse.yml @@ -30,11 +30,11 @@ jobs: - name: Build shell: cmd run: build.bat -# - name: Upload executable artifiact -# uses: actions/upload-artifact@v2.2.4 -# with: -# name: CSE.exe -# path: msvc/CSE.exe + - name: Upload executable artifiact + uses: actions/upload-artifact@v2.2.4 + with: + name: CSE.exe + path: msvc/CSE.exe std140-exe: name: Add new exe to std140 From ebbd46769f9f2d452c555ab21d00012a2188ae7b Mon Sep 17 00:00:00 2001 From: Cesar Galan Date: Wed, 29 Jun 2022 11:30:34 -0600 Subject: [PATCH 20/27] Add test only when this branch is pushed V5. --- .github/workflows/std140-cse.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/std140-cse.yml b/.github/workflows/std140-cse.yml index 08b7ccb4d..ed90fe428 100644 --- a/.github/workflows/std140-cse.yml +++ b/.github/workflows/std140-cse.yml @@ -48,10 +48,11 @@ jobs: path: test/repo/std140-cse ref: add-test-workflow + # Download artifact and attached to - name: Update and push latest CSE std140-cse repo uses: action/checkout@v3 - #- run: | - # cp "./msvc/CSE.exe" "./test/repo/std140-cse/CSE.exe" + - run: | + cp "./msvc/CSE.exe" "./test/repo/std140-cse/CSE.exe" # git config user.name github-actions # git config user.email github-actions@github.com # git add CSE.exe From 1475a77a7804cc5bc13b0d9dcdbecd69c08757f0 Mon Sep 17 00:00:00 2001 From: Cesar Galan Date: Wed, 29 Jun 2022 11:35:10 -0600 Subject: [PATCH 21/27] Add test only when this branch is pushed V6. --- .github/workflows/std140-cse.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/std140-cse.yml b/.github/workflows/std140-cse.yml index ed90fe428..0cf77a6d3 100644 --- a/.github/workflows/std140-cse.yml +++ b/.github/workflows/std140-cse.yml @@ -21,7 +21,7 @@ jobs: shell: bash steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v1 - name: Get branch name uses: tj-actions/branch-names@v5 id: branch-name From 4a938f4e75ce7a2c0ac06fb36baa2e108eb22ba3 Mon Sep 17 00:00:00 2001 From: Cesar Galan Date: Wed, 29 Jun 2022 11:36:13 -0600 Subject: [PATCH 22/27] Add test only when this branch is pushed V7. --- .github/workflows/std140-cse.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/std140-cse.yml b/.github/workflows/std140-cse.yml index 0cf77a6d3..791a127bb 100644 --- a/.github/workflows/std140-cse.yml +++ b/.github/workflows/std140-cse.yml @@ -49,10 +49,10 @@ jobs: ref: add-test-workflow # Download artifact and attached to - - name: Update and push latest CSE std140-cse repo - uses: action/checkout@v3 - - run: | - cp "./msvc/CSE.exe" "./test/repo/std140-cse/CSE.exe" +# - name: Update and push latest CSE std140-cse repo +# uses: action/checkout@v3 +# - run: | +# cp "./msvc/CSE.exe" "./test/repo/std140-cse/CSE.exe" # git config user.name github-actions # git config user.email github-actions@github.com # git add CSE.exe From 359077ba8d865a72d1d4ac58c7b9230dd140cc41 Mon Sep 17 00:00:00 2001 From: Cesar Galan Date: Wed, 29 Jun 2022 11:45:10 -0600 Subject: [PATCH 23/27] Add test only when this branch is pushed V8. --- .github/workflows/std140-cse.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/std140-cse.yml b/.github/workflows/std140-cse.yml index 791a127bb..11d29e479 100644 --- a/.github/workflows/std140-cse.yml +++ b/.github/workflows/std140-cse.yml @@ -42,7 +42,7 @@ jobs: runs-on: windows-2022 steps: - name: Clone std140-cse repo - uses: action/checkout@v3 + uses: action/checkout@v1 with: repository: cse-sim/std140-cse path: test/repo/std140-cse From 7db1fdf3255bae64d0df2b195a692db896dedbd3 Mon Sep 17 00:00:00 2001 From: Cesar Galan Date: Wed, 29 Jun 2022 11:56:16 -0600 Subject: [PATCH 24/27] Add test only when this branch is pushed V9. --- .github/workflows/std140-cse.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/std140-cse.yml b/.github/workflows/std140-cse.yml index 11d29e479..2395e631f 100644 --- a/.github/workflows/std140-cse.yml +++ b/.github/workflows/std140-cse.yml @@ -41,8 +41,10 @@ jobs: needs: build-cse runs-on: windows-2022 steps: + - name: Checkout + uses: action/checkout@v2.4.2 - name: Clone std140-cse repo - uses: action/checkout@v1 + uses: actions/checkout@v2.4.2 with: repository: cse-sim/std140-cse path: test/repo/std140-cse From f6d365217f3c55d943ec7a68c35a1b7c9da22107 Mon Sep 17 00:00:00 2001 From: Cesar Galan Date: Wed, 29 Jun 2022 12:10:47 -0600 Subject: [PATCH 25/27] Add test only when this branch is pushed V10. --- .github/workflows/std140-cse.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/std140-cse.yml b/.github/workflows/std140-cse.yml index 2395e631f..416047e3e 100644 --- a/.github/workflows/std140-cse.yml +++ b/.github/workflows/std140-cse.yml @@ -42,7 +42,7 @@ jobs: runs-on: windows-2022 steps: - name: Checkout - uses: action/checkout@v2.4.2 + uses: actions/checkout@v2.4.2 - name: Clone std140-cse repo uses: actions/checkout@v2.4.2 with: From f5e89a5ded58a1dcffe9cee36e4d85114c6943f0 Mon Sep 17 00:00:00 2001 From: Cesar Galan Date: Fri, 1 Jul 2022 07:51:39 -0600 Subject: [PATCH 26/27] Move the CSE to the std140 repo. --- .github/workflows/std140-cse.yml | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/.github/workflows/std140-cse.yml b/.github/workflows/std140-cse.yml index 416047e3e..acf11b69c 100644 --- a/.github/workflows/std140-cse.yml +++ b/.github/workflows/std140-cse.yml @@ -49,14 +49,11 @@ jobs: repository: cse-sim/std140-cse path: test/repo/std140-cse ref: add-test-workflow - - # Download artifact and attached to -# - name: Update and push latest CSE std140-cse repo -# uses: action/checkout@v3 -# - run: | -# cp "./msvc/CSE.exe" "./test/repo/std140-cse/CSE.exe" - # git config user.name github-actions - # git config user.email github-actions@github.com - # git add CSE.exe - # git commit -m "Update CSE.exe" - # git push + - name: Update CSE in std140-cse + run: | + cp "./msvc/CSE.exe" "./test/repo/std140-cse/CSE.exe" + git config user.name github-actions + git config user.email github-actions@github.com + git add ./test/repo/std140-cse/CSE.exe + git commit -m "Update CSE.exe" + git push From 1abe65f557af17a566094e88d817e04607d7c73a Mon Sep 17 00:00:00 2001 From: galanca Date: Fri, 27 Jan 2023 10:02:54 -0700 Subject: [PATCH 27/27] Update std140-cse workflow to use actions. --- .github/workflows/std140-cse.yml | 33 +++++++++++++++----------------- 1 file changed, 15 insertions(+), 18 deletions(-) diff --git a/.github/workflows/std140-cse.yml b/.github/workflows/std140-cse.yml index acf11b69c..d962f6834 100644 --- a/.github/workflows/std140-cse.yml +++ b/.github/workflows/std140-cse.yml @@ -21,17 +21,14 @@ jobs: shell: bash steps: - name: Checkout - uses: actions/checkout@v1 - - name: Get branch name - uses: tj-actions/branch-names@v5 - id: branch-name - - name: Save branch name - run: echo "CI_GIT_BRANCH=${{steps.branch-name.outputs.current_branch}}" >> $GITHUB_ENV - - name: Build - shell: cmd - run: build.bat + uses: actions/checkout@v3.3.0 + with: + fetch-depth: 0 + submodules: recursive + - name: Build CSE + uses: ./.github/actions/build-cse - name: Upload executable artifiact - uses: actions/upload-artifact@v2.2.4 + uses: actions/upload-artifact@v3 with: name: CSE.exe path: msvc/CSE.exe @@ -42,18 +39,18 @@ jobs: runs-on: windows-2022 steps: - name: Checkout - uses: actions/checkout@v2.4.2 + uses: actions/checkout@v3.3.0 - name: Clone std140-cse repo - uses: actions/checkout@v2.4.2 + uses: actions/checkout@v3.3.0 with: repository: cse-sim/std140-cse path: test/repo/std140-cse ref: add-test-workflow - name: Update CSE in std140-cse run: | - cp "./msvc/CSE.exe" "./test/repo/std140-cse/CSE.exe" - git config user.name github-actions - git config user.email github-actions@github.com - git add ./test/repo/std140-cse/CSE.exe - git commit -m "Update CSE.exe" - git push + cp "./msvc/CSE.exe" "./test/repo/std140-cse/CSE.exe" + # git config user.name github-actions + # git config user.email github-actions@github.com + # git add ./test/repo/std140-cse/CSE.exe + # git commit -m "Update CSE.exe" + # git push