Subversion Repositories Krakow BASIC

Rev

Rev 21 | Rev 23 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 21 Rev 22
Line 31... Line 31...
31
      run: cp BASIC/krakow.80 krakow-c64.80
31
      run: cp BASIC/krakow.80 krakow-c64.80
32
    - name: Upload artifact
32
    - name: Upload artifact
33
      uses: actions/upload-artifact@v4
33
      uses: actions/upload-artifact@v4
34
      with:
34
      with:
35
        name: build-c64
35
        name: build-c64
-
 
36
 
-
 
37
  build-a800xl:
-
 
38
    name: "Build for Atari 800 XL"
-
 
39
    runs-on: ubuntu-latest
-
 
40
 
-
 
41
    permissions:
-
 
42
      contents: write
-
 
43
 
-
 
44
    steps:
-
 
45
    - name: Checkout
-
 
46
      uses: actions/checkout@v4
-
 
47
    - name: Install packages
-
 
48
      run: sudo apt-get install cc65
-
 
49
    - name: Make sure it is clean
-
 
50
      run: make clean PLATFORM=a800xl
-
 
51
    - name: Make
-
 
52
      run: make PLATFORM=a800xl
-
 
53
    - name: Rename
-
 
54
      run: cp BASIC/krakow krakow-a800xl
-
 
55
    - name: Upload artifact
-
 
56
      uses: actions/upload-artifact@v4
-
 
57
      with:
-
 
58
        name: build-a800xl
-
 
59
        path: krakow-a800xl
-
 
60
 
-
 
61
  build-a800xl:
-
 
62
    name: "Build for Commodore PET"
-
 
63
    runs-on: ubuntu-latest
-
 
64
 
-
 
65
    permissions:
-
 
66
      contents: write
-
 
67
 
-
 
68
    steps:
-
 
69
    - name: Checkout
-
 
70
      uses: actions/checkout@v4
-
 
71
    - name: Install packages
-
 
72
      run: sudo apt-get install cc65
-
 
73
    - name: Make sure it is clean
-
 
74
      run: make clean PLATFORM=pet
-
 
75
    - name: Make
-
 
76
      run: make PLATFORM=pet
-
 
77
    - name: Rename
-
 
78
      run: cp BASIC/krakow.prg krakow-pet.prg
-
 
79
    - name: Upload artifact
-
 
80
      uses: actions/upload-artifact@v4
-
 
81
      with:
-
 
82
        name: build-pet
36
        path: krakow-c64.80
83
        path: krakow-pet.prg
37
 
84
 
38
  build-arduino:
85
  build-arduino:
39
    name: "Build for Arduino"
86
    name: "Build for Arduino"
40
    runs-on: ubuntu-latest
87
    runs-on: ubuntu-latest
41
 
88
 
Line 64... Line 111...
64
    runs-on: ubuntu-latest
111
    runs-on: ubuntu-latest
65
 
112
 
66
    permissions:
113
    permissions:
67
      contents: write
114
      contents: write
68
 
115
 
69
    needs: [build-c64, build-arduino]
116
    needs: [build-c64, build-arduino, build-a800xl, build-pet]
70
 
117
 
71
    steps:
118
    steps:
72
    - name: Checkout
119
    - name: Checkout
73
      uses: actions/checkout@v4
120
      uses: actions/checkout@v4
74
    - name: Download from build-c64
121
    - name: Download from build-c64
75
      uses: actions/download-artifact@v4
122
      uses: actions/download-artifact@v4
76
      with:
123
      with:
77
        name: build-c64
124
        name: build-c64
-
 
125
    - name: Download from build-a800xl
-
 
126
      uses: actions/download-artifact@v4
-
 
127
      with:
-
 
128
        name: build-a800xl
-
 
129
    - name: Download from build-pet
-
 
130
      uses: actions/download-artifact@v4
-
 
131
      with:
-
 
132
        name: build-pet
78
    - name: Download from build-arduino
133
    - name: Download from build-arduino
79
      uses: actions/download-artifact@v4
134
      uses: actions/download-artifact@v4
80
      with:
135
      with:
81
        name: build-arduino
136
        name: build-arduino
82
    - name: Delete old release
137
    - name: Delete old release
83
      run: gh release delete "$(make get-version)" --cleanup-tag -y || true
138
      run: gh release delete "$(make get-version)" --cleanup-tag -y || true
84
      env:
139
      env:
85
        GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
140
        GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
86
    - name: Release
141
    - name: Release
87
      run: gh release create -t "v$(make get-version)" "$(make get-version)" krakow-c64.80 krakow-arduino.hex -n "Version \`$(make get-version)\` was build in this release"
142
      run: gh release create -t "v$(make get-version)" "$(make get-version)" krakow-c64.80 krakow-arduino.hex krakow-a800xl krakow-pet.prg -n "Version \`$(make get-version)\` was build in this release"
88
      env:
143
      env:
89
        GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
144
        GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}