Skip to content

Commit

Permalink
CI: Add AM test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
zen0bit committed May 4, 2024
1 parent 92b99fa commit 48de575
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 48de575

Please sign in to comment.