Ensure zip members are searched for case-sensitively on all OSes #45
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] | |
jobs: | |
all: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
# os: [macos-latest, ubuntu-latest, windows-latest] | |
os: [macos-latest, ubuntu-latest] | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
- name: install dependencies (Windows) | |
if: ${{ runner.os == 'Windows' }} | |
uses: lukka/run-vcpkg@v10 | |
id: runvcpkg | |
with: | |
vcpkgGitCommitId: 8bb3f9e4a08a5b71ee93a6f1bcdd7a258bb48392 | |
vcpkgTriplet: x64-windows | |
vcpkgArguments: zlib | |
- name: prepare build directory | |
run: | | |
cmake -E make_directory ${{runner.workspace}}/build | |
- name: configure (Unix) | |
if: ${{ runner.os != 'Windows' }} | |
working-directory: ${{runner.workspace}}/build | |
run: | | |
cmake ${{github.workspace}} | |
- name: configure (Windows) | |
if: ${{ runner.os == 'Windows' }} | |
working-directory: ${{runner.workspace}}/build | |
run: | | |
cmake -DCMAKE_TOOLCHAIN_FILE=${{env.VCPKG_ROOT}}/scripts/buildsystems/vcpkg.cmake ${{github.workspace}} | |
- name: build | |
working-directory: ${{runner.workspace}}/build | |
run: | | |
cmake --build . --config Release |