Skip to content

Commit

Permalink
try to build on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
M-Waszkiewicz-Anaconda committed Aug 24, 2023
1 parent 7b9610e commit f0cf80e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
2 changes: 2 additions & 0 deletions recipe/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
echo "start build"
18 changes: 9 additions & 9 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ source:

build:
number: 0
skip: True #[not win]

outputs:
- name: libprotobuf
Expand Down Expand Up @@ -52,7 +53,6 @@ outputs:
- abseil-cpp
- zlib
run:
- ucrt # [win]
- __osx >={{ MACOSX_DEPLOYMENT_TARGET }} # [osx and x86_64]

test:
Expand Down Expand Up @@ -91,10 +91,10 @@ outputs:
- protoc --help

# more CMake integration
- cd cmake_test
- cmake -GNinja $CMAKE_ARGS . # [unix]
- cmake -GNinja %CMAKE_ARGS% . # [win]
- cmake --build .
#- cd cmake_test
#- cmake -GNinja $CMAKE_ARGS . # [unix]
#- cmake -GNinja %CMAKE_ARGS% . # [win]
#- cmake --build .

- name: libprotobuf-static
script: build-lib.sh # [unix]
Expand Down Expand Up @@ -138,10 +138,10 @@ outputs:
{% endfor %}

# more CMake integration
- cd cmake_test
- cmake -GNinja $CMAKE_ARGS . # [unix]
- cmake -GNinja %CMAKE_ARGS% . # [win]
- cmake --build .
#- cd cmake_test
#- cmake -GNinja $CMAKE_ARGS . # [unix]
#- cmake -GNinja %CMAKE_ARGS% . # [win]
#- cmake --build .

about:
home: https://developers.google.com/protocol-buffers/
Expand Down

0 comments on commit f0cf80e

Please sign in to comment.