summaryrefslogtreecommitdiff
path: root/.github/workflows/linux.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/linux.yml')
-rw-r--r--.github/workflows/linux.yml34
1 files changed, 34 insertions, 0 deletions
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml
new file mode 100644
index 000000000..d9d0a7b66
--- /dev/null
+++ b/.github/workflows/linux.yml
@@ -0,0 +1,34 @@
+name: Linux Build CI
+
+on:
+ push:
+ branches: [ master ]
+ pull_request:
+ branches: [ master ]
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ configuration: ['debug', 'release']
+ compiler: ['gcc', 'clang']
+ platform: ['x64']
+ steps:
+ - uses: actions/checkout@v2.3.4
+ with:
+ submodules: 'true'
+ fetch-depth: '0'
+ - name: build
+ run:
+ CC=${{matrix.compiler}}
+ CONFIGURATION=${{matrix.configuration}}
+ ARCH=${{matrix.platform}}
+ source ./github_build.sh
+ - name: test
+ run:
+ CONFIGURATION=${{matrix.configuration}}
+ CC=${{matrix.compiler}}
+ ARCH=${{matrix.platform}}
+ source ./github_test.sh \ No newline at end of file