-
Notifications
You must be signed in to change notification settings - Fork 1
109 lines (90 loc) · 3.96 KB
/
binaries-mingw32gcc.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
name: Binaries Windows (win32mingw)
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 mingw-w64 gcc-mingw-w64-i686
sudo apt install libz-mingw-w64 libz-mingw-w64-dev
sudo apt install desktop-file-utils
- name: make bfs binary
run: make -f win32mingw.gmk bfs/bin
- name: make mec binary
run: make -f win32mingw.gmk mec
- name: make mew binary
run: make -f win32mingw.gmk mew
- name: make mecb binary
run: |
make -f win32mingw.gmk mecb
- name: make mecw binary
run: make -f win32mingw.gmk mewb
- name: make mecw binary
run: make -f win32mingw.gmk bfs/exe
- name: Download zlib1.dll
run: |
wget https://github.com/brechtsanders/winlibs_mingw/releases/download/12.2.0-16.0.0-10.0.0-ucrt-r5/winlibs-i686-posix-dwarf-gcc-12.2.0-mingw-w64ucrt-10.0.0-r5.zip
unzip -q winlibs-i686-posix-dwarf-gcc-12.2.0-mingw-w64ucrt-10.0.0-r5.zip
cp mingw32/bin/zlib1.dll .
wget https://github.com/madler/zlib/raw/develop/LICENSE -O zlib-LICENSE.txt
- name: Make release
run: |
mkdir MicroEmacs09-${VERSION}-Windows
mkdir MicroEmacs09-${VERSION}-Windows/bin
cp zlib1.dll MicroEmacs09-${VERSION}-Windows/bin/
cp zlib-LICENSE.txt MicroEmacs09-${VERSION}-Windows/bin/
cp bfs/bfs.exe MicroEmacs09-${VERSION}-Windows/bin/
cp src/.win32mingw-release-mew/mew32.exe MicroEmacs09-${VERSION}-Windows/bin/
cp src/.win32mingw-release-mec/mec32.exe MicroEmacs09-${VERSION}-Windows/bin/
cp me*.exe MicroEmacs09-${VERSION}-Windows/bin/
cp license.txt MicroEmacs09-${VERSION}-Windows/
cp COPYING MicroEmacs09-${VERSION}-Windows/
cp README-standalone.md MicroEmacs09-${VERSION}-Windows/
cd jasspa
zip macros.zip macros/*
cd ..
cp jasspa/macros.zip MicroEmacs09-${VERSION}-Windows/
- name: Make mecb release
run: |
mkdir MicroEmacs09-${VERSION}-Windows-mecb
mkdir MicroEmacs09-${VERSION}-Windows-mecb/bin
cp zlib1.dll MicroEmacs09-${VERSION}-Windows-mecb/bin/
cp zlib-LICENSE.txt MicroEmacs09-${VERSION}-Windows-mecb/bin/
cp bfs/bfs.exe MicroEmacs09-${VERSION}-Windows-mecb/bin/
cp mecb*.exe MicroEmacs09-${VERSION}-Windows-mecb/bin/
cp license.txt MicroEmacs09-${VERSION}-Windows-mecb/
cp COPYING MicroEmacs09-${VERSION}-Windows-mecb/
cp README-standalone.md MicroEmacs09-${VERSION}-Windows-mecb/
- name: Make mewb release
run: |
mkdir MicroEmacs09-${VERSION}-Windows-mewb
mkdir MicroEmacs09-${VERSION}-Windows-mewb/bin
cp zlib1.dll MicroEmacs09-${VERSION}-Windows-mewb/bin/
cp zlib-LICENSE.txt MicroEmacs09-${VERSION}-Windows-mewb/bin/
cp bfs/bfs.exe MicroEmacs09-${VERSION}-Windows-mewb/bin/
cp mewb*.exe MicroEmacs09-${VERSION}-Windows-mewb/bin/
cp license.txt MicroEmacs09-${VERSION}-Windows-mewb/
cp COPYING MicroEmacs09-${VERSION}-Windows-mewb/
cp README-standalone.md MicroEmacs09-${VERSION}-Windows-mewb/
- name: Upload Windows Release files
uses: actions/upload-artifact@v4
with:
name: MicroEmacs09-${{ env.VERSION }}-Windows
path: MicroEmacs09-${{ env.VERSION }}-Windows
- name: Upload Windows mecb Release files
uses: actions/upload-artifact@v4
with:
name: MicroEmacs09-${{ env.VERSION }}-Windows-mecb
path: MicroEmacs09-${{ env.VERSION }}-Windows-mecb
- name: Upload Windows mewb Release files
uses: actions/upload-artifact@v4
with:
name: MicroEmacs09-${{ env.VERSION }}-Windows-mewb
path: MicroEmacs09-${{ env.VERSION }}-Windows-mewb