Skip to content

Commit 258d80f

Browse files
committed
gcc_build job
1 parent 4d663c8 commit 258d80f

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

.github/workflows/msbuild.yml

+27-1
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,40 @@ on: [push]
55
env:
66
# Path to the solution file relative to the root of the project.
77
SOLUTION_FILE_PATH: ./unittests/unittests.sln
8+
CMAKE_FILE_PATH: gcc
89

910
# Configuration type to build.
1011
# You can convert this to a build matrix if you need coverage of multiple configuration types.
1112
# https://docs.github.com/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
1213
BUILD_CONFIGURATION: Release
1314

1415
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:
1642
strategy:
1743
matrix:
1844
targetplatform: [x86, x64]

0 commit comments

Comments
 (0)