From f8ba7f27c517bdfe5be1f086ad2a1d1f7503c854 Mon Sep 17 00:00:00 2001 From: Christoph Stahl Date: Wed, 2 Apr 2025 15:46:37 +0200 Subject: [PATCH] Build in forgejo action --- .forgejo/workflows/build.yaml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .forgejo/workflows/build.yaml diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml new file mode 100644 index 0000000..66cd9fa --- /dev/null +++ b/.forgejo/workflows/build.yaml @@ -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 +