summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2023-05-22 21:05:36 +0200
committerGitHub <noreply@github.com>2023-05-22 21:05:36 +0200
commit107beaac172ac1ae1d3f9656e1f97d57eff424ef (patch)
tree0a5bf33607fe2a98986b4bd7ad540870f55a36c9
parentb0b302889cc786907efb080c4e1beea30d2fa39f (diff)
Fix issues in Windows release script (#477)
-rw-r--r--.github/workflows/release.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 98c8c536..99c75e96 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -79,16 +79,16 @@ jobs:
- name: Run CMake
run: |
- mkdir ${{env.RELEASE_NAME}}
- cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DTESTS=OFF -DCLIENTS=OFF -DSAMPLES=ON -DCMAKE_INSTALL_PREFIX=${{env.RELEASE_NAME}} -DOPENCL_ROOT=C:/vcpkg/packages/opencl_x64-windows
+ mkdir clblast_release_dir
+ cmake -S . -B build -DTESTS=OFF -DCLIENTS=OFF -DSAMPLES=ON -DCMAKE_INSTALL_PREFIX=clblast_release_dir -DOPENCL_ROOT=C:/vcpkg/packages/opencl_x64-windows
- name: Compile the code
- run: cmake --build build
+ run: cmake --build build --config Release
- name: Package the code
run: |
cmake --build build --target install
- 7z a -r ${{env.RELEASE_NAME}}.7z ${{env.RELEASE_NAME}}
+ 7z a -r ${{env.RELEASE_NAME}}.7z clblast_release_dir
- name: Upload the release
uses: actions/upload-artifact@v3