Skip to content

test

test #1

Workflow file for this run

name: test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
build:
timeout-minutes: 30
strategy:
matrix:
os: [ubuntu-22.04 macos-latest windows-2019]
runs-on: ${{matrix.os}}
steps:
- uses: ilammy/msvc-dev-cmd@v1
- uses: actions/checkout@v3
- name: Install Conan
id: conan
uses: turtlebrowser/get-conan@main
- name: Build Windows
if: matrix.os == "windows-2019"

Check failure on line 24 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / test

Invalid workflow file

The workflow is not valid. .github/workflows/test.yml (Line: 24, Col: 11): Unexpected symbol: '"windows-2019"'. Located at position 14 within expression: matrix.os == "windows-2019" .github/workflows/test.yml (Line: 34, Col: 11): Unexpected symbol: '"windows-2019"'. Located at position 14 within expression: matrix.os != "windows-2019"
shell: powershell
run: |
conan remote add artifactory http://localhost:8081/artifactory/api/conan/conan-local
conan profile detect --force
conan install . --output-folder=build --build=missing
cmake .. -G "Visual Studio 15 2017" -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake
cmake --build . --config Release
Release\sscad.exe
- name: Build Unix
if: matrix.os != "windows-2019"
run: |
conan remote add artifactory http://localhost:8081/artifactory/api/conan/conan-local
conan profile detect --force
conan install . --output-folder=build --build=missing
cmake .. -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -DCMAKE_BUILD_TYPE=Release
cmake --build .
./sscad