C.W.K.
Stream
Lesson 05 of 12 · published

Runner

~12 min · runners, vm, self-hosted

Level 0Apprentice
0 XP0/101 lessons0/10 achievements
0/120 XP to next level120 XP to go0% complete

Job 이 실제 도는 머신

Runner 는 job 이 실제로 실행되는 머신이야. GitHub 가 hosted runner 제공; 직접 가져올 수도 있어 (self-hosted runner).

Hosted runner

  • ubuntu-latest — Linux. 가장 싸. 거의 모든 거 default.
  • ubuntu-22.04, ubuntu-20.04 — pinned 버전.
  • windows-latest — Windows Server. 분 비용 2 배.
  • macos-latest, macos-14, macos-15 — macOS. 분 비용 10 배. iOS / native macOS 빌드 필수.
  • Larger runner: ubuntu-latest-4-cores 등 (org 별 활성화).

Self-hosted runner

  • runs-on: [self-hosted, gpu, linux-x64] 로 특정 머신 타겟팅.
  • 용도: 비용 (큰 CI bill), 특수 하드웨어 (GPU, Apple Silicon), 사설 네트워크 접근, persistent cache.
  • OS, security, uptime 은 아빠 책임.

Hosted runner 에 미리 설치된 것

꽤 많음 — Python, Node, Go, Rust, Docker, Java, .NET, Ruby, 흔한 빌드 도구. 정확한 manifest 는 runner-images repo 확인. 아빠 도구가 목록에 있으면 설치 불필요; 없으면 step 으로 설치.

Code

Runner 선택 — hosted vs self-hosted·yaml
jobs:
  cheap-linux:
    runs-on: ubuntu-latest

  fast-linux:
    runs-on: ubuntu-latest-4-cores

  ios:
    runs-on: macos-15

  gpu:
    runs-on: [self-hosted, gpu, linux-x64]
    # only the runners with all three labels match.

  apple-silicon-mlx:
    runs-on: [self-hosted, macos, apple-silicon]

External links

Exercise

runner-images repo 열어 ubuntu-24.04 README 찾고 어떤 Python 버전이 미리 설치되어 있는지 확인. setup-python 없이 그 중 하나 쓰는 workflow 시도 — 되나? setup-python 있는 거랑 run 시간 비교.

Progress

Progress is local-only — sign in to sync across devices.
이 페이지에서 버그를 발견하셨거나 피드백이 있으세요?문제 신고

댓글 0

🔔 답글 알림 (로그인 필요)
로그인댓글을 남기려면 로그인해 주세요.

아직 댓글이 없어요. 첫 댓글을 남겨보세요.