diff --git a/.github/workflows/Dockerfile b/.github/workflows/Dockerfile new file mode 100644 index 0000000..2cf77d7 --- /dev/null +++ b/.github/workflows/Dockerfile @@ -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 diff --git a/.github/workflows/arm.yml b/.github/workflows/arm.yml new file mode 100644 index 0000000..454f962 --- /dev/null +++ b/.github/workflows/arm.yml @@ -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