Build in forgejo action
This commit is contained in:
parent
3ed828da1b
commit
f8ba7f27c5
1 changed files with 32 additions and 0 deletions
32
.forgejo/workflows/build.yaml
Normal file
32
.forgejo/workflows/build.yaml
Normal 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
|
||||
|
Loading…
Add table
Reference in a new issue