Subversion Repositories Krakow BASIC

Rev

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

Rev 24 Rev 25
Line 81... Line 81...
81
      uses: actions/upload-artifact@v4
81
      uses: actions/upload-artifact@v4
82
      with:
82
      with:
83
        name: build-pet
83
        name: build-pet
84
        path: krakow-pet.prg
84
        path: krakow-pet.prg
85
 
85
 
-
 
86
  build-apple2:
-
 
87
    name: "Build for Apple 2"
-
 
88
    runs-on: ubuntu-latest
-
 
89
 
-
 
90
    permissions:
-
 
91
      contents: write
-
 
92
 
-
 
93
    steps:
-
 
94
    - name: Checkout
-
 
95
      uses: actions/checkout@v4
-
 
96
    - name: Install packages
-
 
97
      run: sudo apt-get install cc65 default-jre
-
 
98
    - name: Make sure it is clean
-
 
99
      run: make clean PLATFORM=apple2
-
 
100
    - name: Get AppleCommander
-
 
101
      run: wget https://github.com/AppleCommander/AppleCommander/releases/download/1.9.0/AppleCommander-ac-1.9.0.jar -O ac.jar
-
 
102
    - name: Get master.dsk
-
 
103
      run: wget http://f.nishi.boats/f/g/master.dsk -O master.dsk
-
 
104
    - name: Make
-
 
105
      run: make PLATFORM=apple2
-
 
106
    - name: Rename
-
 
107
      run: cp BASIC/krakow.dsk krakow-apple2.dsk
-
 
108
    - name: Upload artifact
-
 
109
      uses: actions/upload-artifact@v4
-
 
110
      with:
-
 
111
        name: build-apple2
-
 
112
        path: krakow-apple2.dsk
-
 
113
 
86
  build-arduino:
114
  build-arduino:
87
    name: "Build for Arduino"
115
    name: "Build for Arduino"
88
    runs-on: ubuntu-latest
116
    runs-on: ubuntu-latest
89
 
117
 
90
    permissions:
118
    permissions:
Line 112... Line 140...
112
    runs-on: ubuntu-latest
140
    runs-on: ubuntu-latest
113
 
141
 
114
    permissions:
142
    permissions:
115
      contents: write
143
      contents: write
116
 
144
 
117
    needs: [build-c64, build-arduino, build-a800xl, build-pet]
145
    needs: [build-c64, build-arduino, build-a800xl, build-pet, build-apple2]
118
 
146
 
119
    steps:
147
    steps:
120
    - name: Checkout
148
    - name: Checkout
121
      uses: actions/checkout@v4
149
      uses: actions/checkout@v4
122
    - name: Download from build-c64
150
    - name: Download from build-c64
Line 129... Line 157...
129
        name: build-a800xl
157
        name: build-a800xl
130
    - name: Download from build-pet
158
    - name: Download from build-pet
131
      uses: actions/download-artifact@v4
159
      uses: actions/download-artifact@v4
132
      with:
160
      with:
133
        name: build-pet
161
        name: build-pet
-
 
162
    - name: Download from build-apple2
-
 
163
      uses: actions/download-artifact@v4
-
 
164
      with:
-
 
165
        name: build-apple2
134
    - name: Download from build-arduino
166
    - name: Download from build-arduino
135
      uses: actions/download-artifact@v4
167
      uses: actions/download-artifact@v4
136
      with:
168
      with:
137
        name: build-arduino
169
        name: build-arduino
138
    - name: Delete old release
170
    - name: Delete old release
139
      run: gh release delete "$(make get-version)" --cleanup-tag -y || true
171
      run: gh release delete "$(make get-version)" --cleanup-tag -y || true
140
      env:
172
      env:
141
        GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
173
        GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
142
    - name: Release
174
    - name: Release
143
      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"
175
      run: gh release create -t "v$(make get-version)" "$(make get-version)" krakow-c64.80 krakow-arduino.hex krakow-a800xl krakow-pet.prg krakow-apple2.dsk -n "Version \`$(make get-version)\` was build in this release"
144
      env:
176
      env:
145
        GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
177
        GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}