File tree 1 file changed +18
-11
lines changed
1 file changed +18
-11
lines changed Original file line number Diff line number Diff line change @@ -39,25 +39,32 @@ jobs:
39
39
with :
40
40
ruby-version : ${{ matrix.ruby }}
41
41
42
+ - uses : actions/cache@v2
43
+ with :
44
+ path : C:\vcpkg\downloads
45
+ key : ${{ runner.os }}-vcpkg-downloads-${{ matrix.os }}-${{ github.sha }}
46
+ restore-keys : |
47
+ ${{ runner.os }}-vcpkg-downloads-${{ matrix.os }}-
48
+ ${{ runner.os }}-vcpkg-downloads-
49
+
42
50
- name : Install requirements on vcpkg
43
51
run : |
44
- vcpkg install zeromq:x64-windows
45
- vcpkg install czmq:x64-windows
46
- vcpkg install libffi:x64-windows
52
+ vcpkg --triplet x64-windows install zeromq czmq libffi
53
+ dir C:/vcpkg/installed/x64-windows/bin
54
+ cp C:/vcpkg/installed/x64-windows/bin/libzmq-mt-4_3_3.dll C:/vcpkg/installed/x64-windows/bin/libzmq.dll
55
+
56
+ - name : Add vcpkg bindir in PATH
57
+ run : echo "C:/vcpkg/installed/x64-windows/bin" >> $GITHUB_PATH
58
+ shell : bash
47
59
48
60
- run : pip3 install -r ci/requirements.txt
49
61
50
62
- run : bundle install --jobs 4 --retry 3 --without "pycall cztop"
51
63
52
- - name : Run tests
64
+ - name : Run test with ffi-rzmq
65
+ run : bundle exec rake test TESTOPTS=-v
53
66
env :
54
- ADAPTERS : ffi-rzmq
55
- run : |
56
- for adapter in $ADAPTERS; do
57
- export IRUBY_TEST_SESSION_ADAPTER_NAME=$adapter
58
- bundle exec rake test TESTOPTS=-v
59
- done
60
- shell : bash
67
+ IRUBY_TEST_SESSION_ADAPTER_NAME : ffi-rzmq
61
68
62
69
- run : rake build
63
70
You can’t perform that action at this time.
0 commit comments