Subversion Repositories Krakow BASIC

Rev

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

Rev 25 Rev 26
Line 109... Line 109...
109
      uses: actions/upload-artifact@v4
109
      uses: actions/upload-artifact@v4
110
      with:
110
      with:
111
        name: build-apple2
111
        name: build-apple2
112
        path: krakow-apple2.dsk
112
        path: krakow-apple2.dsk
113
 
113
 
-
 
114
  build-win32:
-
 
115
    name: "Build for Windows (32)"
-
 
116
    runs-on: ubuntu-latest
-
 
117
 
-
 
118
    permissions:
-
 
119
      contents: write
-
 
120
 
-
 
121
    steps:
-
 
122
    - name: Checkout
-
 
123
      uses: actions/checkout@v4
-
 
124
    - name: Install packages
-
 
125
      run: sudo apt-get install mingw-w64
-
 
126
    - name: Make sure it is clean
-
 
127
      run: make clean PLATFORM=win32
-
 
128
    - name: Make
-
 
129
      run: make PLATFORM=win32
-
 
130
    - name: Rename
-
 
131
      run: cp BASIC/krakow.exe krakow-win32.exe
-
 
132
    - name: Upload artifact
-
 
133
      uses: actions/upload-artifact@v4
-
 
134
      with:
-
 
135
        name: build-win32
-
 
136
        path: krakow-win32.exe
-
 
137
 
-
 
138
  build-win64:
-
 
139
    name: "Build for Windows (64)"
-
 
140
    runs-on: ubuntu-latest
-
 
141
 
-
 
142
    permissions:
-
 
143
      contents: write
-
 
144
 
-
 
145
    steps:
-
 
146
    - name: Checkout
-
 
147
      uses: actions/checkout@v4
-
 
148
    - name: Install packages
-
 
149
      run: sudo apt-get install mingw-w64
-
 
150
    - name: Make sure it is clean
-
 
151
      run: make clean PLATFORM=win64
-
 
152
    - name: Make
-
 
153
      run: make PLATFORM=win64
-
 
154
    - name: Rename
-
 
155
      run: cp BASIC/krakow.exe krakow-win64.exe
-
 
156
    - name: Upload artifact
-
 
157
      uses: actions/upload-artifact@v4
-
 
158
      with:
-
 
159
        name: build-win64
-
 
160
        path: krakow-win64.exe
-
 
161
 
114
  build-arduino:
162
  build-arduino:
115
    name: "Build for Arduino"
163
    name: "Build for Arduino"
116
    runs-on: ubuntu-latest
164
    runs-on: ubuntu-latest
117
 
165
 
118
    permissions:
166
    permissions:
Line 140... Line 188...
140
    runs-on: ubuntu-latest
188
    runs-on: ubuntu-latest
141
 
189
 
142
    permissions:
190
    permissions:
143
      contents: write
191
      contents: write
144
 
192
 
145
    needs: [build-c64, build-arduino, build-a800xl, build-pet, build-apple2]
193
    needs: [build-c64, build-arduino, build-a800xl, build-pet, build-apple2, build-win32, build-win64]
146
 
194
 
147
    steps:
195
    steps:
148
    - name: Checkout
196
    - name: Checkout
149
      uses: actions/checkout@v4
197
      uses: actions/checkout@v4
150
    - name: Download from build-c64
198
    - name: Download from build-c64
Line 161... Line 209...
161
        name: build-pet
209
        name: build-pet
162
    - name: Download from build-apple2
210
    - name: Download from build-apple2
163
      uses: actions/download-artifact@v4
211
      uses: actions/download-artifact@v4
164
      with:
212
      with:
165
        name: build-apple2
213
        name: build-apple2
-
 
214
    - name: Download from build-win32
-
 
215
      uses: actions/download-artifact@v4
-
 
216
      with:
-
 
217
        name: build-win32
-
 
218
    - name: Download from build-win64
-
 
219
      uses: actions/download-artifact@v4
-
 
220
      with:
-
 
221
        name: build-win64
166
    - name: Download from build-arduino
222
    - name: Download from build-arduino
167
      uses: actions/download-artifact@v4
223
      uses: actions/download-artifact@v4
168
      with:
224
      with:
169
        name: build-arduino
225
        name: build-arduino
170
    - name: Delete old release
226
    - name: Delete old release
171
      run: gh release delete "$(make get-version)" --cleanup-tag -y || true
227
      run: gh release delete "$(make get-version)" --cleanup-tag -y || true
172
      env:
228
      env:
173
        GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
229
        GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
174
    - name: Release
230
    - name: 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"
231
      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 krakow-win32.exe krakow-win64.exe -n "Version \`$(make get-version)\` was build in this release"
176
      env:
232
      env:
177
        GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
233
        GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}