mirror of
https://github.com/hkalexling/Mango.git
synced 2025-08-02 19:05:32 -04:00
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:
parent
68b1923cb6
commit
3b4021f680
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -19,7 +19,7 @@ jobs:
|
|||||||
- name: Install dependencies
|
- 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
|
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
|
- name: Build
|
||||||
run: make static
|
run: make static || make static
|
||||||
- name: Linter
|
- name: Linter
|
||||||
run: make check
|
run: make check
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
@ -30,9 +30,9 @@ jobs:
|
|||||||
name: mango
|
name: mango
|
||||||
path: mango
|
path: mango
|
||||||
- name: build arm32v7 object file
|
- name: build arm32v7 object file
|
||||||
run: make arm32v7
|
run: make arm32v7 || make arm32v7
|
||||||
- name: build arm64v8 object file
|
- name: build arm64v8 object file
|
||||||
run: make arm64v8
|
run: make arm64v8 || make arm64v8
|
||||||
- name: Upload object files
|
- name: Upload object files
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
|
8
Makefile
8
Makefile
@ -12,10 +12,10 @@ setup: libs
|
|||||||
yarn gulp dev
|
yarn gulp dev
|
||||||
|
|
||||||
build: libs
|
build: libs
|
||||||
crystal build src/mango.cr --release --progress
|
crystal build src/mango.cr --release --progress --error-trace
|
||||||
|
|
||||||
static: uglify | libs
|
static: uglify | libs
|
||||||
crystal build src/mango.cr --release --progress --static
|
crystal build src/mango.cr --release --progress --static --error-trace
|
||||||
|
|
||||||
libs:
|
libs:
|
||||||
shards install --production
|
shards install --production
|
||||||
@ -32,10 +32,10 @@ check:
|
|||||||
./dev/linewidth.sh
|
./dev/linewidth.sh
|
||||||
|
|
||||||
arm32v7:
|
arm32v7:
|
||||||
crystal build src/mango.cr --release --progress --cross-compile --target='arm-linux-gnueabihf' -o mango-arm32v7
|
crystal build src/mango.cr --release --progress --error-trace --cross-compile --target='arm-linux-gnueabihf' -o mango-arm32v7
|
||||||
|
|
||||||
arm64v8:
|
arm64v8:
|
||||||
crystal build src/mango.cr --release --progress --cross-compile --target='aarch64-linux-gnu' -o mango-arm64v8
|
crystal build src/mango.cr --release --progress --error-trace --cross-compile --target='aarch64-linux-gnu' -o mango-arm64v8
|
||||||
|
|
||||||
install:
|
install:
|
||||||
cp mango $(INSTALL_DIR)/mango
|
cp mango $(INSTALL_DIR)/mango
|
||||||
|
Loading…
x
Reference in New Issue
Block a user