Skip to content

Commit

Permalink
feat(CI): Test Github Actions on Windows and Macos
Browse files Browse the repository at this point in the history
  • Loading branch information
leha-bot committed Dec 11, 2022
1 parent dda4885 commit 9ef1d6d
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,32 @@
# SPDX-License-Identifier: BSL-1.0+ OR BlueOak-1.0.0+

name: CMake + Conan (GCC 10)
name: CMake + Conan

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]


env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release
CC: gcc-10
CXX: g++-10

jobs:
build:
strategy:
matrix:
os:
- ubuntu-latest
- ubuntu-22.04
- windows-latest
- macos-latest

# The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac.
# You can convert this to a matrix build if you need cross-platform coverage.
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit 9ef1d6d

Please sign in to comment.