Run a workflow in the IDC runners #3
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: Test runners | |
on: | |
push: | |
branches: [ runners ] | |
workflow_dispatch: | |
permissions: {} | |
jobs: | |
run-test-1: | |
name: Run workflow on small runner | |
runs-on: idc-gpu-xlarge | |
steps: | |
- name: Checkout repostiory | |
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 | |
- name: Build | |
shell: bash | |
run: | | |
pwd | |
df -h | |
free -m | |
cat /proc/cpuinfo | grep processor | |
sudo apt update | |
apt list --upgradable | |
run-test-2: | |
name: Run workflow on big runner | |
runs-on: idc-gpu-2xlarge | |
steps: | |
- name: Checkout repostiory | |
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 | |
- name: Build | |
shell: bash | |
run: | | |
pwd | |
df -h | |
free -m | |
cat /proc/cpuinfo | grep processor | |
sudo apt update | |
apt list --upgradable |