diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 7b24326..3b112d9 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -8,16 +8,31 @@ jobs: strategy: matrix: - os: [macOS-latest, ubuntu-latest] + os: [macOS-latest, ubuntu-latest, windows-latest] steps: + - name: prepare git for checkout on windows + if: matrix.os == 'windows-latest' + run: | + git config --global core.autocrlf false + git config --global core.eol lf - name: checkout - uses: actions/checkout@v1 - - name: brotli-ubuntu - run: sudo apt-get install -y libbrotli-dev + uses: actions/checkout@v2 + - name: install brotli library on ubuntu if: matrix.os == 'ubuntu-latest' - - name: brotli-macOS - run: brew install brotli + run: sudo apt-get install -y libbrotli-dev + - name: install brotli library on macOS if: matrix.os == 'macOS-latest' + run: brew install brotli - name: make + if: matrix.os != 'windows-latest' run: cd test && make + - name: setup msbuild on windows + if: matrix.os == 'windows-latest' + uses: warrenbuckley/Setup-MSBuild@v1 + - name: make-windows + if: matrix.os == 'windows-latest' + run: | + cd test + msbuild.exe test.sln /verbosity:minimal /t:Build "/p:Configuration=Release;Platform=x64" + x64\Release\test.exe diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index e107075..0000000 --- a/appveyor.yml +++ /dev/null @@ -1,14 +0,0 @@ -image: - - Visual Studio 2019 - -platform: - - x64 - -build_script: - - cmd: >- - cd test - - msbuild.exe test.sln /verbosity:minimal /t:Build /p:Configuration=Release;Platform=%PLATFORM% - -test_script: - - cmd: x64\Release\test.exe diff --git a/test/test.vcxproj b/test/test.vcxproj index 9f71169..22739d6 100644 --- a/test/test.vcxproj +++ b/test/test.vcxproj @@ -22,7 +22,7 @@ {6B3E6769-052D-4BC0-9D2C-E9127C3DBB26} Win32Proj test - 8.1 + 10.0 @@ -97,6 +97,7 @@ ./;../ + true Console @@ -114,6 +115,7 @@ ./;../ + true Console @@ -133,6 +135,7 @@ ./;../ + true Console @@ -154,6 +157,7 @@ ./;../ + true Console @@ -171,4 +175,4 @@ - \ No newline at end of file +