Skip to content

Commit e0d2276

Browse files
committed
WIP
1 parent 908bdf2 commit e0d2276

File tree

2 files changed

+27
-5
lines changed

2 files changed

+27
-5
lines changed

.github/workflows/pages.yml

+24-2
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,32 @@ concurrency:
2323
jobs:
2424
# Build job
2525
build:
26+
# The type of runner that the job will run on
2627
runs-on: ubuntu-latest
28+
29+
# Steps represent a sequence of tasks that will be executed as part of the job
2730
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+
3052
- name: Setup Pages
3153
uses: actions/configure-pages@v2
3254
- name: Create demos

stm-jekyll/scripts/create_demos.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ set -ex
33

44
ROOT=$(git rev-parse --show-toplevel)
55
cd $ROOT
6-
./configure
7-
s/build
8-
s/runtests
6+
#./configure
7+
#s/build
8+
#s/runtests
99
demo/run_demo
1010

1111
cp demo/reports/*cr stm-jekyll/_demos

0 commit comments

Comments
 (0)