Create onyx-build.yml
authorBrendan Hansen <brendan.f.hansen@gmail.com>
Wed, 9 Sep 2020 00:39:02 +0000 (19:39 -0500)
committerGitHub <noreply@github.com>
Wed, 9 Sep 2020 00:39:02 +0000 (19:39 -0500)
.github/workflows/onyx-build.yml [new file with mode: 0644]

diff --git a/.github/workflows/onyx-build.yml b/.github/workflows/onyx-build.yml
new file mode 100644 (file)
index 0000000..ad8f459
--- /dev/null
@@ -0,0 +1,21 @@
+name: Build and Test
+
+on:
+  push:
+    branches: [ master ]
+  pull_request:
+    branches: [ master ]
+
+jobs:
+  build:
+
+    runs-on: ubuntu-latest
+
+    steps:
+    - uses: actions/checkout@v2
+    - name: make
+      run: make
+    - name: make install
+      run: make install
+    - name: onyx progs/odin_example.onyx
+      run: onyx progs/odin_example.onyx