build: add CI (using Docker) #2

Merged
Future merged 57 commits from build/ci-docker into main 2024-03-26 18:18:35 +00:00
3 changed files with 35 additions and 0 deletions
Showing only changes of commit 50b3049c93 - Show all commits

31
.gitea/workflows/link.yml Normal file
View File

@ -0,0 +1,31 @@
name: link
on: [push]
jobs:
link-linux:
name: Link assets on Linux
runs-on: ubuntu-latest
steps:
- name: Check out files
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
# NOTE - If LFS ever starts getting used for storing zones, switch this to true!
lfs: false
- name: Install Docker
run: |
curl -fsSL https://get.docker.com -o get-docker.sh
sh get-docker.sh
- name: Setup OAT
uses: diamante0018/setup-oat@main
with:
version: "0.10.0"
- name: Link assets
run: |
docker run --rm -v $PWD:/workdir ubuntu:noble Linker -v --load "deps/iw5-zones/zone/english/code_post_gfx_mp.ff" --menu-permissive --menu-no-optimization code_post_gfx_mp

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "deps/iw5-zones"]
path = deps/iw5-zones
url = https://git.alterware.dev/AlterWare/iw5-zones.git

1
deps/iw5-zones vendored Submodule

@ -0,0 +1 @@
Subproject commit bd78584a7e72ac992ca6ba6aaabc933c44235909