mirror of
https://github.com/jimeh/emacs-builds.git
synced 2026-02-19 11:56:40 +00:00
Compare commits
27 Commits
Emacs.2021
...
Emacs-28.2
| Author | SHA1 | Date | |
|---|---|---|---|
|
adc48a6492
|
|||
|
14575aa77c
|
|||
| 3e3347dbec | |||
|
4f2d35c1ac
|
|||
|
2e80b79110
|
|||
|
88bfa2e603
|
|||
|
9934f47937
|
|||
|
|
13e8c9cc9e | ||
|
4204855346
|
|||
|
11b4492488
|
|||
|
a39895e8f6
|
|||
|
27b104d7b7
|
|||
|
0af73aaee1
|
|||
|
16087a80d0
|
|||
|
5835cd9712
|
|||
|
fe10ed4c34
|
|||
|
9615ab20a6
|
|||
|
cad73f3555
|
|||
|
30f92f734d
|
|||
|
83b08dc596
|
|||
|
f3213d9f5a
|
|||
|
b40f9e29c8
|
|||
|
e552de3cac
|
|||
|
9c731dac34
|
|||
|
bf358f42d5
|
|||
|
646d8775fb
|
|||
|
7e4ba5a9b8
|
8
.github/workflows/_build.yml
vendored
8
.github/workflows/_build.yml
vendored
@@ -125,6 +125,8 @@ jobs:
|
||||
echo "::set-output name=result::$RESULT"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- run: echo 'Planned release already seems to exist.'
|
||||
if: ${{ steps.check.outputs.result == 'fail' }}
|
||||
|
||||
build:
|
||||
runs-on: ${{ inputs.os }}
|
||||
@@ -141,6 +143,8 @@ jobs:
|
||||
- uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: 2.7
|
||||
- name: Update homebrew
|
||||
run: brew update
|
||||
- name: Install dependencies
|
||||
run: make bootstrap-ci
|
||||
working-directory: builder
|
||||
@@ -152,7 +156,7 @@ jobs:
|
||||
- name: Build Emacs
|
||||
run: >-
|
||||
./builder/build-emacs-for-macos --plan build-plan.yml
|
||||
--no-relink-eln-files --native-full-aot --posix-spawn
|
||||
--native-full-aot
|
||||
${{ inputs.build_args }}
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
@@ -166,7 +170,7 @@ jobs:
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ${{ inputs.artifact_prefix }}emacs-source
|
||||
path: tarballs/*.tgz
|
||||
path: builder/tarballs/*.tgz
|
||||
|
||||
package:
|
||||
runs-on: ${{ inputs.os }}
|
||||
|
||||
4
.github/workflows/_prepare.yml
vendored
4
.github/workflows/_prepare.yml
vendored
@@ -7,7 +7,7 @@ on:
|
||||
description: Git ref to checkout of build-emacs-for-macos
|
||||
required: false
|
||||
type: string
|
||||
default: "v0.6.23"
|
||||
default: "v0.6.35"
|
||||
secrets:
|
||||
TAP_REPO_TOKEN:
|
||||
description: Personal Access Token for Homebrew Tap repo
|
||||
@@ -17,7 +17,7 @@ jobs:
|
||||
emacs-builder:
|
||||
# Use oldest version of macOS to ensure emacs-bulder binary is compatible
|
||||
# with later versions of macOS.
|
||||
runs-on: macos-10.15
|
||||
runs-on: macos-11
|
||||
steps:
|
||||
- name: Checkout build-emacs-for-macos repo
|
||||
uses: actions/checkout@v2
|
||||
|
||||
7
.github/workflows/_release.yml
vendored
7
.github/workflows/_release.yml
vendored
@@ -34,19 +34,24 @@ jobs:
|
||||
name: ${{ inputs.plan_artifact }}
|
||||
path: ./
|
||||
- name: Download disk image artifacts
|
||||
id: dmg
|
||||
continue-on-error: true
|
||||
uses: actions/download-artifact@v2
|
||||
with:
|
||||
name: ${{ inputs.dmg_artifact }}
|
||||
path: builds
|
||||
- name: Publish disk images to a GitHub Release
|
||||
if: ${{ steps.dmg.outputs.result != 'fail' }}
|
||||
run: >-
|
||||
bin/emacs-builder -l debug release --plan build-plan.yml publish
|
||||
$(find builds -name '*.dmg' -or -name '*.sha256')
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Trigger update casks workflow in homebrew tap
|
||||
if: ${{ inputs.testBuildName == '' }}
|
||||
if: ${{ steps.dmg.outputs.result != 'fail' && inputs.testBuildName == '' }}
|
||||
run: >-
|
||||
gh workflow run --repo jimeh/homebrew-emacs-builds update-casks.yml
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.TAP_REPO_TOKEN }}
|
||||
- run: echo 'No DMG artifact available, was there a new commit to build?'
|
||||
if: ${{ steps.dmg.outputs.result == 'fail' }}
|
||||
|
||||
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@@ -19,9 +19,9 @@ on:
|
||||
required: false
|
||||
default: ""
|
||||
os:
|
||||
description: 'Runner OS ("macos-10.15" or "macos-11")'
|
||||
description: 'Runner OS ("macos-11", "macos-12", or "macos-latest")'
|
||||
required: true
|
||||
default: "macos-10.15"
|
||||
default: "macos-11"
|
||||
test_build_name:
|
||||
description: "Test build name"
|
||||
required: false
|
||||
@@ -45,7 +45,7 @@ jobs:
|
||||
needs: [prepare]
|
||||
uses: jimeh/emacs-builds/.github/workflows/_build.yml@main
|
||||
with:
|
||||
os: macos-10.15
|
||||
os: ${{ github.event.inputs.os }}
|
||||
git_ref: ${{ github.event.inputs.git_ref }}
|
||||
git_sha: ${{ github.event.inputs.git_sha }}
|
||||
build_args: ${{ github.event.inputs.builder_args }}
|
||||
|
||||
2
.github/workflows/nightly-emacs-28.yml
vendored
2
.github/workflows/nightly-emacs-28.yml
vendored
@@ -21,7 +21,7 @@ jobs:
|
||||
needs: [prepare]
|
||||
uses: jimeh/emacs-builds/.github/workflows/_build.yml@main
|
||||
with:
|
||||
os: macos-10.15
|
||||
os: macos-11
|
||||
git_ref: emacs-28
|
||||
git_sha: ${{ github.event.inputs.git_sha }}
|
||||
secrets:
|
||||
|
||||
2
.github/workflows/nightly-master.yml
vendored
2
.github/workflows/nightly-master.yml
vendored
@@ -21,7 +21,7 @@ jobs:
|
||||
needs: [prepare]
|
||||
uses: jimeh/emacs-builds/.github/workflows/_build.yml@main
|
||||
with:
|
||||
os: macos-10.15
|
||||
os: macos-11
|
||||
git_ref: master
|
||||
git_sha: ${{ github.event.inputs.git_sha }}
|
||||
secrets:
|
||||
|
||||
2
.github/workflows/update-metadata.yml
vendored
2
.github/workflows/update-metadata.yml
vendored
@@ -3,7 +3,7 @@ name: Update Metadata
|
||||
concurrency: jimeh/emacs-builds/update-metadata
|
||||
on:
|
||||
schedule:
|
||||
- cron: "0 * * * *"
|
||||
- cron: "0 0,12 * * *"
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
|
||||
68
README.md
68
README.md
@@ -7,42 +7,26 @@
|
||||
</h1>
|
||||
|
||||
<p align="center">
|
||||
<a href="https://github.com/jimeh/emacs-builds/releases/latest">
|
||||
<img alt="GitHub release (stable)" src="https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Fjimeh%2Fhomebrew-emacs-builds%2Fmeta%2FCasks%2Femacs-app%2Fshield.json">
|
||||
</a>
|
||||
<a href="https://github.com/jimeh/emacs-builds/releases?q=emacs-28&expanded=true">
|
||||
<img alt="GitHub release (nightly@emacs-28)" src="https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Fjimeh%2Fhomebrew-emacs-builds%2Fmeta%2FCasks%2Femacs-app-nightly-28%2Fshield.json">
|
||||
</a>
|
||||
<br />
|
||||
<a href="https://github.com/jimeh/emacs-builds/releases?q=master&expanded=true">
|
||||
<img alt="GitHub release (nightly)" src="https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Fjimeh%2Fhomebrew-emacs-builds%2Fmeta%2FCasks%2Femacs-app-nightly%2Fshield.json">
|
||||
</a>
|
||||
<a href="https://github.com/jimeh/emacs-builds/issues/7">
|
||||
<img alt="GitHub release (known good nightly)" src="https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Fjimeh%2Fhomebrew-emacs-builds%2Fmeta%2FCasks%2Femacs-app-good%2Fshield.json">
|
||||
</a>
|
||||
<br />
|
||||
<a href="https://github.com/jimeh/emacs-builds/issues">
|
||||
<img alt="GitHub issues" src="https://img.shields.io/github/issues-raw/jimeh/emacs-builds?style=flat&logo=github&logoColor=white">
|
||||
</a>
|
||||
<a href="https://github.com/jimeh/emacs-builds/pulls">
|
||||
<img alt="GitHub pull requests" src="https://img.shields.io/github/issues-pr-raw/jimeh/emacs-builds?style=flat&logo=github&logoColor=white">
|
||||
</a>
|
||||
<a href="https://github.com/jimeh/emacs-builds/releases">
|
||||
<img alt="GitHub all releases" src="https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Fjimeh%2Femacs-builds%2Fmeta%2Ftotal-downloads%2Fshield.json">
|
||||
</a>
|
||||
<a href="https://github.com/jimeh/emacs-builds/releases/latest"><img alt="GitHub release (stable)" src="https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Fjimeh%2Fhomebrew-emacs-builds%2Fmeta%2FCasks%2Femacs-app%2Fshield.json"></a>
|
||||
<a href="https://github.com/jimeh/emacs-builds/releases?q=pretest&expanded=true"><img alt="GitHub release (pretest)" src="https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Fjimeh%2Fhomebrew-emacs-builds%2Fmeta%2FCasks%2Femacs-app-pretest%2Fshield.json"></a>
|
||||
<a href="https://github.com/jimeh/emacs-builds/releases?q=master&expanded=true"><img alt="GitHub release (nightly)" src="https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Fjimeh%2Fhomebrew-emacs-builds%2Fmeta%2FCasks%2Femacs-app-nightly%2Fshield.json"></a>
|
||||
<a href="https://github.com/jimeh/emacs-builds/releases?q=emacs-28&expanded=true"><img alt="GitHub release (nightly@emacs-28)" src="https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Fjimeh%2Fhomebrew-emacs-builds%2Fmeta%2FCasks%2Femacs-app-nightly-28%2Fshield.json"></a>
|
||||
<a href="https://github.com/jimeh/emacs-builds/issues/7"><img alt="GitHub release (known good nightly)" src="https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Fjimeh%2Fhomebrew-emacs-builds%2Fmeta%2FCasks%2Femacs-app-good%2Fshield.json"></a>
|
||||
<a href="https://github.com/jimeh/emacs-builds/issues"><img alt="GitHub issues" src="https://img.shields.io/github/issues-raw/jimeh/emacs-builds?style=flat&logo=github&logoColor=white"></a>
|
||||
<a href="https://github.com/jimeh/emacs-builds/pulls"><img alt="GitHub pull requests" src="https://img.shields.io/github/issues-pr-raw/jimeh/emacs-builds?style=flat&logo=github&logoColor=white"></a>
|
||||
<a href="https://github.com/jimeh/emacs-builds/releases"><img alt="GitHub all releases" src="https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Fjimeh%2Femacs-builds%2Fmeta%2Ftotal-downloads%2Fshield.json"></a>
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
<strong>
|
||||
Self-contained Emacs.app builds for macOS, with native-compilation support
|
||||
in nightly builds.
|
||||
Self-contained Emacs.app builds for macOS, with native-compilation support.
|
||||
</strong>
|
||||
</p>
|
||||
|
||||
## Features
|
||||
|
||||
- Self-contained Emacs.app application bundle, with no external dependencies.
|
||||
- Native-compilation ([gccemacs][]), nightly builds only.
|
||||
- Native compilation ([gccemacs][]), only in Emacs 28.x and later builds.
|
||||
- Native JSON parsing via libjansson.
|
||||
- SVG rendering via librsvg.
|
||||
- Various image formats are supported via macOS native image APIs.
|
||||
@@ -70,9 +54,8 @@
|
||||
|
||||
## System Requirements
|
||||
|
||||
- macOS 10.15.x or later (uses Rosetta2 on M1-based macs).
|
||||
- Homebrew `gcc` formula (nightly builds only).
|
||||
- Xcode Command Line Tools (nightly builds only).
|
||||
- macOS 11.x (Big Sur) or later (uses Rosetta2 on Apple Silicon machines).
|
||||
- Xcode Command Line Tools for native compilation (Emacs 28.x and later).
|
||||
|
||||
## Installation
|
||||
|
||||
@@ -81,10 +64,10 @@
|
||||
See the [Releases][] page to download latest builds, or [here](latest) for the
|
||||
latest stable release.
|
||||
|
||||
Nightly builds of Emacs are for the part just fine, but if you don't like living
|
||||
too close to the edge, see issue [#7 Known Good Nightly Builds][7] for a list of
|
||||
recent nightly builds which have been actively used by a living being without
|
||||
any issues.
|
||||
Nightly builds of Emacs are for the most part just fine, but if you don't like
|
||||
living too close to the edge, see issue [#7 Known Good Nightly Builds][7] for a
|
||||
list of recent nightly builds which have been actively used by a living being
|
||||
for a day or two without any obvious issues.
|
||||
|
||||
[releases]: https://github.com/jimeh/emacs-builds/releases
|
||||
[latest]: https://github.com/jimeh/emacs-builds/releases/latest
|
||||
@@ -99,6 +82,15 @@ any issues.
|
||||
brew tap jimeh/emacs-builds
|
||||
```
|
||||
2. Install one of the available casks:
|
||||
- `emacs-app` for the latest stable release of Emacs (includes native-comp
|
||||
since v28.1):
|
||||
```
|
||||
brew install --cask emacs-app
|
||||
```
|
||||
- `emacs-app-pretest` for the latest pretest build from Emacs:
|
||||
```
|
||||
brew install --cask emacs-app-pretest
|
||||
```
|
||||
- `emacs-app-nightly` for the latest nightly build from Emacs' `master`
|
||||
branch:
|
||||
```
|
||||
@@ -113,11 +105,6 @@ any issues.
|
||||
```
|
||||
brew install --cask emacs-app-nightly-28
|
||||
```
|
||||
- `emacs-app` for the latest stable release of Emacs (does not include
|
||||
native-comp at time of writing):
|
||||
```
|
||||
brew install --cask emacs-app
|
||||
```
|
||||
|
||||
[7]: https://github.com/jimeh/emacs-builds/issues/7
|
||||
|
||||
@@ -160,8 +147,8 @@ use the alias from the above example.
|
||||
## Build Process
|
||||
|
||||
Building Emacs is done using the [jimeh/build-emacs-for-macos][] build script,
|
||||
executed within a GitHub Actions [workflow][]. This is why macOS 10.15.x or
|
||||
later is required, as it's the oldest version of macOS available in GitHub
|
||||
executed within a GitHub Actions [workflow][]. This is why macOS 11.x (Big Sur)
|
||||
or later is required, as it's the oldest version of macOS available in GitHub
|
||||
Actions.
|
||||
|
||||
[jimeh/build-emacs-for-macos]: https://github.com/jimeh/build-emacs-for-macos
|
||||
@@ -169,6 +156,7 @@ Actions.
|
||||
https://github.com/jimeh/emacs-builds/blob/main/.github/workflows/build.yml
|
||||
|
||||
Full history for all builds is available on GitHub Actions [here][actions].
|
||||
Build logs are only retained by GitHub for 90 days though.
|
||||
|
||||
[actions]: https://github.com/jimeh/emacs-builds/actions
|
||||
|
||||
|
||||
Reference in New Issue
Block a user