1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
|
name: Build and test
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
workflow_dispatch:
env:
INSTALLDIR: "installdir"
RUNUSER: "user"
PROFILE: "testable"
jobs:
docs:
runs-on: ubuntu-latest
env:
BUILD_OPTS: --enable-docs --enable-fep
DISTCHECK: true
container:
image: ghcr.io/ueno/libskk:master
steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/basic-autotools
asan:
runs-on: ubuntu-latest
env:
BUILD_OPTS: --disable-fep
CFLAGS: -fsanitize=address -g -fno-common -U_FORTIFY_SOURCE
CXXFLAGS: -fsanitize=address -g -fno-common -U_FORTIFY_SOURCE
LDFLAGS: -fsanitize=address -g -fno-common -U_FORTIFY_SOURCE
LIBS: -ldl -lpthread
container:
image: ghcr.io/ueno/libskk:master
steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/basic-autotools
ubsan:
runs-on: ubuntu-latest
env:
BUILD_OPTS: --disable-fep
CFLAGS: -fsanitize=undefined -g -fno-common -U_FORTIFY_SOURCE
CXXFLAGS: -fsanitize=undefined -g -fno-common -U_FORTIFY_SOURCE
LDFLAGS: -fsanitize=undefined -g -fno-common -U_FORTIFY_SOURCE
LIBS: -ldl -lpthread
container:
image: ghcr.io/ueno/libskk:master
steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/basic-autotools
|