Add .gitea/workflows/build-release.yml
Some checks failed
Build And Release / build_release (push) Failing after 2m4s
Some checks failed
Build And Release / build_release (push) Failing after 2m4s
This commit is contained in:
parent
c8acf2b10d
commit
394f030403
40
.gitea/workflows/build-release.yml
Normal file
40
.gitea/workflows/build-release.yml
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
name: Build And Release
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build_release:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Check out repository
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Install build dependencies
|
||||||
|
run: |
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install -y \
|
||||||
|
build-essential g++ make cmake \
|
||||||
|
libglew-dev libglfw3-dev \
|
||||||
|
libglm-dev libyaml-cpp-dev \
|
||||||
|
mesa-common-dev libglu-dev \
|
||||||
|
liblua5.4-dev
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
- name: Build and create release artifacts
|
||||||
|
run: |
|
||||||
|
make clean
|
||||||
|
make
|
||||||
|
|
||||||
|
- name: Upload release artifacts
|
||||||
|
# The syntax below is taken from GitHub's "upload-artifact" action.
|
||||||
|
# In Gitea, you may need to adapt or configure an equivalent step
|
||||||
|
# if the built-in "upload-artifact" isn't supported yet.
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: TesseractEngine
|
||||||
|
path: release
|
Loading…
Reference in New Issue
Block a user