build: add CI (using Docker) (#2)
All checks were successful
link / Link assets on Linux (push) Successful in 5m24s
All checks were successful
link / Link assets on Linux (push) Successful in 5m24s
This commit is contained in:
42
.gitea/workflows/link.yml
Normal file
42
.gitea/workflows/link.yml
Normal file
@ -0,0 +1,42 @@
|
||||
name: link
|
||||
|
||||
on: [push]
|
||||
|
||||
env:
|
||||
OAT_VERSION: "0.10.0"
|
||||
|
||||
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: Make sure we have the deps
|
||||
run: |
|
||||
git submodule update --init --recursive
|
||||
|
||||
- name: Link assets
|
||||
uses: addnab/docker-run-action@v3
|
||||
with:
|
||||
image: ubuntu:noble
|
||||
options: --volumes-from=${{ env.JOB_CONTAINER_NAME }}
|
||||
run: |
|
||||
cd ${{ github.workspace }}
|
||||
export OAT_VERSION=${{ env.OAT_VERSION }}
|
||||
./.gitea/scripts/ci.sh
|
||||
|
||||
- name: Upload assets
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: assets
|
||||
path: |
|
||||
zone_out/code_post_gfx_mp/code_post_gfx_mp.ff
|
||||
zone_out/code_post_gfx_mp/localized_ui_mp.ff
|
Reference in New Issue
Block a user