@@ -2,11 +2,11 @@ name: PyCppAD CI for Windows - Clang
22on :
33 pull_request :
44 push :
5-
5+
66env :
77 # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
88 BUILD_TYPE : Release
9-
9+
1010jobs :
1111 build :
1212 runs-on : ${{ matrix.os }}
3535 - name : Install cmake and update conda
3636 run : |
3737 conda install cmake -c main
38- - name : Build CppADCodeGen, CppAD, PyCppAD
38+ - name : Build PyCppAD
3939 shell : cmd /C CALL {0}
4040 env :
4141 ACTIONS_ALLOW_UNSECURE_COMMANDS : ' true'
@@ -47,40 +47,12 @@ jobs:
4747 set PATH=%PATH:C:\hostedtoolcache\windows\Boost\1.72.0;=%
4848
4949 call "%programfiles(x86)%\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" amd64
50-
51- : : Create build directory
52- git clone --recursive https://github.com/proyan/CppAD
53- cd CppAD
54- mkdir build
55- pushd build
56- cmake ^
57- -G "Visual Studio 16 2019" -T "ClangCl" -DCMAKE_GENERATOR_PLATFORM=x64 ^
58- -DCMAKE_INSTALL_PREFIX=%CONDA_PREFIX%\Library ^
59- -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} ^
60- ..
61- cmake --build ${{github.workspace}}/CppAD/build --config ${{env.BUILD_TYPE}} --target check install
62- cd ${{github.workspace}}/CppAD/build/
63-
64- cd ${{github.workspace}}
6550
66- git clone --recursive https://github.com/joaoleal/CppADCodeGen
67- cd CppADCodeGen
68- mkdir build
69- pushd build
70- cmake ^
71- -G "Visual Studio 16 2019" -T "ClangCl" -DCMAKE_GENERATOR_PLATFORM=x64 ^
72- -DCMAKE_INSTALL_PREFIX=%CONDA_PREFIX%\Library ^
73- -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} ^
74- -DGOOGLETEST_GIT=ON ^
75- ..
76- cmake --build ${{github.workspace}}/CppADCodeGen/build --config ${{env.BUILD_TYPE}} --target install
7751 cd ${{github.workspace}}
7852
79-
8053 mkdir build
8154 pushd build
8255
83-
8456 :: Configure
8557 cmake ^
8658 -G "Visual Studio 16 2019" -T "ClangCl" -DCMAKE_GENERATOR_PLATFORM=x64 ^
0 commit comments