aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/build.yml
blob: 4de324123711f5873a30a2f8334cc2daeb3c4643 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: build

on:
  push:
    branches: [main]
  pull_request:
    branches: [main]

jobs:
  test:
    name: Continuous Integration
    runs-on: ubuntu-latest

    steps:
      - name: Checkout Code
        uses: actions/checkout@v4

      - name: Install dependencies from Ubuntu sources
        run: sudo apt-get install cc65

      - name: Set up Ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: 'ruby'

      - name: Lint scripts on bin/
        run: |
            gem install rubocop
            rubocop bin/ --format github

      - name: Main task
        run: V=1 make all