Skip to content

Revert submodule URLs to HTTPS #6

Revert submodule URLs to HTTPS

Revert submodule URLs to HTTPS #6

Workflow file for this run

name: ci
on:
push:
pull_request:
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout (with submodules)
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install dependencies (Linux)
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y build-essential cmake libboost-all-dev
- name: Install dependencies (macOS)
if: runner.os == 'macOS'
run: |
brew update
brew install cmake boost
- name: Install dependencies (Windows)
if: runner.os == 'Windows'
shell: pwsh
run: |
choco install -y cmake --installargs 'ADD_CMAKE_TO_PATH=System'
choco install -y boost-msvc-14.3
- name: Configure
run: cmake -S . -B build -DCMAKE_POLICY_VERSION_MINIMUM=3.5
- name: Build (Windows)
if: runner.os == 'Windows'
run: cmake --build build --config Release
- name: Build (Linux/macOS)
if: runner.os != 'Windows'
run: cmake --build build -- -j2