Skip to content

upgrade crystal to 1.14.0 #26

upgrade crystal to 1.14.0

upgrade crystal to 1.14.0 #26

Workflow file for this run

name: Build
on:
pull_request:
types: ['opened', 'reopened', 'synchronize', 'ready_for_review']
jobs:
build:
if: "!contains(github.event.head_commit.message, 'skip ci')"
runs-on: ubuntu-latest
container:
image: crystallang/crystal:1.14.0-alpine
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: apk add --no-cache yarn yaml-static sqlite-static libarchive-dev libarchive-static acl-static expat-static zstd-static lz4-static bzip2-static libjpeg-turbo-dev libpng-dev tiff-dev
- name: Build
run: make static || make static
- name: Linter
run: make check
- name: Run tests
run: make test
- name: Upload binary
uses: actions/upload-artifact@v4
with:
name: mango
path: mango
- name: build arm64v8 object file
run: make arm64v8 || make arm64v8
- name: Upload object files
uses: actions/upload-artifact@v4
with:
name: object files
path: ./*.o