Workflow retry hack

I got random "Invalid memory access" when running `crystal build`.
This is probably a compiler or LLVM bug.
We use this temporary hack to retry until they fix it.
This commit is contained in:
Alex Ling
2020-08-10 13:14:05 +00:00
parent 68b1923cb6
commit 3b4021f680
2 changed files with 7 additions and 7 deletions

View File

@@ -19,7 +19,7 @@ jobs:
- name: Install dependencies
run: apk add --no-cache yarn yaml sqlite-static libarchive-dev libarchive-static acl-static expat-static zstd-static lz4-static bzip2-static
- name: Build
run: make static
run: make static || make static
- name: Linter
run: make check
- name: Run tests
@@ -30,9 +30,9 @@ jobs:
name: mango
path: mango
- name: build arm32v7 object file
run: make arm32v7
run: make arm32v7 || make arm32v7
- name: build arm64v8 object file
run: make arm64v8
run: make arm64v8 || make arm64v8
- name: Upload object files
uses: actions/upload-artifact@v2
with: