3 on: [push, pull_request]
10 bs: [autotools, cmake]
12 - uses: actions/checkout@master
13 - name: Install dependencies
14 run: ./build/ci/github_actions/macos.sh prepare
16 run: ./build/ci/build.sh -a autogen
20 run: ./build/ci/build.sh -a configure
24 run: ./build/ci/build.sh -a build
28 run: ./build/ci/build.sh -a test
31 SKIP_OPEN_FD_ERR_TEST: 1
33 run: ./build/ci/build.sh -a install
37 run: ./build/ci/build.sh -a artifact
40 - uses: actions/upload-artifact@v1
42 name: libarchive-macos-${{ matrix.bs }}-${{ github.sha }}
43 path: libarchive.tar.xz
49 bs: [autotools, cmake]
50 crypto: [mbedtls, nettle, openssl]
52 - uses: actions/checkout@master
53 - name: Install dependencies
54 run: sudo apt-get install -y build-essential cmake libssl-dev nettle-dev libmbedtls-dev libacl1-dev libbz2-dev liblzma-dev liblz4-dev libzstd-dev lzop
56 run: ./build/ci/build.sh -a autogen
60 run: ./build/ci/build.sh -a configure
63 CRYPTO: ${{ matrix.crypto }}
65 run: ./build/ci/build.sh -a build
69 run: ./build/ci/build.sh -a test
72 SKIP_OPEN_FD_ERR_TEST: 1
74 run: ./build/ci/build.sh -a install
78 run: ./build/ci/build.sh -a artifact
81 - uses: actions/upload-artifact@v1
83 name: libarchive-ubuntu-${{ matrix.bs }}-${{ matrix.crypto }}-${{ github.sha }}
84 path: libarchive.tar.xz
88 - uses: actions/checkout@master
89 - name: Install dependencies
90 run: sudo apt-get install -y build-essential cmake libssl-dev libacl1-dev libbz2-dev liblzma-dev liblz4-dev libzstd-dev lzop groff ghostscript
92 run: ./build/ci/build.sh -a autogen
94 run: ./build/ci/build.sh -a configure
96 run: ./build/ci/build.sh -a distcheck
98 SKIP_OPEN_FD_ERR_TEST: 1
101 runs-on: windows-latest
104 be: [mingw-gcc, msvc]
106 - uses: actions/checkout@master
107 - name: Install dependencies
108 run: ./build/ci/github_actions/ci.cmd deplibs
113 run: ./build/ci/github_actions/ci.cmd configure
118 run: ./build/ci/github_actions/ci.cmd build
123 run: ./build/ci/github_actions/ci.cmd test
128 run: ./build/ci/github_actions/ci.cmd install
133 run: ./build/ci/github_actions/ci.cmd artifact
137 - uses: actions/upload-artifact@v1
139 name: libarchive-windows-${{ matrix.be }}-${{ github.sha }}