diff mbox series

[e2fsprogs] ci.yml: store the config.h files as workflow artifacts

Message ID 20230208065858.227695-1-ebiggers@kernel.org
State Accepted
Headers show
Series [e2fsprogs] ci.yml: store the config.h files as workflow artifacts | expand

Commit Message

Eric Biggers Feb. 8, 2023, 6:58 a.m. UTC
From: Eric Biggers <ebiggers@google.com>

Store the config.h file for each platform as a workflow artifact, so
that it will be possible to download them and compare them to
util/android_config.h.

Signed-off-by: Eric Biggers <ebiggers@google.com>
---
 .github/workflows/ci.yml | 12 ++++++++++++
 1 file changed, 12 insertions(+)


base-commit: a06369183565bccbbba9a47b6c55622da8a1de85

Comments

Eric Biggers March 7, 2023, 7:54 p.m. UTC | #1
On Tue, Feb 07, 2023 at 10:58:58PM -0800, Eric Biggers wrote:
> From: Eric Biggers <ebiggers@google.com>
> 
> Store the config.h file for each platform as a workflow artifact, so
> that it will be possible to download them and compare them to
> util/android_config.h.
> 
> Signed-off-by: Eric Biggers <ebiggers@google.com>
> ---
>  .github/workflows/ci.yml | 12 ++++++++++++
>  1 file changed, 12 insertions(+)

Ping.
Theodore Ts'o March 17, 2023, 4:10 a.m. UTC | #2
On Tue, 7 Feb 2023 22:58:58 -0800, Eric Biggers wrote:
> From: Eric Biggers <ebiggers@google.com>
> 
> Store the config.h file for each platform as a workflow artifact, so
> that it will be possible to download them and compare them to
> util/android_config.h.
> 
> 
> [...]

Applied, thanks!

[1/1] ci.yml: store the config.h files as workflow artifacts
      commit: 5df0323e879982a3ee5062b2445456226e8b690f

Best regards,
diff mbox series

Patch

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 51b27c88d..6b0f91506 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -27,6 +27,10 @@  jobs:
     - run: make -j8 check V=1 CFLAGS_WARN="-Werror"
     - run: make -j8 install V=1 DESTDIR=$PWD/installdir
     - run: make -j8 uninstall V=1 DESTDIR=$PWD/installdir
+    - uses: actions/upload-artifact@v3
+      with:
+        name: ubuntu-config.h
+        path: lib/config.h
 
   i386-build-and-test:
     name: Build and test with gcc -m32
@@ -79,6 +83,10 @@  jobs:
     - run: make -j8 check V=1 CFLAGS_WARN="-Werror -Wno-error=deprecated-declarations"
     - run: make -j8 install DESTDIR=$PWD/installdir
     - run: make -j8 uninstall DESTDIR=$PWD/installdir
+    - uses: actions/upload-artifact@v3
+      with:
+        name: macOS-config.h
+        path: lib/config.h
 
   windows-msys2-build:
     name: Build mke2fs on Windows with ${{matrix.sys}}
@@ -114,3 +122,7 @@  jobs:
     - run: make -j8 -C misc/ mke2fs V=1 CFLAGS_WARN="-Werror"
     - run: touch image.ext4
     - run: misc/mke2fs.exe -T ext4 image.ext4 128M
+    - uses: actions/upload-artifact@v3
+      with:
+        name: windows-${{matrix.env}}-config.h
+        path: lib/config.h