adding github builds (#1816)

This commit is contained in:
Sean OMeara 2022-12-13 00:05:49 +01:00 committed by GitHub
parent cfa1d8434e
commit 1aee28aef7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

51
.github/workflows/build.yml vendored Normal file
View file

@ -0,0 +1,51 @@
on: [ push ]
jobs:
build_ubuntu:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: make
run: make
build_macos:
runs-on: macos-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: make
run: make
test_ubuntu:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: cargo test
run: cargo test -v
test_macos:
runs-on: macos-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: cargo test
run: cargo test -v
# build_windows:
# runs-on: windows-latest
# steps:
# - name: checkout
# uses: actions/checkout@v3
# - 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