setup-clang/.github/actions/build-foo-cygwin/action.yml
2023-01-02 03:35:12 +01:00

15 lines
439 B
YAML

name: Build foo.exe
description: Build foo.exe (on Cygwin)
runs:
using: composite
steps:
- run: |
IFS= read -r src_dir <<'EOF'
${{ github.workspace }}
EOF
echo "$src_dir"
src_dir="$( cygpath -ua "$src_dir" )"
cd -- "$src_dir"
clang++ --version
clang++ -std=c++14 -o foo.exe foo.cpp
shell: C:\tools\cygwin\bin\bash.exe --login --norc -eo pipefail -o igncr '{0}'