From edb1b6337db7a6e489614d73a475314f86b105f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yanis=20Zafir=C3=B3pulos?= <1265028+drkameleon@users.noreply.github.com> Date: Sat, 21 Sep 2024 11:51:43 +0200 Subject: [PATCH 01/20] try pushing windows artifacts --- .github/workflows/ci.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5e15130c8c..b35891f050 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -66,4 +66,11 @@ jobs: run: | cd arturo arturo tools/unitt-tester.art - cd .. \ No newline at end of file + cd .. + + - if: matrix.mode == full && matrix.os == 'windows-latest' + name: Upload artifact + uses: 'actions/upload-artifact@v1' + with: + name: arturo-${{matrix.os}}-${{matrix.full}}-windows + path: arturo/arturo.exe \ No newline at end of file From 4920500e3bebea7bd1fffb7feefcb3069c7bc28f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yanis=20Zafir=C3=B3pulos?= <1265028+drkameleon@users.noreply.github.com> Date: Sat, 21 Sep 2024 11:54:52 +0200 Subject: [PATCH 02/20] minor fix --- .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 b35891f050..8875220ebd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -68,9 +68,9 @@ jobs: arturo tools/unitt-tester.art cd .. - - if: matrix.mode == full && matrix.os == 'windows-latest' + - if: matrix.mode == 'full' && matrix.os == 'windows-latest' name: Upload artifact uses: 'actions/upload-artifact@v1' with: - name: arturo-${{matrix.os}}-${{matrix.full}}-windows + name: arturo-${{matrix.os}}-${{matrix.mode}}-windows path: arturo/arturo.exe \ No newline at end of file From ee03a928bf854a0f5b0cf157dc23df97e31f1d69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yanis=20Zafir=C3=B3pulos?= <1265028+drkameleon@users.noreply.github.com> Date: Sat, 21 Sep 2024 11:56:05 +0200 Subject: [PATCH 03/20] fix indentation --- .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 8875220ebd..c3c94fb3bd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -71,6 +71,6 @@ jobs: - if: matrix.mode == 'full' && matrix.os == 'windows-latest' name: Upload artifact uses: 'actions/upload-artifact@v1' - with: - name: arturo-${{matrix.os}}-${{matrix.mode}}-windows - path: arturo/arturo.exe \ No newline at end of file + with: + name: arturo-${{matrix.os}}-${{matrix.mode}}-windows + path: arturo/arturo.exe \ No newline at end of file From 543efd8642bfe19821e67c1447265066d353de7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yanis=20Zafir=C3=B3pulos?= <1265028+drkameleon@users.noreply.github.com> Date: Sat, 21 Sep 2024 11:58:40 +0200 Subject: [PATCH 04/20] upgrade `upload-artifact` version --- .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 c3c94fb3bd..36e4601048 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -70,7 +70,7 @@ jobs: - if: matrix.mode == 'full' && matrix.os == 'windows-latest' name: Upload artifact - uses: 'actions/upload-artifact@v1' + uses: 'actions/upload-artifact@v4' with: name: arturo-${{matrix.os}}-${{matrix.mode}}-windows path: arturo/arturo.exe \ No newline at end of file From 6ef509ce50b187bf7881bc1424cba7396142bc4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yanis=20Zafir=C3=B3pulos?= <1265028+drkameleon@users.noreply.github.com> Date: Sat, 21 Sep 2024 12:07:40 +0200 Subject: [PATCH 05/20] another try --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 36e4601048..1446630a0b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,6 +55,7 @@ jobs: - if: (matrix.mode != 'safe' && matrix.mode != 'web') && (matrix.os != 'ubuntu-latest' || matrix.arch != 'arm64') name: Run tests (Old) run: | + ls -la arturo cd arturo cat version/metadata arturo -v @@ -73,4 +74,4 @@ jobs: uses: 'actions/upload-artifact@v4' with: name: arturo-${{matrix.os}}-${{matrix.mode}}-windows - path: arturo/arturo.exe \ No newline at end of file + path: /usr/bin/arturo.exe \ No newline at end of file From 7aa1c5ba1ab747becf6047aff412e798ca292aae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yanis=20Zafir=C3=B3pulos?= <1265028+drkameleon@users.noreply.github.com> Date: Sat, 21 Sep 2024 12:15:04 +0200 Subject: [PATCH 06/20] another try --- .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 1446630a0b..d74cb8a91a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -74,4 +74,4 @@ jobs: uses: 'actions/upload-artifact@v4' with: name: arturo-${{matrix.os}}-${{matrix.mode}}-windows - path: /usr/bin/arturo.exe \ No newline at end of file + path: D:\a\arturo\arturo\arturo\bin\arturo.exe \ No newline at end of file From 72ebd91f5489d2ac1885fe7aa09237dc4c59e1bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yanis=20Zafir=C3=B3pulos?= <1265028+drkameleon@users.noreply.github.com> Date: Thu, 26 Sep 2024 09:45:51 +0200 Subject: [PATCH 07/20] debugging --- .github/workflows/ci.yml | 50 ++++++++++++++++++++++++---------------- 1 file changed, 30 insertions(+), 20 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d74cb8a91a..dd746a0ebd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,26 +52,36 @@ jobs: src: ${{ github.ref }} metadata: ${{ env.BRANCH_NAME }}-${{ github.sha }} - - if: (matrix.mode != 'safe' && matrix.mode != 'web') && (matrix.os != 'ubuntu-latest' || matrix.arch != 'arm64') - name: Run tests (Old) - run: | - ls -la arturo - cd arturo - cat version/metadata - arturo -v - arturo tools/tester.art - cd .. + # - if: (matrix.mode != 'safe' && matrix.mode != 'web') && (matrix.os != 'ubuntu-latest' || matrix.arch != 'arm64') + # name: Run tests (Old) + # run: | + # ls -la arturo + # cd arturo + # cat version/metadata + # arturo -v + # arturo tools/tester.art + # cd .. - - if: matrix.mode == 'full' && (matrix.os != 'ubuntu-latest' || matrix.arch != 'arm64') - name: Run tests (Unitt) + # - if: matrix.mode == 'full' && (matrix.os != 'ubuntu-latest' || matrix.arch != 'arm64') + # name: Run tests (Unitt) + # run: | + # cd arturo + # arturo tools/unitt-tester.art + # cd .. + + - name: Prepare artifact run: | - cd arturo - arturo tools/unitt-tester.art - cd .. + ls -la . + ls -la arturo + ls -la bin + ls -la arturo/bin + # binary_path="arturo" + # echo "action_state=yellow" >> "$GITHUB_ENV" + - - if: matrix.mode == 'full' && matrix.os == 'windows-latest' - name: Upload artifact - uses: 'actions/upload-artifact@v4' - with: - name: arturo-${{matrix.os}}-${{matrix.mode}}-windows - path: D:\a\arturo\arturo\arturo\bin\arturo.exe \ No newline at end of file + # - if: matrix.mode == 'full' && matrix.os == 'windows-latest' + # name: Upload artifact + # uses: 'actions/upload-artifact@v4' + # with: + # name: arturo-${{matrix.os}}-${{matrix.mode}}-windows + # path: D:\a\arturo\arturo\arturo\bin\arturo.exe \ No newline at end of file From 74859501e4f0dd1537a869ebcac481dc64c7f477 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yanis=20Zafir=C3=B3pulos?= <1265028+drkameleon@users.noreply.github.com> Date: Thu, 26 Sep 2024 09:52:17 +0200 Subject: [PATCH 08/20] minor edit --- .github/workflows/ci.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dd746a0ebd..f954f25b06 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -71,9 +71,6 @@ jobs: - name: Prepare artifact run: | - ls -la . - ls -la arturo - ls -la bin ls -la arturo/bin # binary_path="arturo" # echo "action_state=yellow" >> "$GITHUB_ENV" From 448cd4872141d15bbb6bf0e683d4d1e4c8a454aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yanis=20Zafir=C3=B3pulos?= <1265028+drkameleon@users.noreply.github.com> Date: Thu, 26 Sep 2024 10:00:07 +0200 Subject: [PATCH 09/20] let's see if we can universally set the binary path --- .github/workflows/ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f954f25b06..e4382fb231 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -71,7 +71,17 @@ jobs: - name: Prepare artifact run: | + binary_path="bin/arturo" + if ["${{matrix.os}}"="windows-latest"]; then + binary_path="bin/arturo.exe" + fi + if ["${{matrix.mode}}"="web"]; then + binary_path="bin/arturo.js" + fi + ls -la arturo/bin + + echo "BINARY_PATH = $binary_path" # binary_path="arturo" # echo "action_state=yellow" >> "$GITHUB_ENV" From 1ac177a5fa1d6b289964bd5378cf78ff43468026 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yanis=20Zafir=C3=B3pulos?= <1265028+drkameleon@users.noreply.github.com> Date: Thu, 26 Sep 2024 10:04:20 +0200 Subject: [PATCH 10/20] did I seriously mess up the spaces?! --- .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 e4382fb231..5cec0b3e21 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -72,10 +72,10 @@ jobs: - name: Prepare artifact run: | binary_path="bin/arturo" - if ["${{matrix.os}}"="windows-latest"]; then + if [ "${{matrix.os}}" = "windows-latest" ]; then binary_path="bin/arturo.exe" fi - if ["${{matrix.mode}}"="web"]; then + if [ "${{matrix.mode}}" = "web" ]; then binary_path="bin/arturo.js" fi From e22de1d9f75f11dd8834e12df48721c25c3ff850 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yanis=20Zafir=C3=B3pulos?= <1265028+drkameleon@users.noreply.github.com> Date: Thu, 26 Sep 2024 10:18:32 +0200 Subject: [PATCH 11/20] set artifact names properly --- .github/workflows/ci.yml | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5cec0b3e21..c7f9cba894 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -71,17 +71,32 @@ jobs: - name: Prepare artifact run: | - binary_path="bin/arturo" + binary_path="arturo/bin/arturo" + artifact_os="macos" + artifact_arch="${{matrix.arch}}" + artifact_mode="${{matrix.mode}}" + if [ "${{matrix.os}}" = "windows-latest" ]; then - binary_path="bin/arturo.exe" + artifact_os="windows" + binary_path="${binary_path}.exe" fi - if [ "${{matrix.mode}}" = "web" ]; then - binary_path="bin/arturo.js" + if [ "${{matrix.os}} = "ubuntu-latest" ]; then + artifact_os="linux" + if [ "${{matrix.mode}}" = "web" ]; then + artifact_os="js" + artifact_arch="web" + artifact_mode="mini" + binary_path=${binary_path}.js" + fi fi ls -la arturo/bin + echo "${{ github.head_ref || github.ref_name }}" + + artifact_name="arturo-${artifact_arch}-${artifact_os}-${artifact_mode}" echo "BINARY_PATH = $binary_path" + echo "ARTIFACT_NAME = $artifact_name" # binary_path="arturo" # echo "action_state=yellow" >> "$GITHUB_ENV" From 4c186567af9c8204060caaa380bca1dee8adf0a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yanis=20Zafir=C3=B3pulos?= <1265028+drkameleon@users.noreply.github.com> Date: Thu, 26 Sep 2024 10:22:42 +0200 Subject: [PATCH 12/20] fixed missing double-quote --- .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 c7f9cba894..53e34a3889 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -76,17 +76,17 @@ jobs: artifact_arch="${{matrix.arch}}" artifact_mode="${{matrix.mode}}" - if [ "${{matrix.os}}" = "windows-latest" ]; then + if [[ "${{matrix.os}}" = "windows-latest" ]]; then artifact_os="windows" binary_path="${binary_path}.exe" fi - if [ "${{matrix.os}} = "ubuntu-latest" ]; then + if [[ "${{matrix.os}} = "ubuntu-latest" ]]; then artifact_os="linux" - if [ "${{matrix.mode}}" = "web" ]; then + if [[ "${{matrix.mode}}" = "web" ]]; then artifact_os="js" artifact_arch="web" artifact_mode="mini" - binary_path=${binary_path}.js" + binary_path="${binary_path}.js" fi fi From 411983a2f003e372ceddd941c5acc7bb299067e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yanis=20Zafir=C3=B3pulos?= <1265028+drkameleon@users.noreply.github.com> Date: Thu, 26 Sep 2024 10:25:00 +0200 Subject: [PATCH 13/20] how I love shell scripts... --- .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 53e34a3889..efe6b91e9d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -76,13 +76,13 @@ jobs: artifact_arch="${{matrix.arch}}" artifact_mode="${{matrix.mode}}" - if [[ "${{matrix.os}}" = "windows-latest" ]]; then + if [ "${{matrix.os}}" = "windows-latest" ]; then artifact_os="windows" binary_path="${binary_path}.exe" fi - if [[ "${{matrix.os}} = "ubuntu-latest" ]]; then + if [ "${{matrix.os}} = "ubuntu-latest" ]; then artifact_os="linux" - if [[ "${{matrix.mode}}" = "web" ]]; then + if [ "${{matrix.mode}}" = "web" ]; then artifact_os="js" artifact_arch="web" artifact_mode="mini" From 35e0202ce5820c3afaff59fd3e9e92829e0526dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yanis=20Zafir=C3=B3pulos?= <1265028+drkameleon@users.noreply.github.com> Date: Thu, 26 Sep 2024 10:29:22 +0200 Subject: [PATCH 14/20] another missing dquote... --- .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 efe6b91e9d..40a6e469f3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -80,7 +80,7 @@ jobs: artifact_os="windows" binary_path="${binary_path}.exe" fi - if [ "${{matrix.os}} = "ubuntu-latest" ]; then + if [ "${{matrix.os}}" = "ubuntu-latest" ]; then artifact_os="linux" if [ "${{matrix.mode}}" = "web" ]; then artifact_os="js" From 1d05d6110d6ee50e610c27748bc58caa4a2e52de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yanis=20Zafir=C3=B3pulos?= <1265028+drkameleon@users.noreply.github.com> Date: Thu, 26 Sep 2024 10:34:58 +0200 Subject: [PATCH 15/20] let's try to also incorporate a nice hash --- .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 40a6e469f3..c58c6c6155 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -92,9 +92,9 @@ jobs: ls -la arturo/bin - echo "${{ github.head_ref || github.ref_name }}" + git_hash=$(git rev-parse --short "$GITHUB_SHA") - artifact_name="arturo-${artifact_arch}-${artifact_os}-${artifact_mode}" + artifact_name="arturo-${git_hash}-${artifact_arch}-${artifact_os}-${artifact_mode}" echo "BINARY_PATH = $binary_path" echo "ARTIFACT_NAME = $artifact_name" # binary_path="arturo" From f2cc9925a6f86b3afdaad903bad5164556f92b60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yanis=20Zafir=C3=B3pulos?= <1265028+drkameleon@users.noreply.github.com> Date: Thu, 26 Sep 2024 10:37:12 +0200 Subject: [PATCH 16/20] one more try... --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c58c6c6155..0dc0e2a16e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -92,7 +92,9 @@ jobs: ls -la arturo/bin + cd arturo git_hash=$(git rev-parse --short "$GITHUB_SHA") + cd .. artifact_name="arturo-${git_hash}-${artifact_arch}-${artifact_os}-${artifact_mode}" echo "BINARY_PATH = $binary_path" From 3ee41ec73465b8e9c21ee9b9dc84b06c8cf735ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yanis=20Zafir=C3=B3pulos?= <1265028+drkameleon@users.noreply.github.com> Date: Thu, 26 Sep 2024 10:44:10 +0200 Subject: [PATCH 17/20] another tiny experiment --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0dc0e2a16e..4cf226712d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -94,6 +94,9 @@ jobs: cd arturo git_hash=$(git rev-parse --short "$GITHUB_SHA") + echo "GITHUB_SHA = $GITHUB_SHA" + echo "git_hash = $git_hash" + echo "full = ${{ env.BRANCH_NAME }}-${{ github.sha }}" cd .. artifact_name="arturo-${git_hash}-${artifact_arch}-${artifact_os}-${artifact_mode}" From de6b930f9b0c801e8af861abd3d082131f4f8225 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yanis=20Zafir=C3=B3pulos?= <1265028+drkameleon@users.noreply.github.com> Date: Thu, 26 Sep 2024 10:55:14 +0200 Subject: [PATCH 18/20] let's try actually uploading the artifacts --- .github/workflows/ci.yml | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4cf226712d..d781156fd2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -70,6 +70,7 @@ jobs: # cd .. - name: Prepare artifact + id: artifact-details run: | binary_path="arturo/bin/arturo" artifact_os="macos" @@ -94,21 +95,18 @@ jobs: cd arturo git_hash=$(git rev-parse --short "$GITHUB_SHA") - echo "GITHUB_SHA = $GITHUB_SHA" - echo "git_hash = $git_hash" - echo "full = ${{ env.BRANCH_NAME }}-${{ github.sha }}" + git_stamp="${{ env.BRANCH_NAME}}.${git_hash}" cd .. - artifact_name="arturo-${git_hash}-${artifact_arch}-${artifact_os}-${artifact_mode}" + artifact_name="arturo-${git_stamp}-${artifact_arch}-${artifact_os}-${artifact_mode}" echo "BINARY_PATH = $binary_path" echo "ARTIFACT_NAME = $artifact_name" - # binary_path="arturo" - # echo "action_state=yellow" >> "$GITHUB_ENV" - - # - if: matrix.mode == 'full' && matrix.os == 'windows-latest' - # name: Upload artifact - # uses: 'actions/upload-artifact@v4' - # with: - # name: arturo-${{matrix.os}}-${{matrix.mode}}-windows - # path: D:\a\arturo\arturo\arturo\bin\arturo.exe \ No newline at end of file + echo "BINARY_PATH=$binary_path" >> "$GITHUB_OUTPUT" + echo "ARTIFACT_NAME=$artifact_name" >> "$GITHUB_OUTPUT" + + - name: Upload artifact + uses: 'actions/upload-artifact@v4' + with: + name: ${{ steps.artifact-details.outputs.ARTIFACT_NAME }} + path: ${{ steps.artifact-details.outputs.BINARY_PATH }} \ No newline at end of file From 107920da420decab01da174b2f3dea301455a9aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yanis=20Zafir=C3=B3pulos?= <1265028+drkameleon@users.noreply.github.com> Date: Thu, 26 Sep 2024 11:06:49 +0200 Subject: [PATCH 19/20] removed debugging leftovers --- .github/workflows/ci.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d781156fd2..42d322b268 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -73,6 +73,7 @@ jobs: id: artifact-details run: | binary_path="arturo/bin/arturo" + artifact_os="macos" artifact_arch="${{matrix.arch}}" artifact_mode="${{matrix.mode}}" @@ -91,16 +92,12 @@ jobs: fi fi - ls -la arturo/bin - cd arturo git_hash=$(git rev-parse --short "$GITHUB_SHA") git_stamp="${{ env.BRANCH_NAME}}.${git_hash}" cd .. artifact_name="arturo-${git_stamp}-${artifact_arch}-${artifact_os}-${artifact_mode}" - echo "BINARY_PATH = $binary_path" - echo "ARTIFACT_NAME = $artifact_name" echo "BINARY_PATH=$binary_path" >> "$GITHUB_OUTPUT" echo "ARTIFACT_NAME=$artifact_name" >> "$GITHUB_OUTPUT" From a3bda92beadd2e7c8e47e7a51ac8447900533eac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yanis=20Zafir=C3=B3pulos?= <1265028+drkameleon@users.noreply.github.com> Date: Thu, 26 Sep 2024 11:07:26 +0200 Subject: [PATCH 20/20] restored tests --- .github/workflows/ci.yml | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 42d322b268..dea6b8bfd2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,28 +52,28 @@ jobs: src: ${{ github.ref }} metadata: ${{ env.BRANCH_NAME }}-${{ github.sha }} - # - if: (matrix.mode != 'safe' && matrix.mode != 'web') && (matrix.os != 'ubuntu-latest' || matrix.arch != 'arm64') - # name: Run tests (Old) - # run: | - # ls -la arturo - # cd arturo - # cat version/metadata - # arturo -v - # arturo tools/tester.art - # cd .. + - if: (matrix.mode != 'safe' && matrix.mode != 'web') && (matrix.os != 'ubuntu-latest' || matrix.arch != 'arm64') + name: Run tests (Old) + run: | + ls -la arturo + cd arturo + cat version/metadata + arturo -v + arturo tools/tester.art + cd .. - # - if: matrix.mode == 'full' && (matrix.os != 'ubuntu-latest' || matrix.arch != 'arm64') - # name: Run tests (Unitt) - # run: | - # cd arturo - # arturo tools/unitt-tester.art - # cd .. + - if: matrix.mode == 'full' && (matrix.os != 'ubuntu-latest' || matrix.arch != 'arm64') + name: Run tests (Unitt) + run: | + cd arturo + arturo tools/unitt-tester.art + cd .. - name: Prepare artifact id: artifact-details run: | binary_path="arturo/bin/arturo" - + artifact_os="macos" artifact_arch="${{matrix.arch}}" artifact_mode="${{matrix.mode}}"