steps_build();
}
+function defaults() {
+ $os_ver = DEF[DEF["os"]];
+ $cc_vnd = DEF[$os_ver];
+ $cc_ver = DEF[$cc_vnd]["ver"];
+ return "$os_ver, $cc_vnd, $cc_ver";
+}
?>
name: cmake-build-ci
on:
# new memcached
ci-new:
- name: ci-dbg (<?=DEF[DEF["os"]]?> ${{ env.CC_VND }} ${{ env.CC_VER }} memcached-1.6)
+ name: ci-dbg (<?=defaults()?>, memcached-1.6)
runs-on: <?=DEF[DEF["os"]]?> #
env:
INSTALL_MEMCACHED:
# sanitizer build
ci-san:
- name: ci-dbg (<?=DEF[DEF["os"]]?> ${{ env.CC_VND }} ${{ env.CC_VER }} sanitizers)
+ name: ci-dbg (<?=defaults()?>, sanitizers)
runs-on: <?=DEF[DEF["os"]]?> #
env:
ENABLE_SANITIZERS: "address;undefined"
# coverage build
ci-cov:
- name: ci-dbg (<?=DEF[DEF["os"]]?> ${{ env.CC_VND }} ${{ env.CC_VER }} coverage)
+ name: ci-dbg (<?=defaults()?>, coverage)
runs-on: <?=DEF[DEF["os"]]?> #
env:
CFLAGS: -O0 --coverage
# new memcached
ci-new:
- name: ci-dbg (ubuntu-20.04 ${{ env.CC_VND }} ${{ env.CC_VER }} memcached-1.6)
+ name: ci-dbg (ubuntu-20.04, gnu, cur, memcached-1.6)
runs-on: ubuntu-20.04 #
env:
INSTALL_MEMCACHED:
# sanitizer build
ci-san:
- name: ci-dbg (ubuntu-20.04 ${{ env.CC_VND }} ${{ env.CC_VER }} sanitizers)
+ name: ci-dbg (ubuntu-20.04, gnu, cur, sanitizers)
runs-on: ubuntu-20.04 #
env:
ENABLE_SANITIZERS: "address;undefined"
# coverage build
ci-cov:
- name: ci-dbg (ubuntu-20.04 ${{ env.CC_VND }} ${{ env.CC_VER }} coverage)
+ name: ci-dbg (ubuntu-20.04, gnu, cur, coverage)
runs-on: ubuntu-20.04 #
env:
CFLAGS: -O0 --coverage