From a78e39a73a0be6eabf587a813ecdb0d9ba8c00d1 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 6861626b515cace7917a65eddfe8a74605084cd2 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 1f85c2d27269517742b6159e8f4dd8f6c7da3a25 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 45c6440bb2566a0263d4ceeee5bfd2e4fe1f07a8 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.