Merge pull request #373 from ltalirz/upload-artifacts

upload builds from CI
This commit is contained in:
Giuseppe Scrivano 2022-09-11 21:09:15 +02:00 committed by GitHub
commit 5b156f97a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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