chore: upload test builds

Upload fuse-overlayfs as job artifacts.

Signed-off-by: Leopold Talirz <leopold.talirz@gmail.com>
This commit is contained in:
Leopold Talirz 2022-09-01 16:19:37 +02:00
parent 1d4d97c55a
commit c9236a578f

View File

@ -38,9 +38,16 @@ jobs:
run: | run: |
./autogen.sh ./autogen.sh
./configure LIBS="-ldl" LDFLAGS="-static" ./configure
make -j $(nproc) make -j $(nproc)
- name: Archive build artifacts
uses: actions/upload-artifact@v3
with:
name: fuse-overlayfs-${{ matrix.arch }}-${{ matrix.distro }}
path: |
fuse-overlayfs
Test: Test:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
strategy: strategy:
@ -72,7 +79,7 @@ jobs:
- name: run configure - name: run configure
run: | run: |
./configure LIBS="-ldl" LDFLAGS="-static" ./configure
- name: build and install - name: build and install
run: | run: |
@ -80,6 +87,14 @@ jobs:
sudo make -j install sudo make -j install
sudo cp fuse-overlayfs /sbin 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 - name: run test
run: | run: |
case "${{ matrix.test }}" in case "${{ matrix.test }}" in