summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorBastiaan Olij <mux213@gmail.com>2021-11-12 21:03:29 +1100
committerBastiaan Olij <mux213@gmail.com>2021-11-22 21:48:20 +1100
commit94efe3d410f712fd1a730ed4e6b2ac90ffdc2fe7 (patch)
tree8cdd1fe818b8a7aa73d9a0609b972a68c5943dd7 /.github/workflows
parent271e33658db6558698153472b4a2dec15a4253ba (diff)
downloadredot-cpp-94efe3d410f712fd1a730ed4e6b2ac90ffdc2fe7.tar.gz
Fixing compiler warnings around implicit type casting loosing precision
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index bef4cfe..a3c1ca6 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -26,6 +26,11 @@ jobs:
run: |
scons target=release generate_bindings=yes -j $(nproc)
+ - name: Build test project
+ run: |
+ cd test
+ scons target=release -j $(nproc)
+
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
@@ -55,6 +60,11 @@ jobs:
run: |
scons target=release generate_bindings=yes -j $env:NUMBER_OF_PROCESSORS
+ - name: Build test project
+ run: |
+ cd test
+ scons target=release -j $env:NUMBER_OF_PROCESSORS
+
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
@@ -89,6 +99,11 @@ jobs:
gcc --version
scons target=release generate_bindings=yes use_mingw=yes -j $env:NUMBER_OF_PROCESSORS
+ #- name: Build test project (TODO currently not supported, leaving uncommented as a reminder to fix this)
+ # run: |
+ # cd test
+ # scons target=release use_mingw=yes -j $env:NUMBER_OF_PROCESSORS
+
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
@@ -118,6 +133,11 @@ jobs:
run: |
scons target=release generate_bindings=yes -j $(sysctl -n hw.logicalcpu)
+ - name: Build test project
+ run: |
+ cd test
+ scons target=release -j $(sysctl -n hw.logicalcpu)
+
static-checks:
name: Static Checks (clang-format)
runs-on: ubuntu-20.04