Use Node JS for building duktape library (#248)

* Use Node JS for building duktape library

* Remove Python 2 dependency

* Inherit PATH from environment in Actions

Remove build cache of the msys2 installation in Travis CI.

* Remove old command
This commit is contained in:
Tindy X
2020-09-19 03:05:26 +08:00
committed by GitHub
parent 629b1bf222
commit c0b62062d9
3 changed files with 19 additions and 13 deletions

View File

@@ -49,10 +49,15 @@ jobs:
shell: msys2 {0}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2-beta
with:
node-version: '12'
- uses: msys2/setup-msys2@v2
with:
update: true
install: base-devel git mingw-w64-x86_64-gcc mingw-w64-x86_64-cmake mingw-w64-x86_64-libevent mingw-w64-x86_64-pcre2 python2 python2-pip
install: base-devel git mingw-w64-x86_64-gcc mingw-w64-x86_64-cmake mingw-w64-x86_64-libevent mingw-w64-x86_64-pcre2
msystem: MINGW64
path-type: inherit
- name: Build
run: bash scripts/build.windows.release.sh
- name: Upload
@@ -69,11 +74,15 @@ jobs:
shell: msys2 {0}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2-beta
with:
node-version: '12'
- uses: msys2/setup-msys2@v2
with:
update: true
install: base-devel git mingw-w64-i686-gcc mingw-w64-i686-cmake mingw-w64-i686-libevent mingw-w64-i686-pcre2 python2 python2-pip
install: base-devel git mingw-w64-i686-gcc mingw-w64-i686-cmake mingw-w64-i686-libevent mingw-w64-i686-pcre2
msystem: MINGW32
path-type: inherit
- name: Build
run: bash scripts/build.windows.release.sh
- name: Upload