From 48de575f31e865e532ebb5cf3e80f4e997f43784 Mon Sep 17 00:00:00 2001 From: zen0bit Date: Sun, 5 May 2024 01:20:20 +0200 Subject: [PATCH] CI: Add AM test suite --- .github/workflows/test.yml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 000000000..62f36d45c --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,38 @@ +name: "AM test suite ๐Ÿงช" + +on: + workflow_dispatch: + push: + branches: '**' + # paths: + # - quickget + pull_request: + branches: '**' + # paths: + # - quickget +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + + am: + name: Install AM ๐Ÿ“ + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v4 + - name: Supported Apps + run: | + export TERM=xterm + printf '\tCretaing dir for results\n\n' + mkdir -p results + printf '\n\n\tInstalling dependencies\n\n' + sudo apt install -y wget curl zsync + printf '\n\n\tMaking INSTALL executable\n\n' + chmod +x ./INSTALL + printf '\n\n\tInstall AM\n\n' + sudo ./INSTALL + printf '\n\n\tGet am version\n\n' + am --version \ + && printf '\n\n\tInstallation DONE\n\n' \ + || echo 'Something goes wrong!' && exit 1