From 55776d9dec50a2104c082c7316a16de4047aa390 Mon Sep 17 00:00:00 2001 From: aggarwalakshun Date: Tue, 11 Feb 2025 15:11:27 +0530 Subject: [PATCH] move to gitea --- .gitlab-ci.yml | 62 -------------------------------------------------- 1 file changed, 62 deletions(-) delete mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index 52b99af..0000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,62 +0,0 @@ -stages: - - build - -build-on-arch: - stage: build - image: archlinux:latest - script: - - | - pacman -Syu --noconfirm - pacman -S --noconfirm git - if ! git diff --name-only $CI_COMMIT_BEFORE_SHA $CI_COMMIT_SHA; then - echo "No changes detected. Skipping build." - exit 0 - fi - pacman -S --noconfirm python python-pip binutils - mv /lib/python3*/EXTERNALLY-MANAGED . - pip install --upgrade pip - pip install pyinstaller inquirerpy distro - pyinstaller --onefile --add-data "bash/:bash/" --add-data "prompts/:prompts/" --add-data "config/:config/" setup.py - artifacts: - paths: - - dist/setup - name: "arch-setup" - -build-on-debian: - stage: build - image: debian:stable - script: - - | - apt update && apt upgrade -y - apt install -y git - if ! git diff --name-only $CI_COMMIT_BEFORE_SHA $CI_COMMIT_SHA; then - echo "No changes detected. Skipping build." - exit 0 - fi - apt install -y python3 python3-pip - mv /lib/python*/EXTERNALLY-MANAGED . - pip install pyinstaller inquirerpy distro binutils - pyinstaller --onefile --add-data "bash/:bash/" --add-data "prompts/:prompts/" --add-data "config/:config/" setup.py - artifacts: - paths: - - dist/setup - name: "debian-setup" - -build-on-fedora: - stage: build - image: fedora:latest - script: - - | - dnf up -y && dnf install -y git - if ! git diff --name-only $CI_COMMIT_BEFORE_SHA $CI_COMMIT_SHA; then - echo "No changes detected. Skipping build." - exit 0 - fi - dnf install -y python python-pip binutils - pip install inquirerpy distro pyinstaller - pyinstaller --onefile --add-data "bash/:bash/" --add-data "prompts/:prompts/" --add-data "config/:config/" setup.py - artifacts: - paths: - - dist/setup - name: "fedora-setup" -