aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorzhibog <zhibog-github@web.de>2021-11-10 15:22:12 +0100
committerzhibog <zhibog-github@web.de>2021-11-10 15:22:12 +0100
commit8aadcacc0b71acb356b03372b35d772829727af5 (patch)
tree7d77c07b4999069f35f6e475d6ed4ed3d544e8f3 /.github
parent615efc7c863fc777f80afe1dec41b060bc10c11e (diff)
Add tests to Linux and Mac and add vendor tests
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml30
1 files changed, 26 insertions, 4 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 6c9603db5..bf4b8eff8 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -6,8 +6,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- - name: Download LLVM
- run: sudo apt-get install llvm-11 clang-11 llvm
+ - name: Download LLVM, botan
+ run: sudo apt-get install llvm-11 clang-11 llvm libbotan-2-13 libbotan-2-dev botan
- name: build odin
run: make release
- name: Odin version
@@ -30,13 +30,18 @@ jobs:
cd tests/core
make
timeout-minutes: 10
+ - name: Vendor library tests
+ run: |
+ cd tests/vendor
+ make
+ timeout-minutes: 10
build_macOS:
runs-on: macos-latest
steps:
- uses: actions/checkout@v1
- - name: Download LLVM and setup PATH
+ - name: Download LLVM, botan and setup PATH
run: |
- brew install llvm@11
+ brew install llvm@11 botan
echo "/usr/local/opt/llvm@11/bin" >> $GITHUB_PATH
TMP_PATH=$(xcrun --show-sdk-path)/user/include
echo "CPATH=$TMP_PATH" >> $GITHUB_ENV
@@ -57,6 +62,16 @@ jobs:
- name: Odin run -debug
run: ./odin run examples/demo/demo.odin -debug
timeout-minutes: 10
+ - name: Core library tests
+ run: |
+ cd tests/core
+ make
+ timeout-minutes: 10
+ - name: Vendor library tests
+ run: |
+ cd tests/vendor
+ make
+ timeout-minutes: 10
build_windows:
runs-on: windows-latest
steps:
@@ -97,6 +112,13 @@ jobs:
cd tests\core
call build.bat
timeout-minutes: 10
+ - name: Vendor library tests
+ shell: cmd
+ run: |
+ call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat
+ cd tests\vendor
+ call build.bat
+ timeout-minutes: 10
- name: core:math/big tests
shell: cmd
run: |