diff --git a/.github/workflows/builder.yml b/.github/workflows/builder.yml index 3e72e71..ff12322 100644 --- a/.github/workflows/builder.yml +++ b/.github/workflows/builder.yml @@ -69,6 +69,9 @@ jobs: - name: 7zip run: | mkdir linux-bin + cp scripts/run-benchmark-cn.sh linux-bin/run-benchmark-cn.sh + cp scripts/run-test-cn.sh linux-bin/run-test-cn.sh + cp -r images linux-bin/images mv Linux-bin-cpu/install/bin linux-bin/Linux-bin-cpu mv Linux-bin-gpu/install/bin linux-bin/Linux-bin-gpu 7z a linux-bin.7z linux-bin @@ -159,6 +162,9 @@ jobs: - name: 7zip run: | mkdir macos-bin + cp scripts/run-benchmark-cn.sh macos-bin/run-benchmark-cn.sh + cp scripts/run-test-cn.sh macos-bin/run-test-cn.sh + cp -r images macos-bin/images mv Darwin-bin-cpu/install/bin macos-bin/Darwin-bin-cpu mv Darwin-bin-gpu/install/bin macos-bin/Darwin-bin-gpu 7z a macos-bin.7z macos-bin @@ -241,14 +247,17 @@ jobs: - name: 7zip run: | mkdir windows-bin + cp scripts/run-benchmark-cn.bat windows-bin/run-benchmark-cn.bat + cp scripts/run-test-cn.bat windows-bin/run-test-cn.bat + cp -r images windows-bin/images mv win-bin-x64-cpu/install/bin windows-bin/win-bin-x64-cpu mv win-bin-x86-cpu/install/bin windows-bin/win-bin-x86-cpu - mv win-jni-x64-cpu/install/bin windows-bin/win-jni-x64-cpu - mv win-jni-x86-cpu/install/bin windows-bin/win-jni-x86-cpu + mv win-bin-x64-gpu/install/bin windows-bin/win-bin-x64-gpu + mv win-bin-x86-gpu/install/bin windows-bin/win-bin-x86-gpu 7z a windows-bin.7z windows-bin mkdir windows-jni - mv win-bin-x64-gpu/install/bin windows-jni/win-bin-x64-gpu - mv win-bin-x86-gpu/install/bin windows-jni/win-bin-x86-gpu + mv win-jni-x64-cpu/install/bin windows-jni/win-jni-x64-cpu + mv win-jni-x86-cpu/install/bin windows-jni/win-jni-x86-cpu mv win-jni-x64-gpu/install/bin windows-jni/win-jni-x64-gpu mv win-jni-x86-gpu/install/bin windows-jni/win-jni-x86-gpu 7z a windows-jni.7z windows-jni diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 4aad3ad..82555b4 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -66,6 +66,9 @@ jobs: - name: 7zip run: | mkdir linux-bin + cp scripts/run-benchmark-cn.sh linux-bin/run-benchmark-cn.sh + cp scripts/run-test-cn.sh linux-bin/run-test-cn.sh + cp -r images linux-bin/images mv Linux-bin-cpu/install/bin linux-bin/Linux-bin-cpu mv Linux-bin-gpu/install/bin linux-bin/Linux-bin-gpu 7z a linux-bin.7z linux-bin diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 8d1e7dd..6119327 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -73,6 +73,9 @@ jobs: - name: 7zip run: | mkdir macos-bin + cp scripts/run-benchmark-cn.sh macos-bin/run-benchmark-cn.sh + cp scripts/run-test-cn.sh macos-bin/run-test-cn.sh + cp -r images macos-bin/images mv Darwin-bin-cpu/install/bin macos-bin/Darwin-bin-cpu mv Darwin-bin-gpu/install/bin macos-bin/Darwin-bin-gpu 7z a macos-bin.7z macos-bin diff --git a/.github/workflows/windows-vs2017.yml b/.github/workflows/windows-vs2017.yml index 9f2b6bc..512bfe6 100644 --- a/.github/workflows/windows-vs2017.yml +++ b/.github/workflows/windows-vs2017.yml @@ -65,14 +65,17 @@ jobs: - name: 7zip run: | mkdir windows-bin + cp scripts/run-benchmark-cn.bat windows-bin/run-benchmark-cn.bat + cp scripts/run-test-cn.bat windows-bin/run-test-cn.bat + cp -r images windows-bin/images mv win-bin-x64-cpu/install/bin windows-bin/win-bin-x64-cpu mv win-bin-x86-cpu/install/bin windows-bin/win-bin-x86-cpu - mv win-jni-x64-cpu/install/bin windows-bin/win-jni-x64-cpu - mv win-jni-x86-cpu/install/bin windows-bin/win-jni-x86-cpu + mv win-bin-x64-gpu/install/bin windows-bin/win-bin-x64-gpu + mv win-bin-x86-gpu/install/bin windows-bin/win-bin-x86-gpu 7z a windows-bin.7z windows-bin mkdir windows-jni - mv win-bin-x64-gpu/install/bin windows-jni/win-bin-x64-gpu - mv win-bin-x86-gpu/install/bin windows-jni/win-bin-x86-gpu + mv win-jni-x64-cpu/install/bin windows-jni/win-jni-x64-cpu + mv win-jni-x86-cpu/install/bin windows-jni/win-jni-x86-cpu mv win-jni-x64-gpu/install/bin windows-jni/win-jni-x64-gpu mv win-jni-x86-gpu/install/bin windows-jni/win-jni-x86-gpu 7z a windows-jni.7z windows-jni diff --git a/scripts/install-vulkan-linux.sh b/scripts/install-vulkan-linux.sh new file mode 100755 index 0000000..38247df --- /dev/null +++ b/scripts/install-vulkan-linux.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash +VULKAN_SDK="$(dirname "$(readlink -f "${BASH_SOURCE:-$_}" )" )/x86_64" +sudo cp -r $VULKAN_SDK/include/vulkan/ /usr/local/include/ +sudo cp -P $VULKAN_SDK/lib/libvulkan.so* /usr/local/lib/ +sudo cp $VULKAN_SDK/lib/libVkLayer_*.so /usr/local/lib/ +sudo mkdir -p /usr/local/share/vulkan/explicit_layer.d +sudo cp $VULKAN_SDK/etc/vulkan/explicit_layer.d/VkLayer_*.json /usr/local/share/vulkan/explicit_layer.d \ No newline at end of file