Skip to content

Commit

Permalink
ci: add GitHub Actions workflow for building Emacs
Browse files Browse the repository at this point in the history
  • Loading branch information
KarimAziev committed May 3, 2024
1 parent 7ec21dd commit a023528
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/build-emacs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Build Emacs

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
name: Build Emacs on Ubuntu
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v3

- name: Setup Environment
run: |
sudo apt-get update
sudo apt-get install -y wget git
- name: Download build-emacs.sh
run: |
wget https://raw.githubusercontent.com/KarimAziev/build-emacs/main/build-emacs.sh
chmod +x build-emacs.sh
- name: Install Dependencies
run: ./build-emacs.sh -s install_deps -y

- name: Build Emacs
run: ./build-emacs.sh -s kill_emacs,remove_emacs,pull_emacs,build_emacs,install_emacs,fix_emacs_xwidgets,copy_emacs_icon -y

0 comments on commit a023528

Please sign in to comment.