forked from dwsJason/f256_pexec
-
Notifications
You must be signed in to change notification settings - Fork 1
38 lines (32 loc) · 921 Bytes
/
Copy pathrelease.yml
File metadata and controls
38 lines (32 loc) · 921 Bytes
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
33
34
35
36
37
38
name: Release
on:
push:
tags: ['v*']
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Build 64tass from source
run: |
curl -L https://sourceforge.net/projects/tass64/files/source/64tass-1.60.3243-src.zip/download -o 64tass-src.zip
unzip 64tass-src.zip
cd 64tass-1.60*
make -j$(nproc)
sudo cp 64tass /usr/local/bin/
- name: Build pexec
run: make
- name: Verify binary size
run: |
SIZE=$(stat -c%s pexec.bin)
echo "Binary size: $SIZE bytes"
[ "$SIZE" -eq 8192 ] || (echo "ERROR: expected 8192 bytes" && exit 1)
- name: Create release
uses: softprops/action-gh-release@v2
with:
files: |
pexec.bin
update.csv
generate_release_notes: true