Skip to content

fix(sfcgalop/getopt_win): Remove unused variable optreset #1445

fix(sfcgalop/getopt_win): Remove unused variable optreset

fix(sfcgalop/getopt_win): Remove unused variable optreset #1445

Workflow file for this run

name: Build with vcpkg
on: [push, pull_request]
jobs:
job:
name: ${{ matrix.os }}-${{ github.workflow }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
include:
- os: windows-latest
triplet: x64-windows
- os: ubuntu-latest
triplet: x64-linux
- os: macos-latest
triplet: x64-osx
env:
VCPKG_DEFAULT_TRIPLET: ${{ matrix.triplet }}
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Install Ninja (Ubuntu)
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get update && sudo apt-get install -y ninja-build
- name: Install Ninja (macOS)
if: matrix.os == 'macos-latest'
run: brew install ninja autoconf automake libtool
- name: Restore from cache and run vcpkg
uses: lukka/run-vcpkg@v11
id: runvcpkg
- name: Run CMake+vcpkg+NinjaMulti-Config (Release configuration)
uses: lukka/run-cmake@v10
id: runcmake
with:
cmakeListsTxtPath: '${{ github.workspace }}/CMakeLists.txt'
configurePreset: 'ninja-multi-vcpkg'
buildPreset: 'ninja-multi-vcpkg'
buildPresetAdditionalArgs: '[`--config Release`]'