Skip to content

Commit

Permalink
ci(actions): Catch docker build workflow up with configure changes
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Sep 5, 2024
1 parent b66dcc3 commit 594cc21
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install clang jq libarchive-tools mold luarocks
sudo apt-get install clang libarchive-tools mold luarocks
- name: Setup ‘cargo’
uses: actions-rs/toolchain@v1
- name: Configure
Expand All @@ -32,11 +32,7 @@ jobs:
./configure \
--enable-developer-mode \
--disable-dependency-checks \
CHECKMAKE=false \
LUACHECK=false \
RUFF=false \
STYLUA=false \
TYPOS=cat
CHECKMAKE=false LUACHECK=false RUFF=false STYLUA=false TYPOS=cat
echo "VERSION=$(./build-aux/git-version-gen .tarball-version)" >> $GITHUB_ENV
echo "MAKEFLAGS=-j$(nproc) -Otarget" >> $GITHUB_ENV
- name: Make
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
branches:
- master
- develop
- rel*
tags:
- latest
- v*
Expand All @@ -19,20 +21,18 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Fetch tags
run: |
git fetch --prune --tags ||:
- name: Setup system dependencies
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install clang mold
- name: Configure
run: |
echo "REF=${GITHUB_REF##refs/*/}" >> $GITHUB_ENV
./bootstrap.sh
./configure \
--without-{bash,fish,zsh}-completion-dir \
--enable-developer-mode \
--disable-dependency-checks \
CURL=curl DOCKER=docker DIFF=diff TR=tr SORT=sort
CHECKMAKE=false LUACHECK=false RUFF=false STYLUA=false TYPOS=false
- name: Publish Docker Image to GH Container Registry
run: |
make docker-build-push
Expand Down

0 comments on commit 594cc21

Please sign in to comment.