feat(build): add conditional xwidgets support based on libwebkit2gtk … #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Emacs | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build-ubuntu-latest: | |
name: Build Emacs on Ubuntu Latest | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- 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 |