Skip to content

Commit

Permalink
Merge pull request #1685 from smoe/Add_EatMyData_to_github_build
Browse files Browse the repository at this point in the history
Added 'eatmydata' to optimize auto-builds
  • Loading branch information
andypugh authored Mar 29, 2022
2 parents d3f4c28 + 111a13c commit 565275f
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@ jobs:
- name: Build RIP & test
run: |
./scripts/travis-install-build-deps.sh
sudo apt-get install -y eatmydata
cd src
./autogen.sh
./configure --with-realtime=uspace --disable-check-runtime-deps
make -O -j$((1+$(nproc))) default pycheck V=1
eatmydata ./autogen.sh
eatmydata ./configure --with-realtime=uspace --disable-check-runtime-deps
eatmydata make -O -j$((1+$(nproc))) default pycheck V=1
# Note that the package build covers html docs
../scripts/rip-environment runtests -p
Expand All @@ -46,10 +47,11 @@ jobs:
- name: Build HTML docmentation
run: |
./scripts/travis-install-build-deps.sh
sudo apt-get install -y eatmydata
cd src
./autogen.sh
./configure --with-realtime=uspace --disable-check-runtime-deps --enable-build-documentation=html
make -O -j$((1+$(nproc))) docs
eatmydata ./autogen.sh
eatmydata ./configure --with-realtime=uspace --disable-check-runtime-deps --enable-build-documentation=html
eatmydata make -O -j$((1+$(nproc))) docs
# Note that the package build covers html docs
package:
Expand All @@ -68,9 +70,10 @@ jobs:
set -x
git fetch --recurse-submodules=no https://github.com/linuxcnc/linuxcnc refs/tags/*:refs/tags/*
./scripts/travis-install-build-deps.sh
sudo apt-get install -y eatmydata
codename=$(grep VERSION_CODENAME /etc/os-release | cut -d = -f 2)
dch --maintmaint --distribution $codename "GitHub test package."
fakeroot ./debian/rules binary
sudo apt-get install ../*.deb
./scripts/runtests -p tests/
lintian --info --display-info --pedantic --display-experimental ../*.deb
eatmydata ./scripts/runtests -p tests/
eatmydata lintian --info --display-info --pedantic --display-experimental ../*.deb

0 comments on commit 565275f

Please sign in to comment.