@@ -18,45 +18,45 @@ jobs:
18
18
runs-on : ubuntu-21.10
19
19
20
20
steps :
21
- - uses : actions/checkout@v2
22
-
23
- - name : install meson
24
- run : sudo apt install -y python3-pip ; sudo pip3 install meson==0.61.2
25
-
26
- - name : prepare
27
- run : sudo apt install gnutls-bin g++-11 libgnutls30 libsystemd-dev valac gobject-introspection python3-gi libgirepository1.0-dev libvte-dev libgnutls* libibus-1.0-dev libgtkmm-3.0-dev g++ libpulse-dev libpsl-dev libbrotli-dev ninja-build
28
-
29
- - name : update g++
30
- run : sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 100 --slave /usr/bin/g++ g++ /usr/bin/g++-11 --slave /usr/bin/gcov gcov /usr/bin/gcov-11; sudo update-alternatives --install /usr/bin/cc cc /usr/bin/gcc 300; sudo update-alternatives --set cc /usr/bin/gcc; sudo update-alternatives --install /usr/bin/c++ c++ /usr/bin/g++ 300; sudo update-alternatives --set c++ /usr/bin/g++
31
-
32
- - name : prepare vte
33
- run : bash prepare_vte.sh
34
-
35
- - name : Configure CMake
36
- # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
37
- # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
38
- run : cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
39
-
40
- - name : Build
41
- # Build your program with the given configuration
42
- run : cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
43
-
44
- - name : Test
45
- working-directory : ${{github.workspace}}/build
46
- # Execute tests defined by the CMake configuration.
47
- # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
48
- run : ctest -C ${{env.BUILD_TYPE}}
49
-
50
- - name : Pack
51
- working-directory : ${{github.workspace}}/build
52
- # Execute tests defined by the CMake configuration.
53
- # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
54
- run : cpack
55
-
56
- - uses : actions/upload-artifact@v2
57
- with :
58
- name : my_deb
59
- path : ${{github.workspace}}/build/funterm-1.1-Linux.deb
21
+ - uses : actions/checkout@v2
22
+
23
+ - name : install meson
24
+ run : sudo apt install -y python3-pip ; sudo pip3 install meson==0.61.2
25
+
26
+ - name : prepare
27
+ run : sudo apt install gnutls-bin g++-11 libgnutls30 libsystemd-dev valac gobject-introspection python3-gi libgirepository1.0-dev libvte-dev libgnutls* libibus-1.0-dev libgtkmm-3.0-dev g++ libpulse-dev libpsl-dev libbrotli-dev ninja-build libnautilus-extension-dev
28
+
29
+ - name : update g++
30
+ run : sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 100 --slave /usr/bin/g++ g++ /usr/bin/g++-11 --slave /usr/bin/gcov gcov /usr/bin/gcov-11; sudo update-alternatives --install /usr/bin/cc cc /usr/bin/gcc 300; sudo update-alternatives --set cc /usr/bin/gcc; sudo update-alternatives --install /usr/bin/c++ c++ /usr/bin/g++ 300; sudo update-alternatives --set c++ /usr/bin/g++
31
+
32
+ - name : prepare vte
33
+ run : bash prepare_vte.sh
34
+
35
+ - name : Configure CMake
36
+ # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
37
+ # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
38
+ run : cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
39
+
40
+ - name : Build
41
+ # Build your program with the given configuration
42
+ run : cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
43
+
44
+ - name : Test
45
+ working-directory : ${{github.workspace}}/build
46
+ # Execute tests defined by the CMake configuration.
47
+ # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
48
+ run : ctest -C ${{env.BUILD_TYPE}}
49
+
50
+ - name : Pack
51
+ working-directory : ${{github.workspace}}/build
52
+ # Execute tests defined by the CMake configuration.
53
+ # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
54
+ run : cpack
55
+
56
+ - uses : actions/upload-artifact@v2
57
+ with :
58
+ name : my_deb
59
+ path : ${{github.workspace}}/build/funterm-1.1-Linux.deb
60
60
61
61
62
62
0 commit comments