mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Update main.yml
This commit is contained in:
parent
255cd43f4e
commit
cd3608149d
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@ -55,14 +55,14 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
mkdir cmakebuild
|
mkdir cmakebuild
|
||||||
cd cmakebuild
|
cd cmakebuild
|
||||||
cmake .. -DRESINSIGHT_ENABLE_GRPC=true -DRESINSIGHT_ENABLE_PRECOMPILED_HEADERS=true -DRESINSIGHT_GRPC_PYTHON_EXECUTABLE=python -DRESINSIGHT_ENABLE_UNITY_BUILD=true -DCMAKE_TOOLCHAIN_FILE=${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake -A x64
|
cmake .. -DRESINSIGHT_ENABLE_GRPC=true -DRESINSIGHT_GRPC_PYTHON_EXECUTABLE=python -DRESINSIGHT_ENABLE_PRECOMPILED_HEADERS=true -DRESINSIGHT_ENABLE_UNITY_BUILD=true -DCMAKE_TOOLCHAIN_FILE=${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake -A x64
|
||||||
cmake --build . --config Release --target PACKAGE
|
cmake --build . --config Release --target PACKAGE
|
||||||
- name: Build ResInsight-x64 Linux
|
- name: Build ResInsight-x64 Linux
|
||||||
if: "contains( matrix.os, 'ubuntu')"
|
if: "contains( matrix.os, 'ubuntu')"
|
||||||
run: |
|
run: |
|
||||||
mkdir cmakebuild
|
mkdir cmakebuild
|
||||||
cd cmakebuild
|
cd cmakebuild
|
||||||
cmake .. -DRESINSIGHT_ENABLE_PRECOMPILED_HEADERS=true -DRESINSIGHT_ENABLE_UNITY_BUILD=true -DCMAKE_TOOLCHAIN_FILE=${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake
|
cmake .. -DRESINSIGHT_ENABLE_GRPC=true -DRESINSIGHT_GRPC_PYTHON_EXECUTABLE=python -DRESINSIGHT_ENABLE_PRECOMPILED_HEADERS=true -DRESINSIGHT_ENABLE_UNITY_BUILD=true -DCMAKE_TOOLCHAIN_FILE=${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake
|
||||||
cmake --build . --config Release
|
cmake --build . --config Release
|
||||||
- name: Test with pytest
|
- name: Test with pytest
|
||||||
if: "contains( matrix.os, '##-undefined-##')" # To be used when RESINSIGHT_GRPC_PYTHON_EXECUTABLE can be 'python' without extention in PATH
|
if: "contains( matrix.os, '##-undefined-##')" # To be used when RESINSIGHT_GRPC_PYTHON_EXECUTABLE can be 'python' without extention in PATH
|
||||||
|
Loading…
Reference in New Issue
Block a user