-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Fix deprecated workflow commands in build * Fix path syntax, update README to fix #258
- Loading branch information
Showing
3 changed files
with
7 additions
and
20 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -164,9 +164,7 @@ jobs: | |
run: | | ||
C:\tools\cygwin\cygwinsetup.exe -qgnNdO -R C:/tools/cygwin -s http://mirrors.kernel.org/sourceware/cygwin/ -P cmake,make,libelf-devel,gcc-core,gcc-g++,libstdc++-6-devel,git,libglut-devel,libGLEW-devel,libSDL_sound-devel,libSDL-devel,avr-gcc,python2,libpng-devel | ||
shell: cmd | ||
- name: Set ENV | ||
run: | | ||
echo '::set-env name=PATH::C:\tools\cygwin\bin;C:\tools\cygwin\usr\bin' | ||
|
||
- name: Checkout ${{ github.event.pull_request.head.ref }} | ||
uses: actions/[email protected] | ||
if: ${{ github.event.pull_request }} | ||
|
@@ -188,13 +186,15 @@ jobs: | |
cd MK404 | ||
mkdir build | ||
cd build | ||
set PATH=C:\tools\cygwin\bin;C:\tools\cygwin\usr\bin | ||
bash.exe -c "cmake -DCMAKE_BUILD_TYPE=RELEASE .." | ||
shell: cmd | ||
|
||
- name: Build | ||
run: | | ||
cd ${{runner.workspace}}\MK404\build | ||
pwd | ||
set PATH=C:\tools\cygwin\bin;C:\tools\cygwin\usr\bin | ||
bash.exe -c "make -j2" | ||
shell: cmd | ||
|
||
|
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
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