1212 CTEST_OUTPUT_ON_FAILURE : ON
1313 CTEST_PARALLEL_LEVEL : 2
1414
15+ defaults :
16+ run :
17+ shell : bash -el {0}
18+
1519jobs :
1620 Build :
1721 name : ${{ matrix.name }} (${{ matrix.config }})
1822 runs-on : ${{ matrix.os }}
1923 strategy :
2024 fail-fast : false
2125 matrix :
22- os : [ubuntu-18 .04, macos-latest , windows-2019]
26+ os : [ubuntu-22 .04, macOS-13 , windows-2019]
2327 config : [Debug, Release]
2428 include :
25- - os : ubuntu-18 .04
29+ - os : ubuntu-22 .04
2630 name : Linux
2731 - os : windows-2019
2832 name : Windows
29- - os : macos-latest
33+ - os : macos-13
3034 name : macOS
3135 steps :
3236 - name : Checkout repository
33- uses : actions/checkout@v1
37+ uses : actions/checkout@v4
3438 with :
3539 fetch-depth : 10
3640 submodules : " recursive"
@@ -39,14 +43,16 @@ jobs:
3943 if : runner.os == 'Windows'
4044 uses : ilammy/msvc-dev-cmd@v1
4145
42- - name : Stetup Conda
43- uses : s-weigand /setup-conda@v1
46+ - name : Setup Conda
47+ uses : conda-incubator /setup-miniconda@v3
4448 with :
45- conda-channels : anaconda, conda-forge
46- python-version : 3.6
49+ channels : conda-forge
50+ python-version : 3.7
51+ channel-priority : true
52+ activate-environment : test-env
4753
4854 - name : Install Dependencies
49- run : conda install numpy svgwrite -y
55+ run : conda install numpy svgwrite cmake git -y
5056
5157 - name : Install Dependencies (Windows)
5258 if : runner.os == 'Windows'
5662 if : runner.os == 'Windows'
5763 run : echo "CMAKE_GENERATOR=NMake Makefiles" >> $GITHUB_ENV
5864
65+ - name : Configure git
66+ run : git config --global http.version HTTP/1.1
67+
5968 - name : Build (Debug)
6069 if : matrix.config == 'Debug'
61- run : python setup.py build --debug install
70+ run : |
71+ python setup.py build --debug install
6272
6373 - name : Build (Release)
6474 if : matrix.config == 'Release'
0 commit comments