mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-22 22:33:58 -07:00
tweaking
This commit is contained in:
parent
63c0335e6b
commit
85776abb80
1 changed files with 65 additions and 73 deletions
138
.github/workflows/build.yml
vendored
138
.github/workflows/build.yml
vendored
|
@ -35,77 +35,69 @@ jobs:
|
||||||
- name: selftest
|
- name: selftest
|
||||||
run: make selftest
|
run: make selftest
|
||||||
|
|
||||||
# build_macos:
|
build_macos:
|
||||||
# runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
# steps:
|
steps:
|
||||||
# - name: gitconfig
|
- name: gitconfig
|
||||||
# run: |
|
run: |
|
||||||
# git config --global core.autocrlf false
|
git config --global core.autocrlf false
|
||||||
# git config --global core.eol lf
|
git config --global core.eol lf
|
||||||
# - name: checkout
|
- name: checkout
|
||||||
# uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
# - name: Install Rust
|
- name: Install Rust
|
||||||
# uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
# with:
|
with:
|
||||||
# toolchain: stable
|
toolchain: stable
|
||||||
# target: aarch64-apple-darwin
|
target: aarch64-apple-darwin
|
||||||
# override: true
|
override: true
|
||||||
# components: rustfmt, clippy
|
components: rustfmt, clippy
|
||||||
# - name: Set up cargo cache
|
- name: Set up cargo cache
|
||||||
# uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
# continue-on-error: false
|
continue-on-error: false
|
||||||
# with:
|
with:
|
||||||
# path: |
|
path: |
|
||||||
# ~/.cargo/bin/
|
~/.cargo/bin/
|
||||||
# ~/.cargo/registry/index/
|
~/.cargo/registry/index/
|
||||||
# ~/.cargo/registry/cache/
|
~/.cargo/registry/cache/
|
||||||
# ~/.cargo/git/db/
|
~/.cargo/git/db/
|
||||||
# target/
|
target/
|
||||||
# key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
|
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
|
||||||
# restore-keys: ${{ runner.os }}-cargo-
|
restore-keys: ${{ runner.os }}-cargo-
|
||||||
# - name: Lint
|
- name: make
|
||||||
# run: |
|
run: make
|
||||||
# cargo fmt --all -- --check
|
- name: selftest
|
||||||
# cargo clippy -- -D warnings
|
run: make selftest
|
||||||
# - name: make
|
|
||||||
# run: make
|
|
||||||
# - name: selftest
|
|
||||||
# run: make selftest
|
|
||||||
|
|
||||||
# build_windows:
|
build_windows:
|
||||||
# runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
# steps:
|
steps:
|
||||||
# - name: gitconfig
|
- name: gitconfig
|
||||||
# run: |
|
run: |
|
||||||
# git config --global core.autocrlf false
|
git config --global core.autocrlf false
|
||||||
# git config --global core.eol lf
|
git config --global core.eol lf
|
||||||
# - name: checkout
|
- name: checkout
|
||||||
# uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
# - name: Install Rust
|
- name: Install Rust
|
||||||
# uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
# with:
|
with:
|
||||||
# toolchain: stable
|
toolchain: stable
|
||||||
# target: aarch64-apple-darwin
|
target: aarch64-apple-darwin
|
||||||
# override: true
|
override: true
|
||||||
# components: rustfmt, clippy
|
components: rustfmt, clippy
|
||||||
# - name: Set up cargo cache
|
- name: Set up cargo cache
|
||||||
# uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
# continue-on-error: false
|
continue-on-error: false
|
||||||
# with:
|
with:
|
||||||
# path: |
|
path: |
|
||||||
# ~/.cargo/bin/
|
~/.cargo/bin/
|
||||||
# ~/.cargo/registry/index/
|
~/.cargo/registry/index/
|
||||||
# ~/.cargo/registry/cache/
|
~/.cargo/registry/cache/
|
||||||
# ~/.cargo/git/db/
|
~/.cargo/git/db/
|
||||||
# target/
|
target/
|
||||||
# key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
|
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
|
||||||
# restore-keys: ${{ runner.os }}-cargo-
|
restore-keys: ${{ runner.os }}-cargo-
|
||||||
# - name: Lint
|
- name: setup msbuild
|
||||||
# run: |
|
uses: microsoft/setup-msbuild@v1.1.3
|
||||||
# cargo fmt --all -- --check
|
- name: msbuild
|
||||||
# cargo clippy -- -D warnings
|
run: |
|
||||||
# - name: setup msbuild
|
msbuild windows\ZeroTierOne.sln /m /p:Configuration=Release /property:Platform=x64 /t:ZeroTierOne:Rebuild
|
||||||
# uses: microsoft/setup-msbuild@v1.1.3
|
|
||||||
# - name: msbuild
|
|
||||||
# run: |
|
|
||||||
# msbuild windows\ZeroTierOne.sln /m /p:Configuration=Release /property:Platform=x64 /t:ZeroTierOne:Rebuild
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue