Skip to content

Commit 57ae97e

Browse files
committed
debug
1 parent b759093 commit 57ae97e

File tree

1 file changed

+18
-11
lines changed

1 file changed

+18
-11
lines changed

.github/workflows/windows.yml

+18-11
Original file line numberDiff line numberDiff line change
@@ -39,25 +39,32 @@ jobs:
3939
with:
4040
ruby-version: ${{ matrix.ruby }}
4141

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+
4250
- name: Install requirements on vcpkg
4351
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
4759

4860
- run: pip3 install -r ci/requirements.txt
4961

5062
- run: bundle install --jobs 4 --retry 3 --without "pycall cztop"
5163

52-
- name: Run tests
64+
- name: Run test with ffi-rzmq
65+
run: bundle exec rake test TESTOPTS=-v
5366
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
6168

6269
- run: rake build
6370

0 commit comments

Comments
 (0)