Browse Source

Using powershell on yml

tmp/comercial-emacs
Kien Nguyen 4 years ago
parent
commit
fbaa83194e
  1. 14
      .github/workflows/build.yml

14
.github/workflows/build.yml

@ -25,7 +25,7 @@ jobs:
defaults:
run:
shell: cmd
shell: powershell
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
@ -33,14 +33,14 @@ jobs:
- uses: actions/checkout@v2
- name: See free space
run: powershell -noprofile -Command Get-PSDrive
run: Get-PSDrive
# This is the shortest job, but in this case it pulls all MSYS/MINGW64
- name: Clone Emacs
run: .\emacs-build.cmd --clone --repo https://github.com/kiennq/emacs.git
- name: See free space
run: powershell -noprofile -Command Get-PSDrive
run: Get-PSDrive
# Now download dependencies
# - name: Collect dependencies
@ -50,17 +50,17 @@ jobs:
# run: powershell -noprofile -Command Get-PSDrive
- name: Build Emacs
run: .\emacs-build.cmd --nativecomp --slim --with-rsvg --build
run: .\emacs-build.cmd --nativecomp --slim --no-compress --with-rsvg --build
- name: See free space
run: powershell -noprofile -Command Get-PSDrive
run: Get-PSDrive
# Full emacs
- name: Pack full emacs
run: .\emacs-build.cmd --nativecomp --slim --with-rsvg --pack-all
run: .\emacs-build.cmd --nativecomp --slim --no-compress --with-rsvg --pack-all
- name: See free space
run: powershell -noprofile -Command Get-PSDrive
run: Get-PSDrive
# Upload everything
- name: Upload binaries

Loading…
Cancel
Save