Files
dmxconnect_ci_testing/.gitea/workflows/build.yaml
Valentin Boulanger 9070a0b0b1
Some checks failed
Build software / prepare (map[name:DMXConnect os:ubuntu-latest platform:linux/amd64]) (push) Failing after 7m57s
fixed
2024-07-06 14:33:09 +02:00

51 lines
1.8 KiB
YAML

name: Build software
run-name: ${{ github.actor }} is testing out Gitea Actions 🚀
on: [push]
env:
# Necessary for most environments as build failure can occur due to OOM issues
NODE_OPTIONS: "--max-old-space-size=4096"
jobs:
prepare:
strategy:
# Failure in one platform build won't impact the others
fail-fast: false
matrix:
build:
- name: 'DMXConnect'
platform: 'linux/amd64'
os: 'ubuntu-latest'
# - name: 'DMXConnect'
# platform: 'windows/amd64'
# os: 'windows-latest'
# - name: 'DMXConnect'
# platform: 'darwin/universal'
# os: 'macos-latest'
runs-on: ${{ matrix.build.os }}
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: recursive
- name: Build wails
uses: dAppServer/wails-build-action@v2.2
id: build
with:
build-name: ${{ matrix.build.name }}
build-platform: ${{ matrix.build.platform }}
package: false
go-version: '1.21'
- run: echo "This job is now running on a ${{ runner.os }} server hosted by Gitea!"
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code
uses: actions/checkout@v3
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
- name: List files in the repository
run: |
ls ${{ github.workspace }}
- run: echo "🍏 Job finished with status ${{ job.status }}."