Skip to content

Commit

Permalink
winders
Browse files Browse the repository at this point in the history
  • Loading branch information
laduke committed Sep 10, 2024
1 parent 44587c0 commit fd571e2
Showing 1 changed file with 34 additions and 28 deletions.
62 changes: 34 additions & 28 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,32 +82,38 @@ jobs:
retention-days: 7


# build_windows:
# runs-on: windows-latest
# steps:
# - name: gitconfig
# run: |
# git config --global core.autocrlf true
# # git config --global core.eol lf
# - name: checkout
# uses: actions/checkout@v4
# - name: Install Rust
# uses: actions-rs/toolchain@v1
# with:
# toolchain: stable
# target: aarch64-apple-darwin
# components: rustfmt, clippy
# - name: Set up cargo cache
# uses: Swatinem/rust-cache@v2
# continue-on-error: false
# with:
# key: ${{ runner.os }}-cargo-${{ hashFiles('rustybits//Cargo.lock') }}
# shared-key: ${{ runner.os }}-cargo-
# workspaces: |
# rustybits/
build_windows:
runs-on: windows-latest
steps:
- name: gitconfig
run: |
git config --global core.autocrlf true
# git config --global core.eol lf
- name: checkout
uses: actions/checkout@v4
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: aarch64-apple-darwin
components: rustfmt, clippy
- name: Set up cargo cache
uses: Swatinem/rust-cache@v2
continue-on-error: false
with:
key: ${{ runner.os }}-cargo-${{ hashFiles('rustybits//Cargo.lock') }}
shared-key: ${{ runner.os }}-cargo-
workspaces: |
rustybits/
# - 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
- 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
- name: Archive production artifacts
uses: actions/upload-artifact@v4
with:
name: zerotier-one-windows
path: windows/
retention-days: 7

0 comments on commit fd571e2

Please sign in to comment.