Skip to content

more

more #74

Workflow file for this run

name: ci
on:
workflow_dispatch:
push:
branches: ["3.7", "main", "macos-windows-ci"]
pull_request:
# The branches below must be a subset of the branches above
branches: ["3.7", "main"]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
ci:
name: ${{ join(matrix.languages, ',') }} / ${{ matrix.os }}
strategy:
matrix:
languages: [[cpp], [csharp], [java]]
os: [macos-latest, ubuntu-latest, windows-latest]
configs: cpp98-shared cpp11-shared

Check failure on line 22 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / ci

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 22, Col: 18): Unexpected value 'cpp98-shared cpp11-shared'
include:
- os: macos-latest
languages: [swift, objective-c]
- os: macos-latest
languages: [cpp, swift, objective-c]
configs: "xcodesdk cpp11-xcodesdk arc-xcodesdk"
- os: macos-latest
languages: [php, ruby, python, js]
cpp: true
- os: ubuntu-latest
languages: [php, ruby, python, js]
cpp: true
- os: windows-latest
languages: [python, js]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Dependencies
uses: ./.github/actions/setup-dependencies
- name: Setup ccache
uses: hendrikmuhs/ccache-action@v1.2
with:
key: ${{ runner.os }}-build-${{ join(matrix.languages, '-') }}-${{ github.sha }}
if: startsWith(matrix.os, 'ubuntu') || startsWith(matrix.os, 'macos')
- name: Window Cache
if: startsWith(matrix.os, 'windows')
uses: actions/cache@v3
with:
path: |
**/bin
**/obj
key: ${{ runner.os }}-build-${{ github.sha }}
restore-keys: |
${{ runner.os }}-build-${{ github.sha }}
${{ runner.os }}-build-
- name: Build ${{ join(matrix.languages, ',') }} on ${{ matrix.os }}
uses: ./.github/actions/build
- name: Test ${{ join(matrix.languages, ',') }} on ${{ matrix.os }}
uses: ./.github/actions/test