Skip to content

Commit

Permalink
Modify ci.yml for size compare
Browse files Browse the repository at this point in the history
  • Loading branch information
Explorer09 committed May 17, 2024
1 parent 954080b commit 5dd6bde
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ env:
CPPFLAGS: -DGCC_PRINTF -DGCC_SCANF -D_FORTIFY_SOURCE=2

jobs:
build-ubuntu-latest-minimal-gcc:
build-ubuntu-minimal-gcc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -27,8 +27,10 @@ jobs:
run: make -k
- name: Distcheck
run: make distcheck DISTCHECK_CONFIGURE_FLAGS="--enable-werror --enable-affinity --disable-unicode --disable-sensors"
- name: Get program size
run: size ./htop

build-ubuntu-latest-minimal-clang:
build-ubuntu-minimal-clang:
runs-on: ubuntu-latest
env:
CC: clang-18
Expand All @@ -49,8 +51,10 @@ jobs:
run: make -k
- name: Distcheck
run: make distcheck DISTCHECK_CONFIGURE_FLAGS="--enable-werror --enable-affinity --disable-unicode --disable-sensors"
- name: Get program size
run: size ./htop

build-ubuntu-latest-full-featured-gcc:
build-ubuntu-full-featured-gcc-O3:
runs-on: ubuntu-latest
# Enable LTO, might trigger additional warnings on advanced inlining
env:
Expand All @@ -68,8 +72,10 @@ jobs:
run: make -k
- name: Distcheck
run: make distcheck DISTCHECK_CONFIGURE_FLAGS='--enable-werror --enable-openvz --enable-vserver --enable-ancient-vserver --enable-unicode --enable-hwloc --enable-delayacct --enable-sensors --enable-capabilities'
- name: Get program size
run: size ./htop

build-ubuntu-latest-full-featured-clang:
build-ubuntu-full-featured-clang:
runs-on: ubuntu-latest
env:
CC: clang-18
Expand All @@ -90,8 +96,10 @@ jobs:
run: make -k
- name: Distcheck
run: make distcheck DISTCHECK_CONFIGURE_FLAGS='--enable-werror --enable-openvz --enable-vserver --enable-ancient-vserver --enable-unicode --enable-hwloc --enable-delayacct --enable-sensors --enable-capabilities'
- name: Get program size
run: size ./htop

build-ubuntu-latest-gcc-static:
build-ubuntu-gcc-static-O3:
runs-on: ubuntu-latest
# Enable LTO, might trigger additional warnings on advanced inlining
env:
Expand All @@ -109,6 +117,8 @@ jobs:
run: make -k
- name: Distcheck
run: make distcheck DISTCHECK_CONFIGURE_FLAGS='--enable-static --enable-werror --enable-openvz --enable-vserver --enable-ancient-vserver --enable-unicode --disable-hwloc --disable-delayacct --enable-sensors --enable-capabilities'
- name: Get program size
run: size ./htop

build-ubuntu-latest-pcp:
# we want PCP v5.2.3+
Expand Down

0 comments on commit 5dd6bde

Please sign in to comment.