Skip to content

Commit

Permalink
ci: add aarch64 release
Browse files Browse the repository at this point in the history
appimage seems to not work for some reason. Worst case scenario just
upload the tarball and tackle the appimage later (or never lol)
  • Loading branch information
dundargoc committed Nov 4, 2024
1 parent 23ce11c commit 06db461
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM ubuntu:latest
ARG TAG

COPY . /app
WORKDIR app
RUN apt-get update -y && apt-get install -y sudo
RUN .github/scripts/install_deps.sh

RUN ./scripts/genappimage.sh nightly
28 changes: 28 additions & 0 deletions .github/workflows/arm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: arm
on:
push:
pull_request:
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
ASAN_OPTIONS: detect_leaks=1:check_initialization_order=1:log_path=${{ github.workspace }}/build/log/asan:intercept_tls_get_addr=0
BIN_DIR: ${{ github.workspace }}/bin
BUILD_DIR: ${{ github.workspace }}/build
INSTALL_PREFIX: ${{ github.workspace }}/nvim-install
LOG_DIR: ${{ github.workspace }}/build/log
NVIM_LOG_FILE: ${{ github.workspace }}/build/.nvimlog
TSAN_OPTIONS: log_path=${{ github.workspace }}/build/log/tsan
VALGRIND_LOG: ${{ github.workspace }}/build/log/valgrind-%p.log

jobs:
linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: docker buildx create --use
- run: docker buildx build --platform linux/arm64 --build-arg="TAG=${{ github.ref }}" --output build/bin/nvim.appimage -f .github/workflows/Dockerfile .
- run: ls

0 comments on commit 06db461

Please sign in to comment.