32 lines
769 B
YAML
32 lines
769 B
YAML
name: Build
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Set up Git repository
|
|
uses: actions/checkout@v4
|
|
- name: Download wix3
|
|
run: wget https://github.com/wixtoolset/wix3/releases/download/wix3141rtm/wix314-binaries.zip
|
|
- name: Extract wix3
|
|
run: |
|
|
ls
|
|
mkdir /artifact
|
|
mv wix314-binaries.zip /artifact
|
|
cd /artifact
|
|
unzip wix314-binaries.zip
|
|
- name: Compile wix-on-linux
|
|
run: |
|
|
./autogen.sh
|
|
./configure --bindir=$(pwd)/wix
|
|
make
|
|
make install
|
|
- name: Upload artifact
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: win-on-linux
|
|
path: /artifact
|
|
|