Skip to content

Commit

Permalink
Update workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
qtc-de committed Sep 8, 2023
1 parent b9c4b7f commit 2060555
Showing 1 changed file with 38 additions and 3 deletions.
41 changes: 38 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- .github/workflows/build.yml

jobs:
build-rpv-web:
build-rpv-web-x64:
runs-on: ubuntu-latest

steps:
Expand All @@ -38,9 +38,38 @@ jobs:
name: rpv-web-x64
path: rpv-web-x64.exe

build-rpv-web-x86:
runs-on: ubuntu-latest

steps:
- name: Checkout ${{ github.event.repository.name }}
uses: actions/checkout@v3

- name: Install V
uses: vlang/[email protected]
with:
version: '0.4'

- name: Install mingw
run: |
sudo apt install -y gcc-mingw-w64
- name: Build rpv-web
run: |
cp ~/.vmodules/qtc_de/rpv/alternate/default-x86.v ~/.vmodules/qtc_de/rpv/internals/rpc-internal-structs.v
v install qtc-de.rpv
make rpv-web-x86
- name: Archive rpv-web
uses: actions/upload-artifact@v3
with:
name: rpv-web-x86
path: rpv-web-x86.exe

build-frontend:
runs-on: ubuntu-latest
needs: build-rpv-web
needs: build-rpv-web-x86
needs: build-rpv-web-x64

steps:
- name: Checkout ${{ github.event.repository.name }}
Expand All @@ -63,10 +92,16 @@ jobs:
with:
name: rpv-web-x64

- name: Download rpv-web-x86
uses: actions/download-artifact@v3
with:
name: rpv-web-x86

- name: Archive frontend and rpv-web
uses: actions/upload-artifact@v3
with:
name: rpv-web-x64
name: rpv-web
path: |
dist
rpv-web-x64.exe
rpv-web-x86.exe

0 comments on commit 2060555

Please sign in to comment.