Build in forgejo action

This commit is contained in:
Christoph Stahl 2025-04-02 15:46:37 +02:00
parent 3ed828da1b
commit f8ba7f27c5

View file

@ -0,0 +1,32 @@
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