File tree 2 files changed +8
-15
lines changed
2 files changed +8
-15
lines changed Original file line number Diff line number Diff line change 18
18
build_and_test :
19
19
name : debug-${{ matrix.arch }}
20
20
runs-on : ${{ matrix.os }}
21
+ if : " !contains(github.event.head_commit.message, 'skip ci')"
21
22
strategy :
22
23
fail-fast : false
23
24
matrix :
@@ -26,46 +27,38 @@ jobs:
26
27
- arch : x64
27
28
os : windows-latest
28
29
triplet : x64-windows
29
- vcpkg_tag : 2020.11-1
30
30
vcpkg_dir : ' C:\\vcpkg'
31
31
- arch : Win32
32
32
os : windows-latest
33
33
triplet : x86-windows
34
- vcpkg_tag : 2020.11-1
35
34
vcpkg_dir : ' C:\\vcpkg'
36
-
37
35
steps :
38
36
- name : Checkout
39
37
uses : actions/checkout@v2
40
38
with :
41
39
submodules : true
42
40
lfs : true
43
-
44
- - name : Configure vcpkg
45
- shell : bash
46
- run : |
47
- cd ${{ matrix.vcpkg_dir }}
48
- git fetch origin --tags
49
- git reset --hard ${{ matrix.vcpkg_tag }}
50
- ./bootstrap-vcpkg.bat
51
41
- name : Cache vcpkg
52
42
uses : actions/cache@v2
53
43
with :
54
44
path : ' ${{ matrix.vcpkg_dir }}/installed'
55
- key : vcpkg-${{ matrix.triplet }}-${{ hashFiles('vcpkg.txt') }}-${{ matrix.vcpkg_tag }}
45
+ key : vcpkg-${{ matrix.triplet }}-${{ hashFiles('vcpkg.txt') }}
56
46
- name : Install vcpkg packages
57
47
shell : bash
58
- run : vcpkg install --triplet ${{ matrix.triplet }} $(cat vcpkg.txt)
48
+ run : |
49
+ set -eux
50
+ vcpkg install --debug --triplet ${{ matrix.triplet }} $(cat vcpkg.txt)
59
51
- name : Configure
60
52
env :
61
53
VCPKG_DIR : ' ${{ matrix.vcpkg_dir }}'
62
54
shell : bash
63
55
run : |
56
+ set -eux
64
57
mkdir build
65
58
cmake -B ./build -G "Visual Studio 16 2019" -A ${{ matrix.arch }} -DCMAKE_TOOLCHAIN_FILE=${{ matrix.vcpkg_dir }}\\scripts\\buildsystems\\vcpkg.cmake -DCMAKE_BUILD_TYPE=Debug .
66
59
- name : Compile
67
60
shell : bash
68
- run : cmake --build ./build
61
+ run : cmake --build ./build -j 2
69
62
- name : Testing
70
63
shell : bash
71
64
run : ci/test.msvc.sh
Original file line number Diff line number Diff line change 1
- bzip2 zlib botan json-c getopt dirent python3[core,enable-shared]
1
+ bzip2 zlib botan json-c getopt dirent python3
You can’t perform that action at this time.
0 commit comments