Skip to content

Commit 212c051

Browse files
committed
workflows/ci: build Linux packages
Currently we only build Linux packages during the release process. This means that there is a significant period of time during which unrelated changes could silently break the Linux package build. Since having this happen is a hassle resulting in the maintainer doing the release having to build the packages by hand, we should check this process during CI to ensure that any errors are caught early. Add a CI job which builds Linux packages as normal but doesn't upload them anywhere, so that we can ensure that the packages continue to build.
1 parent a5cf8a0 commit 212c051

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,12 @@ jobs:
7272
- run: git clone -b v2.0.0 https://github.com/git/git.git "$HOME/git"
7373
- run: script/build-git "$HOME/git"
7474
- run: script/cibuild
75+
build-docker:
76+
name: Build Linux packages
77+
runs-on: ubuntu-latest
78+
steps:
79+
- uses: actions/checkout@master
80+
- uses: actions/setup-ruby@v1
81+
- run: git clone https://github.com/git-lfs/build-dockers.git "$HOME/build-dockers"
82+
- run: (cd "$HOME/build-dockers" && ./build_dockers.bsh)
83+
- run: DOCKER_AUTOPULL=0 ./docker/run_dockers.bsh

0 commit comments

Comments
 (0)