test #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 GitHub Actions / testInvalid workflow file
|
||
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 | ||