Subversion Repositories Krakow BASIC

Rev

Rev 16 | Rev 18 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
14 nishi 1
# $Id$
10 nishi 2
 
14 nishi 3
name: "Build Krakow BASIC"
4
 
10 nishi 5
on:
6
  workflow_dispatch:
7
  push:
8
 
9
concurrency:
10
  group: "build"
11
  cancel-in-progress: true
12
 
13
jobs:
14
  build-c64:
15
    name: "Build for Commodore 64"
16
    runs-on: ubuntu-latest
15 nishi 17
 
10 nishi 18
    permissions:
19
      contents: write
20
 
21
    steps:
22
    - name: Checkout
23
      uses: actions/checkout@v4
24
    - name: Install packages
25
      run: sudo apt-get install cc65
26
    - name: Make sure it is clean
27
      run: make clean PLATFORM=c64
28
    - name: Make
29
      run: make PLATFORM=c64
30
    - name: Rename
31
      run: cp BASIC/krakow.80 krakow-c64.80
32
    - name: Upload artifact
33
      uses: actions/upload-artifact@v4
34
      with:
15 nishi 35
        name: build-c64
36
        path: krakow-c64.80
16 nishi 37
 
38
  release:
39
    name: "Release"
40
    runs-on: ubuntu-latest
41
 
17 nishi 42
    permissions:
16 nishi 43
      contents: write
44
 
45
    needs: [build-c64]
46
 
47
    steps:
48
    - name: Checkout
49
      uses: actions/checkout@v4
50
    - name: Download from build-c64
51
      uses: actions/download-artifact@v4
52
      with:
53
        name: build-c64
54
    - name: Extract build-c64
55
      run: unzip $GITHUB_WORKSPACE/build-c64.zip