From 5f3af7fb9780627f2f88dfb8cd63889786473748 Mon Sep 17 00:00:00 2001 From: Matt Knight Date: Sat, 6 Mar 2021 15:15:26 -0800 Subject: [PATCH 1/4] added eowyn build for running against master every day --- .github/workflows/eowyn.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/eowyn.yml diff --git a/.github/workflows/eowyn.yml b/.github/workflows/eowyn.yml new file mode 100644 index 0000000..9a422b6 --- /dev/null +++ b/.github/workflows/eowyn.yml @@ -0,0 +1,25 @@ +name: Eowyn +on: + pull_request: + branches: [ main ] + schedule: + - cron: "0 0 * * *" + +defaults: + run: + shell: bash + +jobs: + build: + strategy: + matrix: + os: [ubuntu-latest, windows-latest, macos-latest] + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v2 + - name: Setup Zig + uses: goto-bus-stop/setup-zig@v1.3.0 + with: + version: master + + - run: patches/eowyn.sh From f5aaef813f1bf4ea7f256d90d1f783abee0d7165 Mon Sep 17 00:00:00 2001 From: Matt Knight Date: Sat, 6 Mar 2021 15:19:26 -0800 Subject: [PATCH 2/4] added set -e --- patches/eowyn.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/patches/eowyn.sh b/patches/eowyn.sh index f9e7479..55e6f8a 100755 --- a/patches/eowyn.sh +++ b/patches/eowyn.sh @@ -13,6 +13,8 @@ # to convalesce in the healed directory. # +set -e + # We run from the patches dir. Go there now if not already. cd $(dirname $(realpath $0)) pwd # Show it upon the screen so all shall be made apparent. From 2f4273289a04f781ac050a129cee5866bfb7ae14 Mon Sep 17 00:00:00 2001 From: Matt Knight Date: Sat, 6 Mar 2021 15:21:18 -0800 Subject: [PATCH 3/4] need to change shebang to bash because we're using bashisms --- patches/eowyn.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/patches/eowyn.sh b/patches/eowyn.sh index 55e6f8a..6f8ef8d 100755 --- a/patches/eowyn.sh +++ b/patches/eowyn.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # "I will be a shieldmaiden no longer, # nor vie with the great Riders, nor @@ -13,8 +13,6 @@ # to convalesce in the healed directory. # -set -e - # We run from the patches dir. Go there now if not already. cd $(dirname $(realpath $0)) pwd # Show it upon the screen so all shall be made apparent. From be17e37102c20ee818cc177d867e226e15bf907b Mon Sep 17 00:00:00 2001 From: Matt Knight Date: Sat, 6 Mar 2021 15:24:03 -0800 Subject: [PATCH 4/4] remove realpath --- patches/eowyn.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/eowyn.sh b/patches/eowyn.sh index 6f8ef8d..1bb8385 100755 --- a/patches/eowyn.sh +++ b/patches/eowyn.sh @@ -14,7 +14,7 @@ # # We run from the patches dir. Go there now if not already. -cd $(dirname $(realpath $0)) +cd $(dirname $0) pwd # Show it upon the screen so all shall be made apparent. # Create healed/ directory here if it doesn't already exist.