-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adding in Github Actions for CI. Linux seems fine, Windows was failing on node_js versions 8.x, 10.x and 11.x. I've removed those in this pull request as I'm not sure if the problem is on the github side or the build code in the repository. * Adding pull_request trigger and reformatting the run action for linux to be more readable. * Removing unneeded commands and cleaning up * Update windows.yml Updating to use windows-2016 instead of windows-latest to build for node js 10.x and 11.x * making changes so nodejs 8.x will build with github actions
- Loading branch information
Showing
4 changed files
with
68 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Linux Builds | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [0.12, 4.x, 6.x, 8.x, 10.x, 11.x, 12.x] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Install ubuntu-toolchain-r/test | ||
run: sudo add-apt-repository ppa:ubuntu-toolchain-r/test | ||
- name: Install libudev-dev | ||
run: sudo apt install libudev-dev | ||
- name: Build open-zwave-latest | ||
run: | | ||
wget https://github.com/OpenZWave/open-zwave/archive/master.zip | ||
unzip master.zip | ||
cd open-zwave-master | ||
sudo make install | ||
sudo ldconfig /usr/local/lib /usr/local/lib64 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- run: npm install -g node-gyp | ||
- run: npm install |
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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Windows Builds | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ${{matrix.os}} | ||
|
||
strategy: | ||
matrix: | ||
os: [windows-2016, windows-latest] | ||
node-version: [8.x, 10.x, 11.x, 12.x] | ||
exclude: | ||
- os: windows-2016 | ||
node-version: 12.x | ||
- os: windows-latest | ||
node-version: 8.x | ||
- os: windows-latest | ||
node-version: 10.x | ||
- os: windows-latest | ||
node-version: 11.x | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- run: npm install | ||
|
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