Skip to content

Commit

Permalink
Use Github actions (#34)
Browse files Browse the repository at this point in the history
* Fix binding.gyp syntax and remove travis and appveyor

* Remove travis and appveyor

* Update package.json

* C++ 14?

* MacOS Target

* Only x64 for MacOS
  • Loading branch information
thiagoelg authored Feb 3, 2022
1 parent 1348743 commit a8ac44b
Show file tree
Hide file tree
Showing 7 changed files with 3,102 additions and 3,270 deletions.
1 change: 0 additions & 1 deletion .github/workflows/prebuild-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ jobs:
- run: npm i
- name: Prebuild
run: |
npm run prebuild -- --strip --all --arch ia32 -u ${{ secrets.PREBUILD_TOKEN }}
npm run prebuild -- --strip --all --arch x64 -u ${{ secrets.PREBUILD_TOKEN }}
prebuild-windows:
name: Prebuild Binaries for Windows
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/prebuild-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ jobs:
- run: npm i
- name: Prebuild
run: |
npm run prebuild -- --strip --all --arch ia32
npm run prebuild -- --strip --all --arch x64
prebuild-windows:
name: Prebuild Binaries for Windows
Expand Down
45 changes: 0 additions & 45 deletions .travis.yml

This file was deleted.

51 changes: 0 additions & 51 deletions appveyor.yml

This file was deleted.

10 changes: 3 additions & 7 deletions binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -56,18 +56,14 @@
]
}
}],
['OS="mac"', {
'cflags':[
"-stdlib=libc++"
]
}],
[ 'OS=="mac"', {
['OS=="mac"', {
'cflags':[
"-stdlib=libc++"
],
'xcode_settings': {
"OTHER_CPLUSPLUSFLAGS":["-std=c++11", "-stdlib=libc++"],
"OTHER_CPLUSPLUSFLAGS":["-std=c++14", "-stdlib=libc++"],
"OTHER_LDFLAGS": ["-stdlib=libc++"],
"MACOSX_DEPLOYMENT_TARGET": "10.7",
},
}],
]
Expand Down
Loading

0 comments on commit a8ac44b

Please sign in to comment.