setup-cpp
Version:
Install all the tools required for building and testing C++/C projects.
21 lines (18 loc) • 573 B
YAML
schemaVersion: 2.0.0
commandTests:
- name: mingw c compiler
command: bash
args: ["-l", "-c", "x86_64-w64-mingw32-gcc --version"]
expectedOutput: [".*x86_64-w64-mingw32-gcc.*"]
- name: mingw c++ compiler
command: bash
args: ["-l", "-c", "x86_64-w64-mingw32-g++ --version"]
expectedOutput: [".*x86_64-w64-mingw32-g\\+\\+.*"]
- name: powershell
command: bash
args: ["-l", "-c", "pwsh --version"]
expectedOutput: [".*PowerShell.*"]
fileExistenceTests:
- name: "cross root"
path: "/usr/x86_64-w64-mingw32"
shouldExist: true