File tree Expand file tree Collapse file tree 2 files changed +14
-4
lines changed Expand file tree Collapse file tree 2 files changed +14
-4
lines changed Original file line number Diff line number Diff line change 1- build --cxxopt=-std=c++17 --host_cxxopt=-std=c++17
1+ build:linux --cxxopt=-std=c++17 --host_cxxopt=-std=c++17
2+ build:macos --cxxopt=-std=c++17 --host_cxxopt=-std=c++17
23
34build:dbg --compilation_mode=dbg
45
@@ -26,5 +27,14 @@ build:ubsan --copt=-fno-sanitize=function --copt=-fno-sanitize=vptr
2627# Important: this flag ensures that we remain compliant with the C++ layering
2728# check.
2829build --features=layering_check
30+ common --enable_platform_specific_config
31+ 
32+ build:windows --cxxopt=/std:c++17
33+ build:windows --host_cxxopt=/std:c++17
2934
3035common --repo_env=BAZEL_NO_APPLE_CPP_TOOLCHAIN=1
36+ 
37+ 
38+ # Allow building with MSVC, which is being deprecated.
39+ # See: https://github.com/protocolbuffers/protobuf/issues/20085
40+ build --define=protobuf_allow_msvc=true
Original file line number Diff line number Diff line change @@ -68,10 +68,10 @@ jobs:
6868#           - ppc64
6969        include :
7070#  to ensure backwards compatibility as long as possible, use earliest versions of OSs available on Github Actions
71-           - os : windows-2019  
71+           - os : windows-2022  
7272            cpu : x64_windows 
7373            bazel_target : dist_zip 
74-           - os : windows-2019  
74+           - os : windows-2022  
7575            cpu : x64_x86_windows 
7676            bazel_target : dist_zip 
7777#  disabling Mac OS releases for now since they are working through existing build process
8888        with :
8989          name : js 
9090
91-       - uses : bazel-contrib/setup-bazel@0.8.5  
91+       - uses : bazel-contrib/setup-bazel@0.15.0  
9292        with :
9393          token : ${{ secrets.GITHUB_TOKEN }} 
9494
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments