create the CI #1

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

View File

@@ -11,35 +11,10 @@ jobs:
with:
go-version: '>=1.21.4'
- name: Set up NodeJS
run: |
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
sudo apt-get install -y nodejs
node -v
- name: Set up Go
run: |
GO_VERSION=1.21.4
wget https://golang.org/dl/go$GO_VERSION.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go$GO_VERSION.linux-amd64.tar.gz
echo "export PATH=$PATH:/usr/local/go/bin" >> ~/.profile
echo "export GOPATH=$HOME/go" >> ~/.profile
source ~/.profile
go version
go env
- name: Set up Wails
run: |
source ~/.profile
go install github.com/wailsapp/wails/v2/cmd/wails@latest
apt-get install -y libgtk-3-dev
apt-get install -y --reinstall pkg-config
/usr/share/pkg-config-dpkghook update
- name: Building ${{ github.repository }}
run: |
source ~/.profile
$GOPATH/bin/wails build
- uses: https://github.com/dAppServer/wails-build-action@v2.2
with:
build-name: dmxconnect
build-platform: linux/amd64
- 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 }}."