Only write Zip64 EOCD if fields don't fit in normal EOCD. #346
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: [push] | |
permissions: | |
contents: read | |
jobs: | |
all: | |
runs-on: ${{ matrix.os }} | |
name: ${{ matrix.os }}${{ matrix.name_extra }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [macos-latest, ubuntu-latest, windows-latest] | |
cmake_extra: [""] | |
name_extra: [""] | |
include: | |
- os: windows-latest | |
cmake_extra: "-T ClangCl" | |
name_extra: " clang-cl" | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
- name: install python and pip | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
- name: install dependencies (Linux) | |
if: ${{ runner.os == 'Linux' }} | |
run: | | |
sudo apt-get install libzstd-dev | |
- name: install dependencies (Windows) | |
if: ${{ runner.os == 'Windows' }} | |
uses: lukka/run-vcpkg@v7 | |
id: runvcpkg | |
with: | |
vcpkgGitCommitId: f93ba152d55e1d243160e690bc302ffe8638358e | |
vcpkgTriplet: x64-windows | |
vcpkgArguments: zlib bzip2 liblzma zstd | |
- name: prepare build directory and install nihtest | |
run: | | |
cmake -E make_directory ${{runner.workspace}}/build | |
pip install nihtest | |
- name: configure (Unix) | |
if: ${{ runner.os != 'Windows' }} | |
working-directory: ${{runner.workspace}}/build | |
run: | | |
cmake ${{ matrix.cmake_extra }} ${{github.workspace}} | |
- name: configure (Windows) | |
if: ${{ runner.os == 'Windows' }} | |
working-directory: ${{runner.workspace}}/build | |
run: | | |
cmake ${{ matrix.cmake_extra }} -DCMAKE_TOOLCHAIN_FILE=${{env.VCPKG_ROOT}}/scripts/buildsystems/vcpkg.cmake ${{github.workspace}} | |
- name: build | |
working-directory: ${{runner.workspace}}/build | |
run: | | |
cmake --build . --config Release | |
- name: Archive production artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: regress-directory | |
path: | | |
${{runner.workspace}}/build/regress | |
- name: test | |
working-directory: ${{runner.workspace}}/build | |
run: | | |
ctest --output-on-failure -v -C Release |