ci: print env-related settings in each job

To make debugging easier.

Use a separate shell script instead of just a make target to ensure that
it can safely run before ./configure and without having make installed.
This commit is contained in:
Kelvin M. Klann 2023-04-22 18:10:05 -03:00
parent fde591c2b7
commit 339d395fbd
7 changed files with 48 additions and 0 deletions

View file

@ -67,6 +67,8 @@ jobs:
run: sudo apt-get update
- name: install dependencies
run: sudo apt-get install libapparmor-dev libselinux1-dev
- name: print env
run: ./ci/printenv.sh
- name: configure
run: >
CC=clang-14 ./configure --enable-fatal-warnings --enable-apparmor
@ -92,6 +94,8 @@ jobs:
run: sudo apt-get update
- name: install clang-tools-14 and dependencies
run: sudo apt-get install clang-tools-14 libapparmor-dev libselinux1-dev
- name: print env
run: ./ci/printenv.sh
- name: configure
run: >
CC=clang-14 ./configure --enable-fatal-warnings --enable-apparmor

View file

@ -68,6 +68,8 @@ jobs:
sudo apt-get install
gcc-12 libapparmor-dev libselinux1-dev expect xzdec whois
bridge-utils
- name: print env
run: ./ci/printenv.sh
- name: configure
run: >
CC=gcc-12 ./configure --prefix=/usr --enable-fatal-warnings

View file

@ -91,6 +91,9 @@ jobs:
- name: Checkout repository
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
- name: print env
run: ./ci/printenv.sh
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@b2c19fb9a2a485599ccf4ed5d65527d94bc57226

View file

@ -34,7 +34,10 @@ jobs:
github.com:443
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
- name: print env
run: ./ci/printenv.sh
- run: python3 --version
# - name: sort.py
# run: >
# ./ci/check/profiles/sort.py