-
Notifications
You must be signed in to change notification settings - Fork 17
55 lines (55 loc) · 1.26 KB
/
release.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
name: release
on:
push:
tags:
- v*
jobs:
windows-release:
runs-on: windows-latest
defaults:
run:
shell: msys2 {0}
steps:
- uses: actions/checkout@v4
- name: Setup MSYS2
uses: msys2/setup-msys2@v2
with:
msystem: mingw64
install: mingw-w64-x86_64-emacs base-devel autotools git
- name: Compile
run: |
make
- name: Make product
run: |
make products
- name: Release
uses: softprops/action-gh-release@v1
with:
files: |
products/*.tar.gz*
unix-like-release:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
env:
CC: ${{ matrix.os == 'macos-latest' && 'clang' || 'gcc' }}
steps:
- uses: actions/checkout@v4
- run: brew install automake libtool
if: matrix.os == 'macos-latest'
- name: Install Emacs
uses: purcell/setup-emacs@master
with:
version: 29.2
- name: Compile
run: |
make
- name: Make product
run: |
make products
- name: Release
uses: softprops/action-gh-release@v1
with:
files: |
products/*.tar.gz*