diff options
author | 2024-02-22 10:09:26 -0300 | |
---|---|---|
committer | 2024-02-29 08:52:24 -0300 | |
commit | c9531d95ed3f12c382a0292e9eb508a9b9c96532 (patch) | |
tree | 4fb01ef4456f41906bf10831b8d8849e719f9a79 /.github/workflows | |
parent | build: use generic wildcard on package install (diff) | |
download | firejail-c9531d95ed3f12c382a0292e9eb508a9b9c96532.tar.gz firejail-c9531d95ed3f12c382a0292e9eb508a9b9c96532.tar.zst firejail-c9531d95ed3f12c382a0292e9eb508a9b9c96532.zip |
build: add print-version target and use in CI
To reduce TARNAME hardcoding.
Added on commit 6a89ab023 ("ci: run firejail --version after
build/install", 2022-05-16) / PR #5148.
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/build-extra.yml | 2 | ||||
-rw-r--r-- | .github/workflows/build.yml | 4 | ||||
-rw-r--r-- | .github/workflows/test.yml | 20 |
3 files changed, 13 insertions, 13 deletions
diff --git a/.github/workflows/build-extra.yml b/.github/workflows/build-extra.yml index 918c879ad..0d9ae98ad 100644 --- a/.github/workflows/build-extra.yml +++ b/.github/workflows/build-extra.yml | |||
@@ -73,4 +73,4 @@ jobs: | |||
73 | - name: make install | 73 | - name: make install |
74 | run: sudo make install | 74 | run: sudo make install |
75 | - name: print version | 75 | - name: print version |
76 | run: command -V firejail && firejail --version | 76 | run: make print-version |
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index df706c898..4880c31e1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml | |||
@@ -87,5 +87,5 @@ jobs: | |||
87 | run: make | 87 | run: make |
88 | - name: make install | 88 | - name: make install |
89 | run: sudo make install | 89 | run: sudo make install |
90 | - name: print firejail version | 90 | - name: print version |
91 | run: command -V firejail && firejail --version | 91 | run: make print-version |
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c76401022..3e7153c46 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml | |||
@@ -80,8 +80,8 @@ jobs: | |||
80 | run: make -j "$(nproc)" | 80 | run: make -j "$(nproc)" |
81 | - name: make install | 81 | - name: make install |
82 | run: sudo make install | 82 | run: sudo make install |
83 | - name: print firejail version | 83 | - name: print version |
84 | run: command -V firejail && firejail --version | 84 | run: make print-version |
85 | - run: make lab-setup | 85 | - run: make lab-setup |
86 | - run: make test-seccomp-extra | 86 | - run: make test-seccomp-extra |
87 | - run: make test-firecfg | 87 | - run: make test-firecfg |
@@ -128,8 +128,8 @@ jobs: | |||
128 | run: make -j "$(nproc)" | 128 | run: make -j "$(nproc)" |
129 | - name: make install | 129 | - name: make install |
130 | run: sudo make install | 130 | run: sudo make install |
131 | - name: print firejail version | 131 | - name: print version |
132 | run: command -V firejail && firejail --version | 132 | run: make print-version |
133 | - run: make lab-setup | 133 | - run: make lab-setup |
134 | - run: make test-private-etc | 134 | - run: make test-private-etc |
135 | - run: make test-fs | 135 | - run: make test-fs |
@@ -167,8 +167,8 @@ jobs: | |||
167 | run: make -j "$(nproc)" | 167 | run: make -j "$(nproc)" |
168 | - name: make install | 168 | - name: make install |
169 | run: sudo make install | 169 | run: sudo make install |
170 | - name: print firejail version | 170 | - name: print version |
171 | run: command -V firejail && firejail --version | 171 | run: make print-version |
172 | - run: make lab-setup | 172 | - run: make lab-setup |
173 | - run: make test-environment | 173 | - run: make test-environment |
174 | - run: make test-profiles | 174 | - run: make test-profiles |
@@ -209,8 +209,8 @@ jobs: | |||
209 | run: make -j "$(nproc)" | 209 | run: make -j "$(nproc)" |
210 | - name: make install | 210 | - name: make install |
211 | run: sudo make install | 211 | run: sudo make install |
212 | - name: print firejail version | 212 | - name: print version |
213 | run: command -V firejail && firejail --version | 213 | run: make print-version |
214 | - run: make lab-setup | 214 | - run: make lab-setup |
215 | - run: make test-utils | 215 | - run: make test-utils |
216 | 216 | ||
@@ -255,8 +255,8 @@ jobs: | |||
255 | run: make -j "$(nproc)" | 255 | run: make -j "$(nproc)" |
256 | - name: make install | 256 | - name: make install |
257 | run: sudo make install | 257 | run: sudo make install |
258 | - name: print firejail version | 258 | - name: print version |
259 | run: command -V firejail && firejail --version | 259 | run: make print-version |
260 | - run: make lab-setup | 260 | - run: make lab-setup |
261 | - run: make test-fnetfilter | 261 | - run: make test-fnetfilter |
262 | - run: make test-sysutils | 262 | - run: make test-sysutils |