Update && upgrade host #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | |
_temp: | |
name: X | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: X | |
run: | | |
printf '\tSetting up...\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: | | |
echo AM | |
printf '\tSetting up environment...\n\n' | |
export TERM=xterm | |
printf '\n\n\tCretaing directory structure...\n\n' | |
mkdir -p results | |
printf '\n\n\tUpgrading ubuntu 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' |