build: add CI (using Docker) #2
31
.gitea/workflows/link.yml
Normal file
31
.gitea/workflows/link.yml
Normal 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
3
.gitmodules
vendored
Normal 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
1
deps/iw5-zones
vendored
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit bd78584a7e72ac992ca6ba6aaabc933c44235909
|
Loading…
x
Reference in New Issue
Block a user