File tree 1 file changed +27
-1
lines changed
1 file changed +27
-1
lines changed Original file line number Diff line number Diff line change @@ -5,14 +5,40 @@ on: [push]
5
5
env :
6
6
# Path to the solution file relative to the root of the project.
7
7
SOLUTION_FILE_PATH : ./unittests/unittests.sln
8
+ CMAKE_FILE_PATH : gcc
8
9
9
10
# Configuration type to build.
10
11
# You can convert this to a build matrix if you need coverage of multiple configuration types.
11
12
# https://docs.github.com/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
12
13
BUILD_CONFIGURATION : Release
13
14
14
15
jobs :
15
- build :
16
+ gcc_build :
17
+ runs-on : ubuntu-latest
18
+
19
+ steps :
20
+ - name : Install dependencies on ubuntu
21
+ run : |
22
+ sudo apt-get update
23
+ sudo apt-get install ninja-build cmake
24
+ ninja --version
25
+ cmake --version
26
+ gcc --version
27
+ - name : Configure
28
+ shell : bash
29
+ run : |
30
+ mkdir build
31
+ mkdir instdir
32
+ cmake ${{env.CMAKE_FILE_PATH}} -B build
33
+ - name : Build
34
+ shell : bash
35
+ run : |
36
+ make -C build
37
+ - name : Run
38
+ shell : bash
39
+ run : |
40
+ ./build/octree
41
+ msvc_build_and_test :
16
42
strategy :
17
43
matrix :
18
44
targetplatform : [x86, x64]
You can’t perform that action at this time.
0 commit comments