fixing windows github builds (#1818)

This commit is contained in:
Sean OMeara 2022-12-14 11:52:30 +01:00 committed by GitHub
parent 10170b41c3
commit 3e41163bbe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,7 +25,6 @@ jobs:
toolchain: stable
target: aarch64-apple-darwin
override: true
components: rustfmt, clippy
- name: make
run: make
@ -33,15 +32,20 @@ jobs:
- name: selftest
run: make selftest
# build_windows:
# runs-on: windows-latest
# steps:
# - name: checkout
# uses: actions/checkout@v3
build_windows:
runs-on: windows-latest
steps:
- name: gitconfig
run: |
git config --global core.autocrlf false
git config --global core.eol lf
# - name: setup msbuild
# uses: microsoft/setup-msbuild@v1.1.3
- name: checkout
uses: actions/checkout@v3
# - name: msbuild
# run: |
# msbuild windows\ZeroTierOne.sln /m /p:Configuration=Release /property:Platform=x64 /t:ZeroTierOne:Rebuild
- name: setup msbuild
uses: microsoft/setup-msbuild@v1.1.3
- name: msbuild
run: |
msbuild windows\ZeroTierOne.sln /m /p:Configuration=Release /property:Platform=x64 /t:ZeroTierOne:Rebuild