jurplel / install-qt-action

Install Qt on your Github Actions workflows with just one simple action
MIT License
459 stars 78 forks source link

mingw32-make: *** [Makefile:46: release] Error 2 #147

Closed ghost closed 2 years ago

ghost commented 2 years ago

I want to compile my code with Compile: qmake && make.

https://github.com/PradeepSimba/test/blob/main/.github/workflows/main.yml

But , If I run it comes an error .

https://github.com/PradeepSimba/test/runs/6637488143?check_suite_focus=true#step:7:59

How can I solve this error ?

pzhlkj6612 commented 2 years ago

Hi, @PradeepSimba! Could you please share how you solved the problem?


To make search effective, I copied and pasted the content of the GitHub Actions log and YAML file here.

https://github.com/PradeepSimba/test/blob/efd2e986ba27c1a4468357b422ac8b385372f5ad/.github/workflows/main.yml

...
    steps:
    - name: Git checkout
      uses: actions/checkout@v2
    - uses: actions/checkout@v2
    - uses: ilammy/msvc-dev-cmd@v1
    - name: Install Qt
      uses: jurplel/install-qt-action@v2
    - name: compile qmake
      run:  qmake
    - name: compile make
      run:  make

https://github.com/PradeepSimba/test/runs/6637488143?check_suite_focus=true#step:7:59

...
C:/ProgramData/Chocolatey/lib/mingw/tools/install/mingw64/bin/mingw32-make -f Makefile.Release
Makefile.Release:70: *** missing separator.  Stop.
mingw32-make[1]: Entering directory 'D:/a/test/test'
mingw32-make[1]: Leaving directory 'D:/a/test/test'
mingw32-make: *** [Makefile:46: release] Error 2
...
ghost commented 2 years ago

@pzhlkj6612 Just follow this project => https://github.com/jaredtao/HelloActions-Qt

pzhlkj6612 commented 2 years ago

@PradeepSimba OK, thank you.