create the CI #1

Open
thinkode wants to merge 38 commits from 6-create-the-ci into develop
Showing only changes of commit 29d002c96b - Show all commits

View File

@@ -3,18 +3,36 @@ run-name: ${{ github.actor }} is testing out Gitea Actions 🚀
on: [push]
jobs:
prepare:
runs-on: ubuntu-latest
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:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
- name: Checkout
uses: actions/checkout@v2
with:
go-version: '>=1.21.4'
submodules: recursive
- uses: https://github.com/dAppServer/wails-build-action@v2.2
- name: Build wails
uses: dAppServer/wails-build-action@v2.2
id: build
with:
build-name: dmxconnect
build-platform: linux/amd64
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 }}."