-
-
Notifications
You must be signed in to change notification settings - Fork 177
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Cirrus CI for FreeBSD tests ✨ (#678)
- Add .cirrus.yml - Update libnghttp2 to fix "undefined symbol nghttp2_option_set_max_outbound_ack" when running node - Skip downloading Electron because it doesn't support FreeBSD. To achieve that we need Electron v7 beta which introduces a ELECTRON_SKIP_BINARY_DOWNLOAD environment variable. See: electron/electron#17627 - Use "npm i --unsafe-perm" because scripts run as root
- Loading branch information
Showing
4 changed files
with
14 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,11 @@ | ||
freebsd_instance: | ||
image_family: freebsd-12-0 | ||
|
||
task: | ||
name: FreeBSD | ||
provision_script: | ||
- pkg install -y git libnghttp2 node npm | ||
install_script: | ||
- git submodule update --init --recursive | ||
- env ELECTRON_SKIP_BINARY_DOWNLOAD=1 npm i --unsafe-perm | ||
test_script: npm t |
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 |
---|---|---|
|
@@ -41,6 +41,7 @@ yarn.lock | |
.dntrc | ||
.gitmodules | ||
.travis.yml | ||
.cirrus.yml | ||
appveyor.yml | ||
|
||
# Unknown | ||
|
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