summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorSean OMeara <[email protected]>2022-12-12 09:44:31 +0100
committerGitHub <[email protected]>2022-12-12 09:44:31 +0100
commit7587ef51362e2e4fab774965d0513ca95a7d26ba (patch)
treeef3eba6f50a10c47b84448a07a0f1707380a3a93 /.github
parent087a7972571646b21b1b16a388f98514bb5cbd08 (diff)
basic builds on github (#1815)
Initial Github Actions build
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml40
1 files changed, 40 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 00000000..06f41660
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,40 @@
+on: [ push, pull_request ]
+
+jobs:
+ build_ubuntu:
+ runs-on: ubuntu-latest
+ steps:
+ - name: checkout
+ uses: actions/checkout@v3
+
+ - name: make
+ run: make
+
+ - name: selftest
+ run: make selftest
+
+ # build_macos:
+ # runs-on: macos-latest
+ # steps:
+ # - name: checkout
+ # uses: actions/checkout@v3
+
+ # - name: make
+ # run: make
+
+ # - name: selftest
+ # run: make selftest
+
+ # build_windows:
+ # runs-on: windows-latest
+ # steps:
+ # - name: checkout
+ # uses: actions/checkout@v3
+
+ # - name: setup msbuild
+ # uses: microsoft/[email protected]
+
+ # - name: msbuild
+ # run: |
+ # msbuild windows\ZeroTierOne.sln /m /p:Configuration=Release /property:Platform=x64 /t:ZeroTierOne:Rebuild
+