Skip to content

Commit

Permalink
ci: CI script for GHA
Browse files Browse the repository at this point in the history
The new ci-workflow makefile target contains only binary building and
validating. It does not include image-building steps, to reduce space
usage within single workflow step. The CI workflow is responsible to
perform self-contained image build after validation.

Signed-off-by: Raphanus Lo <yunchang.lo@suse.com>
  • Loading branch information
COLDTURNIP committed Feb 7, 2025
1 parent 9f5cc87 commit 6124bf8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
# Build binaries
- name: Run ci
run: make ci
run: make ci-workflow

- uses: codecov/codecov-action@v4
with:
Expand Down
8 changes: 8 additions & 0 deletions scripts/ci-workflow
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash
set -e

cd $(dirname $0)

./build
./validate
./test -cover

0 comments on commit 6124bf8

Please sign in to comment.