runner
This commit is contained in:
parent
f176e2539e
commit
e5ecb28841
1 changed files with 68 additions and 68 deletions
136
.github/workflows/build.yml
vendored
136
.github/workflows/build.yml
vendored
|
@ -1,8 +1,8 @@
|
||||||
on: [ push ]
|
on: [ push ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build_ubuntu:
|
build_ubuntu_x64:
|
||||||
runs-on: ubuntu-latest
|
runs-on: gha-runner-x64
|
||||||
steps:
|
steps:
|
||||||
- name: gitconfig
|
- name: gitconfig
|
||||||
run: |
|
run: |
|
||||||
|
@ -34,72 +34,72 @@ jobs:
|
||||||
make selftest
|
make selftest
|
||||||
./zerotier-selftest
|
./zerotier-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 input
|
# git config --global core.autocrlf input
|
||||||
# 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 aarch64
|
# - name: Install Rust aarch64
|
||||||
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: Install Rust x86_64
|
# - name: Install Rust x86_64
|
||||||
uses: actions-rs/toolchain@v1
|
# uses: actions-rs/toolchain@v1
|
||||||
with:
|
# with:
|
||||||
toolchain: stable
|
# toolchain: stable
|
||||||
target: x86_64-apple-darwin
|
# target: x86_64-apple-darwin
|
||||||
override: true
|
# override: true
|
||||||
components: rustfmt, clippy
|
# components: rustfmt, clippy
|
||||||
- name: Set up cargo cache
|
# - name: Set up cargo cache
|
||||||
uses: Swatinem/rust-cache@v2
|
# uses: Swatinem/rust-cache@v2
|
||||||
continue-on-error: false
|
# continue-on-error: false
|
||||||
with:
|
# with:
|
||||||
key: ${{ runner.os }}-cargo-${{ hashFiles('rustybits//Cargo.lock') }}
|
# key: ${{ runner.os }}-cargo-${{ hashFiles('rustybits//Cargo.lock') }}
|
||||||
shared-key: ${{ runner.os }}-cargo-
|
# shared-key: ${{ runner.os }}-cargo-
|
||||||
workspaces: |
|
# workspaces: |
|
||||||
rustybits/
|
# rustybits/
|
||||||
|
|
||||||
- name: make
|
# - name: make
|
||||||
run: make
|
# run: make
|
||||||
- name: selftest
|
# - name: selftest
|
||||||
run: |
|
# run: |
|
||||||
make selftest
|
# make selftest
|
||||||
./zerotier-selftest
|
# ./zerotier-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 true
|
# git config --global core.autocrlf true
|
||||||
# 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: Swatinem/rust-cache@v2
|
# uses: Swatinem/rust-cache@v2
|
||||||
continue-on-error: false
|
# continue-on-error: false
|
||||||
with:
|
# with:
|
||||||
key: ${{ runner.os }}-cargo-${{ hashFiles('rustybits//Cargo.lock') }}
|
# key: ${{ runner.os }}-cargo-${{ hashFiles('rustybits//Cargo.lock') }}
|
||||||
shared-key: ${{ runner.os }}-cargo-
|
# shared-key: ${{ runner.os }}-cargo-
|
||||||
workspaces: |
|
# workspaces: |
|
||||||
rustybits/
|
# rustybits/
|
||||||
|
|
||||||
- name: setup msbuild
|
# - name: setup msbuild
|
||||||
uses: microsoft/setup-msbuild@v1.1.3
|
# uses: microsoft/setup-msbuild@v1.1.3
|
||||||
- name: msbuild
|
# - name: msbuild
|
||||||
run: |
|
# run: |
|
||||||
msbuild windows\ZeroTierOne.sln /m /p:Configuration=Release /property:Platform=x64 /t:ZeroTierOne
|
# msbuild windows\ZeroTierOne.sln /m /p:Configuration=Release /property:Platform=x64 /t:ZeroTierOne
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue