Skip to content

Commit

Permalink
CI: show build commands on terminal
Browse files Browse the repository at this point in the history
test-builds.sh record output from the build in
bt<layer>.log and we are already collecting that.
Send output from the build also to standard output,
for more convenient reading in Github's 'actions'
interface
  • Loading branch information
kinkie committed Dec 17, 2024
1 parent e9eb590 commit 458692d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/quick.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ jobs:
key: ${{ matrix.os }}-${{ matrix.compiler.CC }}-${{ matrix.layer.nick }}

- name: Run build on Linux
run: ./test-builds.sh ${{ matrix.layer.name }}
run: ./test-builds.sh --verbose ${{ matrix.layer.name }}

- name: Publish build logs
if: success() || failure()
Expand Down Expand Up @@ -178,7 +178,7 @@ jobs:
uses: github/codeql-action/init@v3

- name: Build Squid
run: ./test-builds.sh ./test-suite/buildtests/layer-02-maximus.opts
run: ./test-builds.sh --verbose ./test-suite/buildtests/layer-02-maximus.opts

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
6 changes: 3 additions & 3 deletions .github/workflows/slow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
- name: Run test-builds
id: test-builds
run: |
./test-builds.sh ${{ matrix.layer.name }}
./test-builds.sh --verbose ${{ matrix.layer.name }}
- name: Publish build logs
if: success() || failure()
Expand Down Expand Up @@ -126,7 +126,7 @@ jobs:
sed -i.bak 's@ltdl_ac_aux_dir=""@ltdl_ac_aux_dir="../build-aux"@' $editable || true
diff -u $editable.bak $editable || true
./test-builds.sh
./test-builds.sh --verbose
- name: Publish build logs
if: success() || failure()
Expand Down Expand Up @@ -173,7 +173,7 @@ jobs:
run: |
export MAKE=gmake
./test-builds.sh
./test-builds.sh --verbose
- name: Publish build logs
if: success() || failure()
Expand Down

0 comments on commit 458692d

Please sign in to comment.