WIP: initial forgejo action
This commit is contained in:
parent
b5fe07573d
commit
ffb5a08d5a
1 changed files with 70 additions and 0 deletions
70
.forgejo/workflows/bin-linux64-release.yaml
Normal file
70
.forgejo/workflows/bin-linux64-release.yaml
Normal file
|
@ -0,0 +1,70 @@
|
||||||
|
name: bin-linux64-release
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ master ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: docker
|
||||||
|
|
||||||
|
name: clone src
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
fetch-depth: 1
|
||||||
|
path: "./${{ github.event.repository.name }}"
|
||||||
|
|
||||||
|
- name: apt dependencies
|
||||||
|
run: |
|
||||||
|
apt update
|
||||||
|
apt install -y --no-install-recommends \
|
||||||
|
zip \
|
||||||
|
gettext \
|
||||||
|
libasound2-dev \
|
||||||
|
libgnutls28-dev \
|
||||||
|
libopenxr-dev \
|
||||||
|
libqscintilla2-qt5-dev \
|
||||||
|
libsdl2-dev \
|
||||||
|
libvulkan-dev \
|
||||||
|
libwayland-dev \
|
||||||
|
libxcursor-dev \
|
||||||
|
libxkbcommon-dev \
|
||||||
|
libxrandr-dev \
|
||||||
|
qtbase5-dev
|
||||||
|
|
||||||
|
- name: makelibs
|
||||||
|
run: cd engine && make makelibs FTE_TARGET=linux64
|
||||||
|
|
||||||
|
- name: build fteqw
|
||||||
|
run: cd engine && make m-rel FTE_TARGET=linux64 BRANDFLAGS="-DLINK_EZHUD=1"
|
||||||
|
|
||||||
|
- name: build fteqcc
|
||||||
|
run: cd engine && make qcc-rel FTE_TARGET=linux64
|
||||||
|
|
||||||
|
- name: build dedicated-server
|
||||||
|
run: cd engine && make sv-rel FTE_TARGET=linux64
|
||||||
|
|
||||||
|
- name: build plugins
|
||||||
|
run: cd engine && make plugins-rel FTE_TARGET=linux64 NATIVE_PLUGINS="ode cod ezhud hl2 irc models xmpp openxr openssl quake3 qi"
|
||||||
|
|
||||||
|
- name: build imgtool
|
||||||
|
run: cd engine && make imgtool FTE_TARGET=linux64
|
||||||
|
|
||||||
|
- name: build iqmtool
|
||||||
|
run: cd engine && make iqmtool FTE_TARGET=linux64
|
||||||
|
|
||||||
|
- name: upload release
|
||||||
|
uses: actions/forgejo-release@v2
|
||||||
|
with:
|
||||||
|
url: https://code.idtech.space
|
||||||
|
repo: "${{ github.repository }}"
|
||||||
|
tag: "${{ github.ref_name }}"
|
||||||
|
sha: "${{ github.sha }}"
|
||||||
|
direction: upload
|
||||||
|
release-dir: ./engine/release/
|
||||||
|
token: ${{ secrets.TOKEN }}
|
||||||
|
title: "Development Build"
|
||||||
|
release-notes: "Auto-generated development build."
|
||||||
|
prerelease: true
|
||||||
|
override: ${{ vars.OVERRIDE || "false" }}
|
||||||
|
release-notes-assistant: true
|
Loading…
Reference in a new issue