mirror of
https://github.com/containers/fuse-overlayfs.git
synced 2025-08-03 18:05:58 -04:00
chore: upload test builds
Upload fuse-overlayfs as job artifacts. Signed-off-by: Leopold Talirz <leopold.talirz@gmail.com>
This commit is contained in:
parent
1d4d97c55a
commit
c9236a578f
19
.github/workflows/test.yaml
vendored
19
.github/workflows/test.yaml
vendored
@ -38,9 +38,16 @@ jobs:
|
||||
|
||||
run: |
|
||||
./autogen.sh
|
||||
./configure
|
||||
LIBS="-ldl" LDFLAGS="-static" ./configure
|
||||
make -j $(nproc)
|
||||
|
||||
- name: Archive build artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: fuse-overlayfs-${{ matrix.arch }}-${{ matrix.distro }}
|
||||
path: |
|
||||
fuse-overlayfs
|
||||
|
||||
Test:
|
||||
runs-on: ubuntu-20.04
|
||||
strategy:
|
||||
@ -72,7 +79,7 @@ jobs:
|
||||
|
||||
- name: run configure
|
||||
run: |
|
||||
./configure
|
||||
LIBS="-ldl" LDFLAGS="-static" ./configure
|
||||
|
||||
- name: build and install
|
||||
run: |
|
||||
@ -80,6 +87,14 @@ jobs:
|
||||
sudo make -j install
|
||||
sudo cp fuse-overlayfs /sbin
|
||||
|
||||
- name: Archive build artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: fuse-overlayfs-x86_64-ubuntu20.04
|
||||
path: |
|
||||
fuse-overlayfs
|
||||
if: ${{ matrix.test == 'ovl-whiteouts' }}
|
||||
|
||||
- name: run test
|
||||
run: |
|
||||
case "${{ matrix.test }}" in
|
||||
|
Loading…
x
Reference in New Issue
Block a user