diff options
author | 2023-04-22 18:10:05 -0300 | |
---|---|---|
committer | 2023-04-28 04:45:57 -0300 | |
commit | 339d395fbdceabc6b8f70116823abcae5e1e18d5 (patch) | |
tree | b689c484862fa103db6f3484f21cb54ec60077bf /.github/workflows | |
parent | ci: print some program versions (diff) | |
download | firejail-339d395fb.tar.gz firejail-339d395fb.tar.zst firejail-339d395fb.zip |
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.
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/build-extra.yml | 4 | ||||
-rw-r--r-- | .github/workflows/build.yml | 2 | ||||
-rw-r--r-- | .github/workflows/codeql-analysis.yml | 3 | ||||
-rw-r--r-- | .github/workflows/profile-checks.yml | 3 |
4 files changed, 12 insertions, 0 deletions
diff --git a/.github/workflows/build-extra.yml b/.github/workflows/build-extra.yml index d11c10718..04023ab45 100644 --- a/.github/workflows/build-extra.yml +++ b/.github/workflows/build-extra.yml | |||
@@ -67,6 +67,8 @@ jobs: | |||
67 | run: sudo apt-get update | 67 | run: sudo apt-get update |
68 | - name: install dependencies | 68 | - name: install dependencies |
69 | run: sudo apt-get install libapparmor-dev libselinux1-dev | 69 | run: sudo apt-get install libapparmor-dev libselinux1-dev |
70 | - name: print env | ||
71 | run: ./ci/printenv.sh | ||
70 | - name: configure | 72 | - name: configure |
71 | run: > | 73 | run: > |
72 | CC=clang-14 ./configure --enable-fatal-warnings --enable-apparmor | 74 | CC=clang-14 ./configure --enable-fatal-warnings --enable-apparmor |
@@ -92,6 +94,8 @@ jobs: | |||
92 | run: sudo apt-get update | 94 | run: sudo apt-get update |
93 | - name: install clang-tools-14 and dependencies | 95 | - name: install clang-tools-14 and dependencies |
94 | run: sudo apt-get install clang-tools-14 libapparmor-dev libselinux1-dev | 96 | run: sudo apt-get install clang-tools-14 libapparmor-dev libselinux1-dev |
97 | - name: print env | ||
98 | run: ./ci/printenv.sh | ||
95 | - name: configure | 99 | - name: configure |
96 | run: > | 100 | run: > |
97 | CC=clang-14 ./configure --enable-fatal-warnings --enable-apparmor | 101 | CC=clang-14 ./configure --enable-fatal-warnings --enable-apparmor |
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4af788044..b72bdd611 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml | |||
@@ -68,6 +68,8 @@ jobs: | |||
68 | sudo apt-get install | 68 | sudo apt-get install |
69 | gcc-12 libapparmor-dev libselinux1-dev expect xzdec whois | 69 | gcc-12 libapparmor-dev libselinux1-dev expect xzdec whois |
70 | bridge-utils | 70 | bridge-utils |
71 | - name: print env | ||
72 | run: ./ci/printenv.sh | ||
71 | - name: configure | 73 | - name: configure |
72 | run: > | 74 | run: > |
73 | CC=gcc-12 ./configure --prefix=/usr --enable-fatal-warnings | 75 | CC=gcc-12 ./configure --prefix=/usr --enable-fatal-warnings |
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 952185b8a..e1353aa86 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml | |||
@@ -91,6 +91,9 @@ jobs: | |||
91 | - name: Checkout repository | 91 | - name: Checkout repository |
92 | uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab | 92 | uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab |
93 | 93 | ||
94 | - name: print env | ||
95 | run: ./ci/printenv.sh | ||
96 | |||
94 | # Initializes the CodeQL tools for scanning. | 97 | # Initializes the CodeQL tools for scanning. |
95 | - name: Initialize CodeQL | 98 | - name: Initialize CodeQL |
96 | uses: github/codeql-action/init@b2c19fb9a2a485599ccf4ed5d65527d94bc57226 | 99 | uses: github/codeql-action/init@b2c19fb9a2a485599ccf4ed5d65527d94bc57226 |
diff --git a/.github/workflows/profile-checks.yml b/.github/workflows/profile-checks.yml index fc23f5fa1..9d9e67fe6 100644 --- a/.github/workflows/profile-checks.yml +++ b/.github/workflows/profile-checks.yml | |||
@@ -34,7 +34,10 @@ jobs: | |||
34 | github.com:443 | 34 | github.com:443 |
35 | 35 | ||
36 | - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab | 36 | - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab |
37 | - name: print env | ||
38 | run: ./ci/printenv.sh | ||
37 | - run: python3 --version | 39 | - run: python3 --version |
40 | |||
38 | # - name: sort.py | 41 | # - name: sort.py |
39 | # run: > | 42 | # run: > |
40 | # ./ci/check/profiles/sort.py | 43 | # ./ci/check/profiles/sort.py |