Skip to content

Add more OS and tool combinations in CI #108

Add more OS and tool combinations in CI

Add more OS and tool combinations in CI #108

Workflow file for this run

name: test build process
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
matrix:
include:
- toolset: clang
compiler: clang++-10

Check failure on line 15 in .github/workflows/TestBuild.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/TestBuild.yml

Invalid workflow file

You have an error in your yaml syntax on line 15
cxxstd: "14,17"
os: ubuntu-20.04
- toolset: gcc-10
cxxstd: "14,17"
os: ubuntu-20.04
install: g++-10
- toolset: clang
cxxstd: "14,17"
os: macos-11
runs-on: ${{matrix.os}}
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: 'true'
- name: Set up ninja
uses: seanmiddleditch/gha-setup-ninja@master
- name: Prepare llvm build directory name
id: llvm-build-dir
run: |
echo "commit=$(git submodule status llvm | awk '{print $1;}')" >> $GITHUB_OUTPUT
- name: Cache llvm build directory
uses: actions/cache@v3
with:
path: llvm
key: build-${{ steps.llvm-build-dir.outputs.commit }}
- name: Test build
run: bash ./tests/Actions/TestBuild.sh llvm/build-${{ steps.llvm-build-dir.outputs.commit }}