aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/.github/actions/build-foo-cygwin/action.yml
blob: 903c531c25389ec38e7c543b9bf37c3eff6a2d50 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12

                                      









                                             
                                     
                                                                                    
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"
        g++ -std=c++14 -o foo foo.cpp
      shell: C:\tools\cygwin\bin\bash.exe --login --norc -eo pipefail -o igncr '{0}'