File tree 2 files changed +27
-5
lines changed
2 files changed +27
-5
lines changed Original file line number Diff line number Diff line change @@ -23,10 +23,32 @@ concurrency:
23
23
jobs :
24
24
# Build job
25
25
build :
26
+ # The type of runner that the job will run on
26
27
runs-on : ubuntu-latest
28
+
29
+ # Steps represent a sequence of tasks that will be executed as part of the job
27
30
steps :
28
- - name : Checkout
29
- uses : actions/checkout@v3
31
+ - name : Get latest CMake and ninja
32
+ uses : lukka/get-cmake@latest
33
+ - name : Update APT
34
+ run : sudo apt update
35
+ - name : Install dependencies
36
+ run : |
37
+ sudo apt install libexpat1-dev liblua5.2-dev lua5.2 luarocks libtolua-dev libncurses5-dev libsqlite3-dev libiniparser-dev libcjson-dev libbsd-dev cppcheck shellcheck clang-tools iwyu
38
+ luarocks install lunitx --local
39
+ # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
40
+ - name : Checkout repository
41
+ uses : actions/checkout@v2
42
+ with :
43
+ submodules : true
44
+ - name : Build and Test
45
+ uses : ashutoshvarma/action-cmake-build@master
46
+ with :
47
+ build-dir : ${{ runner.workspace }}/build
48
+ build-type : Debug
49
+ run-test : true
50
+ ctest-options : --output-on-failure
51
+
30
52
- name : Setup Pages
31
53
uses : actions/configure-pages@v2
32
54
- name : Create demos
Original file line number Diff line number Diff line change 3
3
4
4
ROOT=$( git rev-parse --show-toplevel)
5
5
cd $ROOT
6
- ./configure
7
- s/build
8
- s/runtests
6
+ # ./configure
7
+ # s/build
8
+ # s/runtests
9
9
demo/run_demo
10
10
11
11
cp demo/reports/* cr stm-jekyll/_demos
You can’t perform that action at this time.
0 commit comments