Fix issues in Windows release script (#477)

pull/476/head^2
Cedric Nugteren 2023-05-22 21:05:36 +02:00 committed by GitHub
parent b0b302889c
commit 107beaac17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -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