Skip to content

Added quotes

Added quotes #18

Workflow file for this run

name: Build
on:
push:
workflow_dispatch:
env:
BUILD_CONFIG: Release
BUILD_DIR: build
jobs:
test:
strategy:
fail-fast: false
matrix:
include:
- name: linux
os: ubuntu-latest
generator: "Unix Makefiles"
- name: macOS
os: macos-latest
generator: "Xcode"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: "Build and test"
shell: bash
env:
GENERATOR: ${{ matrix.generator }}
run: |

Check failure on line 33 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / Build

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 33, Col: 14): Unexpected symbol: '$BUILD_CONFIG'. Located at position 5 within expression: env.$BUILD_CONFIG
ctest --build-and-test . ./build_$OSTYPE --build-generator "${{ env.GENERATOR }}" --test-command ctest -C ${{ env.$BUILD_CONFIG }} --verbose