Update CMake for MSVC. Fix packaging for macos.

This commit is contained in:
Christoffer Lerno
2022-08-29 11:28:41 +02:00
parent 54d6b1a4ec
commit fffb8a1d0c
2 changed files with 19 additions and 16 deletions

View File

@@ -231,7 +231,7 @@ jobs:
if: matrix.llvm_version == env.LLVM_RELEASE_VERSION
run: |
mkdir linux
cp -r lib/ linux
cp -r lib linux
cp msvc_build_libraries.py linux
cp build/c3c linux
tar czf c3-linux-${{matrix.build_type}}.tar.gz linux
@@ -297,7 +297,7 @@ jobs:
if: matrix.llvm_version == env.LLVM_RELEASE_VERSION
run: |
mkdir macos
cp -r lib/ macos
cp -r lib macos
cp msvc_build_libraries.py linux
cp build/c3c macos
zip -r c3-macos-${{matrix.build_type}}.zip macos
@@ -340,8 +340,8 @@ jobs:
})
- uses: actions/download-artifact@v3
- run: cp -r lib/ c3-windows-Release
- run: cp -r lib/ c3-windows-Debug
- run: cp -r lib c3-windows-Release
- run: cp -r lib c3-windows-Debug
- run: cp msvc_build_libraries.py c3-windows-Release
- run: cp msvc_build_libraries.py c3-windows-Debug
- run: cp install_win_reqs.bat c3-windows-Release