17
17
steps :
18
18
- uses : actions/checkout@v2
19
19
20
- - uses : actions/checkout@v2
21
- with :
22
- repository : newdigate/teensy-x86-stubs
23
- path : teensy-x86-stubs
24
-
25
- - uses : actions/checkout@v2
26
- with :
27
- repository : newdigate/teensy-x86-sd-stubs
28
- path : teensy-x86-sd-stubs
29
-
30
- - uses : actions/checkout@v2
31
- with :
32
- repository : newdigate/teensy-gfx
33
- path : teensy-gfx
34
-
35
- - uses : actions/checkout@v2
36
- with :
37
- repository : newdigate/teensy-x86-bounce2-stubs
38
- path : teensy-x86-bounce2-stubs
39
-
40
- - uses : actions/checkout@v2
41
- with :
42
- repository : newdigate/teensy-x86-encoder-stubs
43
- path : teensy-x86-encoder-stubs
44
-
45
20
- name : download dependencies
46
- run : sudo apt-get update && sudo apt-get install -yq libboost-test-dev libglfw3 libglfw3-dev libglu1-mesa-dev freeglut3-dev mesa-common-dev libx11-dev libxmu-dev libxi-dev libgl-dev libglew-dev
47
-
48
- - name : Make and Install teensy-x86-stubs
49
- run : cd teensy-x86-stubs && mkdir cmake-build-$BUILD_TYPE && cd cmake-build-$BUILD_TYPE && cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE .. && sudo make install
50
-
51
- - name : Make and Install teensy-gfx
52
- run : cd teensy-gfx && mkdir cmake-build-$BUILD_TYPE && cd cmake-build-$BUILD_TYPE && cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE .. && sudo make install
53
-
54
- - name : Make and Install teensy-x86-sd-stubs
55
- run : cd teensy-x86-sd-stubs && mkdir cmake-build-$BUILD_TYPE && cd cmake-build-$BUILD_TYPE && cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE .. && sudo make install
56
-
57
- - name : Make and Install st7735
58
- run : mkdir cmake-build-$BUILD_TYPE && cd cmake-build-$BUILD_TYPE && cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE .. && sudo make install
59
-
60
- - name : Make and Install st7735_opengl
61
- run : cd extras/opengl && mkdir cmake-build-$BUILD_TYPE && cd cmake-build-$BUILD_TYPE && cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE .. && sudo make install
62
-
63
- - name : Make and Install teensy-x86-bounce2-stubs
64
- run : cd teensy-x86-bounce2-stubs && mkdir cmake-build-$BUILD_TYPE && cd cmake-build-$BUILD_TYPE && cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE .. && sudo make install
65
-
66
- - name : Make and Install teensy-x86-encoder-stubs
67
- run : cd teensy-x86-encoder-stubs && mkdir cmake-build-$BUILD_TYPE && cd cmake-build-$BUILD_TYPE && cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE .. && sudo make install
21
+ run : sudo apt-get update && sudo apt-get install -yq libfreetype-dev libboost-test-dev libglfw3 libglfw3-dev libglu1-mesa-dev freeglut3-dev mesa-common-dev libx11-dev libxmu-dev libxi-dev libgl-dev libglew-dev
68
22
69
23
- name : Create Build Environment
70
24
# Some projects don't allow in-source building, so create a separate build directory
@@ -79,10 +33,10 @@ jobs:
79
33
# Note the current convention is to use the -S and -B options here to specify source
80
34
# and build directories, but this is only available with CMake 3.13 and higher.
81
35
# The CMake binaries on the Github Actions machines are (as of this writing) 3.12
82
- run : cmake $GITHUB_WORKSPACE/extras/opengl/examples/basic -DCMAKE_BUILD_TYPE=$BUILD_TYPE
36
+ run : cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE
83
37
84
38
- name : Build
85
39
working-directory : ${{github.workspace}}/build
86
40
shell : bash
87
41
# Execute the build. You can specify a specific target with "--target <NAME>"
88
- run : cmake --build . --config $BUILD_TYPE
42
+ run : cmake --build . --target basic -- config $BUILD_TYPE
0 commit comments