-
Notifications
You must be signed in to change notification settings - Fork 1
112 lines (94 loc) · 3.81 KB
/
binaries-linux.yml
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
name: Binaries Ubuntu 20 (linux32gcc)
on:
workflow_dispatch:
branches: [ master ]
env:
VERSION: "091224b1"
jobs:
build:
runs-on: ubuntu-20.04
name: Build on ${{ matrix.distro }} ${{ matrix.arch }}
steps:
- uses: actions/checkout@v4
- name: developer library installs
run: |
sudo apt install build-essential
sudo apt install desktop-file-utils
- name: make bfs binary
run: make -f linux32gcc.gmk bfs/bin
- name: make mec binary
run: make -f linux32gcc.gmk mec
- name: make mew binary
run: make -f linux32gcc.gmk mew
- name: make mecw binary
run: make -f linux32gcc.gmk mecw
- name: make mecb binary
run: |
make -f linux32gcc.gmk mecb
- name: make mewb binary
run: make -f linux32gcc.gmk mewb
- name: make mecwb binary
run: make -f linux32gcc.gmk mecwb
- name: Make release
run: |
mkdir MicroEmacs09-${VERSION}-Linux
mkdir MicroEmacs09-${VERSION}-Linux/bin
cp bfs/bfs MicroEmacs09-${VERSION}-Linux/bin/
cp src/.linux32gcc-release-mecw/mecw MicroEmacs09-${VERSION}-Linux/bin/
cp src/.linux32gcc-release-mew/mew MicroEmacs09-${VERSION}-Linux/bin/
cp src/.linux32gcc-release-mec/mec MicroEmacs09-${VERSION}-Linux/bin/
cp me*.bin MicroEmacs09-${VERSION}-Linux/bin/
cp license.txt MicroEmacs09-${VERSION}-Linux/
cp COPYING MicroEmacs09-${VERSION}-Linux/
cp README-standalone.md MicroEmacs09-${VERSION}-Linux/
cd jasspa
zip macros.zip macros/*
cd ..
cp jasspa/macros.zip MicroEmacs09-${VERSION}-Linux/
- name: Make mecb release
run: |
mkdir MicroEmacs09-${VERSION}-Linux-mecb
mkdir MicroEmacs09-${VERSION}-Linux-mecb/bin
cp bfs/bfs MicroEmacs09-${VERSION}-Linux-mecb/bin/
cp mecb*.bin MicroEmacs09-${VERSION}-Linux-mecb/bin/
cp license.txt MicroEmacs09-${VERSION}-Linux-mecb/
cp COPYING MicroEmacs09-${VERSION}-Linux-mecb/
cp README-standalone.md MicroEmacs09-${VERSION}-Linux-mecb/
- name: Make mewb release
run: |
mkdir MicroEmacs09-${VERSION}-Linux-mewb
mkdir MicroEmacs09-${VERSION}-Linux-mewb/bin
cp bfs/bfs MicroEmacs09-${VERSION}-Linux-mewb/bin/
cp mewb*.bin MicroEmacs09-${VERSION}-Linux-mewb/bin/
cp license.txt MicroEmacs09-${VERSION}-Linux-mewb/
cp COPYING MicroEmacs09-${VERSION}-Linux-mewb/
cp README-standalone.md MicroEmacs09-${VERSION}-Linux-mewb/
- name: Make mecwb release
run: |
mkdir MicroEmacs09-${VERSION}-Linux-mecwb
mkdir MicroEmacs09-${VERSION}-Linux-mecwb/bin
cp bfs/bfs MicroEmacs09-${VERSION}-Linux-mecwb/bin/
cp mecwb*.bin MicroEmacs09-${VERSION}-Linux-mecwb/bin/
cp license.txt MicroEmacs09-${VERSION}-Linux-mecwb/
cp COPYING MicroEmacs09-${VERSION}-Linux-mecwb/
cp README-standalone.md MicroEmacs09-${VERSION}-Linux-mecwb/
- name: Upload Ubuntu Release files
uses: actions/upload-artifact@v4
with:
name: MicroEmacs09-${{ env.VERSION }}-Linux
path: MicroEmacs09-${{ env.VERSION }}-Linux
- name: Upload Ubuntu mecb Release files
uses: actions/upload-artifact@v4
with:
name: MicroEmacs09-${{ env.VERSION }}-Linux-mecb
path: MicroEmacs09-${{ env.VERSION }}-Linux-mecb
- name: Upload Ubuntu mewb Release files
uses: actions/upload-artifact@v4
with:
name: MicroEmacs09-${{ env.VERSION }}-Linux-mewb
path: MicroEmacs09-${{ env.VERSION }}-Linux-mewb
- name: Upload Ubuntu mecwb Release files
uses: actions/upload-artifact@v4
with:
name: MicroEmacs09-${{ env.VERSION }}-Linux-mecwb
path: MicroEmacs09-${{ env.VERSION }}-Linux-mecwb