Skip to content

Commit 5246888

Browse files
committed
Merge branch 'master' into feat/exit-code-tests
2 parents 818034f + f7d5a7d commit 5246888

File tree

304 files changed

+8055
-2137
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

304 files changed

+8055
-2137
lines changed

.github/labeler.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
documentation:
2+
- docs/**/*
3+
- README.md
4+
- CHANGELOG.md
5+
6+
CI:
7+
- .github/**/*

.github/workflows/analyze.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ on:
1515
branches:
1616
- master
1717
paths-ignore:
18-
- '**.md'
18+
- '**/docs.yml'
19+
- '**.md'
1920
workflow_dispatch:
2021

2122
concurrency:
@@ -35,6 +36,7 @@ jobs:
3536
- 27.2
3637
- 28.2
3738
- 29.4
39+
- 30.1
3840
experimental: [false]
3941
include:
4042
- os: ubuntu-latest
@@ -71,4 +73,4 @@ jobs:
7173

7274
- name: Testing...
7375
run: |
74-
make command-analyze
76+
npm run test-unsafe test/jest/analyze.test.js

.github/workflows/build.yml

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ on:
1616
branches:
1717
- master
1818
paths-ignore:
19+
- '**/docs.yml'
1920
- '**.md'
2021
workflow_dispatch:
2122

@@ -24,8 +25,7 @@ concurrency:
2425
cancel-in-progress: true
2526

2627
env:
27-
VERSION: 0.10.3
28-
NODE: node20
28+
VERSION: 0.10.4
2929
REPO_BIN: 'emacs-eask/binaries'
3030

3131
jobs:
@@ -45,11 +45,17 @@ jobs:
4545
steps:
4646
- uses: actions/checkout@v4
4747

48-
- name: Install pkg
49-
run: npm install -g pkg
48+
- name: Install dependencies
49+
run: |
50+
sudo apt-get update
51+
sudo apt-get install --assume-yes qemu-user-binfmt
52+
53+
- uses: MOZGIII/install-ldid-action@master
54+
with:
55+
tag: v2.1.5-procursus7
5056

5157
- name: Preparing...
52-
run: npm install
58+
run: npm install --include=dev
5359

5460
- name: Building...
5561
run: npm run-script pkg-${{ matrix.target }}
@@ -90,7 +96,7 @@ jobs:
9096
cd ..
9197
cp ${{ matrix.target }}.${{ env._EXT }} eask_${{ env.VERSION }}_${{ matrix.target }}.${{ env._EXT }}
9298
93-
- name: Uploading...
99+
- name: Upload for prerelease
94100
if: github.ref == 'refs/heads/master'
95101
uses: softprops/action-gh-release@v2.0.8
96102
with:
@@ -99,6 +105,14 @@ jobs:
99105
prerelease: true
100106
files: eask_${{ env.VERSION }}_${{ matrix.target }}.${{ env._EXT }}
101107

108+
#### Upload an artifact for testing purposes
109+
110+
- name: Upload for tests
111+
uses: actions/upload-artifact@v4
112+
with:
113+
name: ${{ matrix.target }}
114+
path: dist
115+
102116
#### Prepare to push to `binaries` repository!
103117

104118
- name: Move tar to HOME

.github/workflows/compat.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ on:
1515
branches:
1616
- master
1717
paths-ignore:
18-
- '**.md'
18+
- '**/docs.yml'
19+
- '**.md'
1920
workflow_dispatch:
2021

2122
concurrency:
@@ -35,6 +36,7 @@ jobs:
3536
- 27.2
3637
- 28.2
3738
- 29.4
39+
- 30.1
3840
experimental: [false]
3941
include:
4042
- os: ubuntu-latest

.github/workflows/compile.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ on:
1515
branches:
1616
- master
1717
paths-ignore:
18-
- '**.md'
18+
- '**/docs.yml'
19+
- '**.md'
1920
workflow_dispatch:
2021

2122
concurrency:
@@ -30,7 +31,7 @@ jobs:
3031
matrix:
3132
os: [ubuntu-latest]
3233
emacs-version:
33-
- 29.4
34+
- 30.1
3435

3536
steps:
3637
- uses: jcs090218/setup-emacs@master

.github/workflows/config.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
branches:
66
- master
77
paths:
8-
- 'eask'
8+
- 'eask'
99
- '**.yml'
1010
- lisp/**
1111
- cmds/**
@@ -15,7 +15,8 @@ on:
1515
branches:
1616
- master
1717
paths-ignore:
18-
- '**.md'
18+
- '**/docs.yml'
19+
- '**.md'
1920
workflow_dispatch:
2021

2122
concurrency:
@@ -35,6 +36,7 @@ jobs:
3536
- 27.2
3637
- 28.2
3738
- 29.4
39+
- 30.1
3840
experimental: [false]
3941
include:
4042
- os: ubuntu-latest
@@ -71,4 +73,4 @@ jobs:
7173

7274
- name: Testing...
7375
run: |
74-
make command-config
76+
npm run test-unsafe test/jest/config.test.js

.github/workflows/deprecated/color.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ on:
1515
branches:
1616
- master
1717
paths-ignore:
18-
- '**.md'
18+
- '**/docs.yml'
19+
- '**.md'
1920
workflow_dispatch:
2021

2122
concurrency:
@@ -30,7 +31,7 @@ jobs:
3031
matrix:
3132
os: [ubuntu-latest, macos-latest, windows-latest]
3233
emacs-version:
33-
- 29.4
34+
- 30.1
3435

3536
steps:
3637
- uses: jcs090218/setup-emacs@master

.github/workflows/deprecated/error.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ on:
1515
branches:
1616
- master
1717
paths-ignore:
18-
- '**.md'
18+
- '**/docs.yml'
19+
- '**.md'
1920
workflow_dispatch:
2021

2122
concurrency:
@@ -30,7 +31,7 @@ jobs:
3031
matrix:
3132
os: [ubuntu-latest, macos-latest, windows-latest]
3233
emacs-version:
33-
- 29.4
34+
- 30.1
3435

3536
steps:
3637
- uses: jcs090218/setup-emacs@master

.github/workflows/docker.yml

Lines changed: 24 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ on:
1515
branches:
1616
- master
1717
paths-ignore:
18-
- '**.md'
18+
- '**/docs.yml'
19+
- '**.md'
1920
workflow_dispatch:
2021

2122
concurrency:
@@ -28,13 +29,31 @@ jobs:
2829
strategy:
2930
fail-fast: false
3031
matrix:
31-
os: [ubuntu-latest, macos-latest] # XXX: `windows-latest` is not possible at the moment!
32+
os:
33+
- ubuntu-latest
34+
# XXX: `macos-latest` on arm64 is not possible as well!?
35+
# See https://stackoverflow.com/questions/77675906/github-actions-build-docker-image-on-arm64-macos-latest-xlarge
36+
#- macos-latest
37+
# XXX: `windows-latest` is not possible at the moment!
38+
#- windows-latest
3239

3340
steps:
3441
- uses: actions/checkout@v4
3542

36-
- name: Install Docker
37-
uses: crazy-max/ghaction-setup-docker@master
43+
- name: Install Docker (Linux)
44+
if: runner.os == 'Linux'
45+
uses: docker/setup-docker-action@v4
46+
47+
- name: Install Docker (macOS)
48+
if: runner.os == 'macOS'
49+
run: |
50+
brew install docker
51+
52+
- name: Install Docker (Windows)
53+
if: runner.os == 'Windows'
54+
uses: crazy-max/ghaction-chocolatey@v3
55+
with:
56+
args: install docker
3857

3958
- name: Prepare Eask (Unix)
4059
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
@@ -48,4 +67,4 @@ jobs:
4867

4968
- name: Testing...
5069
run: |
51-
make command-docker
70+
npm run test-unsafe test/jest/docker.test.js

.github/workflows/docs.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ on:
66
- master
77
- docs
88
paths:
9-
- '**.yml'
9+
- '**/docs.yml'
1010
- docs/**
1111
pull_request:
1212
branches:
1313
- master
1414
paths:
15-
- '**.yml'
15+
- '**/docs.yml'
1616
- docs/**
1717
workflow_dispatch:
1818

@@ -45,13 +45,16 @@ jobs:
4545
4646
- name: Check out GitHub page repo
4747
uses: actions/checkout@v4
48+
if: github.ref == 'refs/heads/master'
4849
with:
4950
repository: emacs-eask/emacs-eask.github.io
5051
path: emacs-eask.github.io
5152
token: ${{ secrets.PAT }}
5253

5354
- name: Build doc artifacts with Hugo
54-
run: hugo --destination ../emacs-eask.github.io --minify
55+
run: |
56+
mkdir -p ../emacs-eask.github.io
57+
hugo --destination ../emacs-eask.github.io --minify
5558
working-directory: docs
5659

5760
# TODO: Generate better commit message

0 commit comments

Comments
 (0)