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 +