Skip to content

msvc2019

msvc2019 #13

Workflow file for this run

name: build
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-latest]
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Checkout submodules
run: |
git submodule update --init --recursive
- uses: ilammy/msvc-dev-cmd@v1
with:
arch: x86
- name: Generating environment
shell: cmd
run: |
@set PERL=c:/Strawberry/perl/bin/perl
c:/Strawberry/perl/bin/perl makelib.pl --perlpath=c:/Strawberry/perl/bin --busybox=./support/busybox --verbose vc2019
choco install innosetup --version=5.6.1 --force
- name: Compile
shell: cmd
run: |
@set PERL=c:/Strawberry/perl/bin/perl
.\support\gmake-42 release build
- name: Package
shell: cmd
run: |
@set PERL=c:/Strawberry/perl/bin/perl
@rem .\support\gmake-42 release package
"%programfiles(x86)%\Inno Setup 5\ISCC" -DBUILD_INFO=1 -DBUILD_TYPE=release ".\releases\xsh-inno-setup.iss"
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: xsh-package
path: ./releases/xsh-build*-setup.exe
- name: Release artifacts
uses: softprops/action-gh-release@v1
with:
files: ./releases/xsh-build*-setup.exe
draft: true