Skip to content

Commit a8ac44b

Browse files
authored
Use Github actions (#34)
* Fix binding.gyp syntax and remove travis and appveyor * Remove travis and appveyor * Update package.json * C++ 14? * MacOS Target * Only x64 for MacOS
1 parent 1348743 commit a8ac44b

7 files changed

Lines changed: 3102 additions & 3270 deletions

File tree

.github/workflows/prebuild-master.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ jobs:
3737
- run: npm i
3838
- name: Prebuild
3939
run: |
40-
npm run prebuild -- --strip --all --arch ia32 -u ${{ secrets.PREBUILD_TOKEN }}
4140
npm run prebuild -- --strip --all --arch x64 -u ${{ secrets.PREBUILD_TOKEN }}
4241
prebuild-windows:
4342
name: Prebuild Binaries for Windows

.github/workflows/prebuild-pr.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ jobs:
3535
- run: npm i
3636
- name: Prebuild
3737
run: |
38-
npm run prebuild -- --strip --all --arch ia32
3938
npm run prebuild -- --strip --all --arch x64
4039
prebuild-windows:
4140
name: Prebuild Binaries for Windows

.travis.yml

Lines changed: 0 additions & 45 deletions
This file was deleted.

appveyor.yml

Lines changed: 0 additions & 51 deletions
This file was deleted.

binding.gyp

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,18 +56,14 @@
5656
]
5757
}
5858
}],
59-
['OS="mac"', {
60-
'cflags':[
61-
"-stdlib=libc++"
62-
]
63-
}],
64-
[ 'OS=="mac"', {
59+
['OS=="mac"', {
6560
'cflags':[
6661
"-stdlib=libc++"
6762
],
6863
'xcode_settings': {
69-
"OTHER_CPLUSPLUSFLAGS":["-std=c++11", "-stdlib=libc++"],
64+
"OTHER_CPLUSPLUSFLAGS":["-std=c++14", "-stdlib=libc++"],
7065
"OTHER_LDFLAGS": ["-stdlib=libc++"],
66+
"MACOSX_DEPLOYMENT_TARGET": "10.7",
7167
},
7268
}],
7369
]

0 commit comments

Comments
 (0)