Browse Source

build.yml now relies on emacs-build.cmd

tmp/comercial-emacs
Juan Jose Garcia-Ripoll 4 years ago
parent
commit
5017b9804e
  1. 37
      .github/workflows/build.yml

37
.github/workflows/build.yml

@ -21,7 +21,7 @@ jobs:
# https://github.com/msys2/MINGW-packages/blob/master/.github/workflows/main.yml # https://github.com/msys2/MINGW-packages/blob/master/.github/workflows/main.yml
strategy: strategy:
matrix: matrix:
include: [{ msystem: MINGW64, arch: x86_64}] include: [{ msystem: MINGW64, arch: x86_64 }]
defaults: defaults:
run: run:
@ -32,45 +32,36 @@ jobs:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2 - uses: actions/checkout@v2
# Set up a minimal MSYS/MINGW environment
- uses: msys2/setup-msys2@v2
with:
msystem: ${{ matrix.msystem }}
release: true
install: base-devel git mingw-w64-${{ matrix.arch }}-toolchain
update: true
- name: See free space - name: See free space
run: powershell -Command Get-PSDrive run: powershell -Command Get-PSDrive
# Collect dependencies # This is the shortest job, but in this case it pulls all MSYS/MINGW64
- name: Collect dependencies - name: Collect dependencies
run: msys2 -c './emacs-build.sh --debug --deps 2>&1' run: .\emacs-build.cmd --clone
- name: See free space - name: See free space
run: powershell -Command Get-PSDrive run: powershell -Command Get-PSDrive
# Runs a single command using the runners shell # Now download dependencies
- name: Show we can write text - name: Show we can write text
run: msys2 -c './emacs-build.sh --help' run: .\emacs-build.cmd --deps
# Clone emacs
- name: Clone emacs
run: msys2 -c './emacs-build.sh --clone 2>&1'
- name: See free space - name: See free space
run: powershell -Command Get-PSDrive run: powershell -Command Get-PSDrive
# Build only emacs # Build an pack
- name: Build emacs - name: Show we can write text
run: msys2 -c './emacs-build.sh --build 2>&1' run: .\emacs-build.cmd --build --pack-emacs
- name: See free space - name: See free space
run: powershell -Command Get-PSDrive run: powershell -Command Get-PSDrive
# Pack only emacs # Full emacs
- name: Pack emacs - name: Clone emacs
run: msys2 -c './emacs-build.sh --pack-emacs 2>&1' run: .\emacs-build.cmd --pdf-tools --isync --mu --hunspell --pack-all
- name: See free space
run: powershell -Command Get-PSDrive
# Upload everything # Upload everything
- name: Upload binaries - name: Upload binaries

Loading…
Cancel
Save