From 266d0185c8a99083821a70a7779f3da03b5464ec Mon Sep 17 00:00:00 2001 From: Kyle Altendorf Date: Fri, 22 Apr 2022 17:08:29 -0400 Subject: [PATCH 1/3] Add Windows to CI --- .github/workflows/test.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 9758a7e3..322cc2c1 100755 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -9,7 +9,7 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-latest, ubuntu-latest] + os: [macos-latest, ubuntu-latest, windows-latest] config: [ optimized=1, TSAN=1, ASAN=1] steps: @@ -30,6 +30,12 @@ jobs: cd src make ${{ matrix.config }} -f Makefile.vdf-client + - name: Build vdf-client on Windows + if: startsWith(matrix.os, 'windows') + run: | + cd src + make ${{ matrix.config }} -f Makefile.vdf-client + - name: Test vdf-client if: matrix.config == 'optimized=1' run: | From ccbc0bb3918a0cd473a15b5ef90dae976ea0409b Mon Sep 17 00:00:00 2001 From: Kyle Altendorf Date: Fri, 22 Apr 2022 19:11:35 -0400 Subject: [PATCH 2/3] only non-optimized for windows --- .github/workflows/test.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 322cc2c1..8246312a 100755 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -9,8 +9,10 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-latest, ubuntu-latest, windows-latest] + os: [macos-latest, ubuntu-latest] config: [ optimized=1, TSAN=1, ASAN=1] + include: + - os: windows-latest steps: - name: Checkout code From be9959f1f7f428d4c8f7945063c42ff2c037bfc5 Mon Sep 17 00:00:00 2001 From: Kyle Altendorf Date: Fri, 22 Apr 2022 19:25:03 -0400 Subject: [PATCH 3/3] choco install boost-msvc-14.2 --- .github/workflows/test.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 8246312a..d178f5de 100755 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -35,6 +35,7 @@ jobs: - name: Build vdf-client on Windows if: startsWith(matrix.os, 'windows') run: | + choco install boost-msvc-14.2 cd src make ${{ matrix.config }} -f Makefile.vdf-client