From 948ea07d8d03344437197a6975ba888b70d93992 Mon Sep 17 00:00:00 2001 From: Alec Scott Date: Fri, 5 Jan 2024 19:54:22 -0800 Subject: [PATCH 1/5] Save workspace archive as CI artifact --- .github/workflows/run.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/run.yml b/.github/workflows/run.yml index 4a94e5b4a..fcade9e79 100644 --- a/.github/workflows/run.yml +++ b/.github/workflows/run.yml @@ -61,6 +61,22 @@ jobs: --disable-logger \ workspace analyze + - name: Archive Experiment Workspace + if: always() + run: | + ramble \ + --workspace-dir . \ + --disable-progress-bar \ + --disable-logger \ + workspace archive + + - name: Upload Workspace Archive as CI Artifact + if: always() + uses: actions/upload-artifact + with: + name: workspace-archive + path: 'archive/**' + - name: Upload Binaries to CI Cache if: github.ref == 'refs/heads/develop' run: | From 02ee660cc9d44384d5ec8dca45b1a40c29ab1ee1 Mon Sep 17 00:00:00 2001 From: Alec Scott Date: Fri, 5 Jan 2024 20:00:46 -0800 Subject: [PATCH 2/5] Fix typo in action path and add debug list view --- .github/workflows/run.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/run.yml b/.github/workflows/run.yml index fcade9e79..86fac240e 100644 --- a/.github/workflows/run.yml +++ b/.github/workflows/run.yml @@ -69,10 +69,11 @@ jobs: --disable-progress-bar \ --disable-logger \ workspace archive + ls -hla - name: Upload Workspace Archive as CI Artifact if: always() - uses: actions/upload-artifact + uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 with: name: workspace-archive path: 'archive/**' From 49d6eee15e0044ed74b21b018b20cb0377592fce Mon Sep 17 00:00:00 2001 From: Alec Scott Date: Fri, 5 Jan 2024 20:05:48 -0800 Subject: [PATCH 3/5] Add working directory to steps --- .github/workflows/run.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/run.yml b/.github/workflows/run.yml index 86fac240e..5c4256d4c 100644 --- a/.github/workflows/run.yml +++ b/.github/workflows/run.yml @@ -62,6 +62,7 @@ jobs: workspace analyze - name: Archive Experiment Workspace + working-directory: ./workspace/saxpy/openmp/x86_64/workspace/ if: always() run: | ramble \ @@ -72,6 +73,7 @@ jobs: ls -hla - name: Upload Workspace Archive as CI Artifact + working-directory: ./workspace/saxpy/openmp/x86_64/workspace/ if: always() uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 with: From 820bd1db3937300bf434ca0cbae5c90cdf0bb030 Mon Sep 17 00:00:00 2001 From: Alec Scott Date: Fri, 5 Jan 2024 20:08:45 -0800 Subject: [PATCH 4/5] Modify working directory path for artifact upload --- .github/workflows/run.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/run.yml b/.github/workflows/run.yml index 5c4256d4c..7beb60266 100644 --- a/.github/workflows/run.yml +++ b/.github/workflows/run.yml @@ -73,12 +73,11 @@ jobs: ls -hla - name: Upload Workspace Archive as CI Artifact - working-directory: ./workspace/saxpy/openmp/x86_64/workspace/ if: always() uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 with: name: workspace-archive - path: 'archive/**' + path: './workspace/saxpy/openmp/x86_64/workspace/archive/**' - name: Upload Binaries to CI Cache if: github.ref == 'refs/heads/develop' From f320d89c64500216e846a177f1b6dd040c56b30e Mon Sep 17 00:00:00 2001 From: Alec Scott Date: Fri, 5 Jan 2024 20:13:14 -0800 Subject: [PATCH 5/5] Remove debug list statement --- .github/workflows/run.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/run.yml b/.github/workflows/run.yml index 7beb60266..40d70a791 100644 --- a/.github/workflows/run.yml +++ b/.github/workflows/run.yml @@ -70,7 +70,6 @@ jobs: --disable-progress-bar \ --disable-logger \ workspace archive - ls -hla - name: Upload Workspace Archive as CI Artifact if: always()