diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 8790d37..146c200 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -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