try building for arm

This commit is contained in:
FloatingGhost 2022-06-27 17:57:47 +01:00
parent e538102cf5
commit caedb6ebda
3 changed files with 3 additions and 61 deletions

View File

@ -1,10 +0,0 @@
pipeline:
lint:
image: pleromaforkci/ci-base:1.13
commands:
- mix local.hex --force
- mix local.rebar --force
- mix format --check-formatted
when:
event:
- push

View File

@ -9,14 +9,14 @@ matrix:
- arm
include:
- tag: amd64
docker_prefix: ""
- tag: arm64
docker_prefix: "arm64v8/"
pipeline:
glibc:
when:
event:
- tag
- push
secrets:
- SCW_ACCESS_KEY
- SCW_SECRET_KEY

View File

@ -1,48 +0,0 @@
depends_on:
- lint
matrix:
ELIXIR_VERSION:
- 1.13
pipeline:
build:
image: pleromaforkci/ci-base:${ELIXIR_VERSION}
when:
event:
- push
environment:
MIX_ENV: test
commands:
- mix local.hex --force
- mix local.rebar --force
- mix deps.get
- mix compile
test:
group: test
image: pleromaforkci/ci-base:${ELIXIR_VERSION}
when:
event:
- push
environment:
MIX_ENV: test
POSTGRES_DB: pleroma_test
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
DB_HOST: postgres
commands:
- mix local.hex --force
- mix local.rebar --force
- mix ecto.drop -f -q
- mix ecto.create
- mix ecto.migrate
- mix test --preload-modules --exclude erratic --exclude federated --max-cases 4
services:
postgres:
image: postgres:13
environment:
POSTGRES_DB: pleroma_test
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres