aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2019-12-28 23:40:32 +0000
committerMartin Matuska <mm@FreeBSD.org>2019-12-28 23:40:32 +0000
commit6922acad9a482c17c7af1acdb4d11d03f19bb1dc (patch)
treeb7e2717582504805f31e2195f7c74c5d6fa82a45 /.github/workflows/ci.yml
parenta297901e6c90d415ac49c88002dd4e02dc49e32b (diff)
downloadsrc-6922acad9a482c17c7af1acdb4d11d03f19bb1dc.tar.gz
src-6922acad9a482c17c7af1acdb4d11d03f19bb1dc.zip
Update vendor/libarchive/dist to git 1dae5a549fe4ab99fd3a49a9edcf897a7b2b1844
Relevant vendor changes: Issue #351: Refactor and implement private state logic for write filters PR #1252: RAR5 reader - verify window size for solid files (OSS-Fuzz 15482) PR #1255: zip writer - don't append unused NUL for directories PR #1260: Fix sparse file offset overflow on 32-bit systems PR #1263: UNICODE filename support for reading lha/lzh format Issue #1276: Bugfix and optimize archive_wstring_append_from_mbs() PR #1288: Add the "xattrhdr" option to pax write options PR #1295: 7z reader - fix reading archives with digests in PackInfo PR #1296: RAR5 reader - verify window size for multivolume archives PR #1297: ZIP reader - support LZMA_STREAM_END marker in 'lzma alone' files Issue #1298: Fix a heap-buffer-overflow in archive_string_append_from_wcs() OSS-Fuzz 19360, 19362: LHA reader - plug two memory leaks on error Fix possible off-by-one when dealing with readlink(2)
Notes
Notes: svn path=/vendor/libarchive/dist/; revision=356163
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml85
1 files changed, 81 insertions, 4 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 11fa1b6b8464..7d5ba4fa4d80 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -1,16 +1,44 @@
-name: Ubuntu
+name: CI
on: [push, pull_request]
jobs:
- Build-and-test:
+ MacOS:
+ runs-on: macos-latest
+ strategy:
+ matrix:
+ bs: [autotools, cmake]
+ steps:
+ - uses: actions/checkout@master
+ - name: Install dependencies
+ run: ./build/ci/github_actions/macos.sh prepare
+ - name: Autogen
+ run: ./build/ci/build.sh -a autogen
+ env:
+ BS: ${{ matrix.bs }}
+ - name: Configure
+ run: ./build/ci/build.sh -a configure
+ env:
+ BS: ${{ matrix.bs }}
+ - name: Build
+ run: ./build/ci/build.sh -a build
+ env:
+ BS: ${{ matrix.bs }}
+ - name: Test
+ run: ./build/ci/build.sh -a test
+ env:
+ BS: ${{ matrix.bs }}
+ SKIP_OPEN_FD_ERR_TEST: 1
+ - name: Install
+ run: ./build/ci/build.sh -a install
+ env:
+ BS: ${{ matrix.bs }}
+ Ubuntu:
runs-on: ubuntu-latest
-
strategy:
matrix:
bs: [autotools, cmake]
-
steps:
- uses: actions/checkout@master
- name: Install dependencies
@@ -31,7 +59,56 @@ jobs:
run: ./build/ci/build.sh -a test
env:
BS: ${{ matrix.bs }}
+ SKIP_OPEN_FD_ERR_TEST: 1
- name: Install
run: ./build/ci/build.sh -a install
env:
BS: ${{ matrix.bs }}
+
+ Ubuntu-distcheck:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@master
+ - name: Install dependencies
+ run: sudo apt-get install -y build-essential cmake libssl-dev libacl1-dev libbz2-dev liblzma-dev libzip-dev liblz4-dev libzstd-dev lzop groff ghostscript
+ - name: Autogen
+ run: ./build/ci/build.sh -a autogen
+ - name: Configure
+ run: ./build/ci/build.sh -a configure
+ - name: Distcheck
+ run: ./build/ci/build.sh -a distcheck
+ env:
+ SKIP_OPEN_FD_ERR_TEST: 1
+
+ Windows:
+ runs-on: windows-latest
+ strategy:
+ matrix:
+ be: [mingw-gcc, msvc]
+ steps:
+ - uses: actions/checkout@master
+ - name: Install dependencies
+ run: ./build/ci/github_actions/ci.cmd deplibs
+ shell: cmd
+ env:
+ BE: ${{ matrix.be }}
+ - name: Configure
+ run: ./build/ci/github_actions/ci.cmd configure
+ shell: cmd
+ env:
+ BE: ${{ matrix.be }}
+ - name: Build
+ run: ./build/ci/github_actions/ci.cmd build
+ shell: cmd
+ env:
+ BE: ${{ matrix.be }}
+ - name: Test
+ run: ./build/ci/github_actions/ci.cmd test
+ shell: cmd
+ env:
+ BE: ${{ matrix.be }}
+ - name: Install
+ run: ./build/ci/github_actions/ci.cmd install
+ shell: cmd
+ env:
+ BE: ${{ matrix.be }}