Skip to content

Workflow file for this run

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
env:
TERM: xterm
jobs:
t:
name: t
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: t
run: |
printf '\t...\n\n'
echo hello
printf '\n\n\tDONE\n\n'
am:
name: Install AM 📝
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Install AM
run: |
printf '\tSetting up environment...\n\n'
printf '\n\n\tCreating directory structure...\n\n'
mkdir -p results /usr/local/bin
printf '\n\n\tUpdating host...\n\n'
sudo apt update # && sudo apt upgrade
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\tInstalling AM...\n\n'
sudo ./INSTALL && \
printf '\n\n\tInstallation DONE\n\n'
am version && \
printf '\n\n\tInstallation DONE\n\n' || \
echo 'Something goes wrong!' && exit 1
- uses: actions/upload-artifact@v2
- name: Upload
with:
name: all
path: ${{ github.workspace }}
- uses: actions/upload-artifact@v2
- name: Save
with:
name: runner-workspace
path: ${{ runner.workspace }}
version:
needs: [am]
name: version
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: version
run: |
TERM=xterm
printf '\tShowing version...\n\n'
which am
am version
printf '\n\n\tDONE\n\n'