Files
dmxconnect_ci_testing/.gitea/workflows/build.yaml
Valentin Boulanger bd6a9c148b
Some checks failed
Build software / prepare (push) Failing after 3m27s
fixed
2024-07-06 12:38:03 +02:00

50 lines
1.8 KiB
YAML

name: Build software
run-name: ${{ github.actor }} is testing out Gitea Actions 🚀
on: [push]
jobs:
prepare:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- 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 libgtk-3-dev
apt-get install --reinstall pkg-config
/usr/share/pkg-config-dpkghook update
- name: Building ${{ github.repository }}
run: |
source ~/.profile
$GOPATH/bin/wails build
- 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 }}."