github actions workflow

This commit is contained in:
2021-06-21 11:27:17 -06:00
parent 43bc843ae9
commit fd3198d263
5 changed files with 52 additions and 5 deletions

View File

@@ -2,7 +2,7 @@
echo "" > test-output.txt
expected=$'hey\nhey\nhey'
if [[ $(uname) == *"MINGW"* ]] || [ $TRAVIS_OS_NAME = "windows" ]; then
if [[ $(uname) == *"MINGW"* ]] || [ $CI_OS_NAME = "windows-latest" ]; then
expected=$'"hey" \r\n"hey" \r\n"hey"'
fi

View File

@@ -1,11 +1,11 @@
#! /bin/bash
# Something is broken in the Node dependencies on Mac, so don't bother.
if [ "$TRAVIS_OS_NAME" = "osx" ]; then
if [ "$CI_OS_NAME" = "macos-latest" ]; then
exit 0
fi
if [ ! -z "$TRAVIS_OS_NAME" ]; then
if [ ! -z "$CI_OS_NAME" ]; then
npm install pdf-lib
haxelib install hxnodejs
fi