mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-10 18:02:57 +00:00
bur
This commit is contained in:
32
.github/workflows/ci_suite.yml
vendored
32
.github/workflows/ci_suite.yml
vendored
@@ -8,9 +8,9 @@ on:
|
|||||||
- master
|
- master
|
||||||
jobs:
|
jobs:
|
||||||
run_linters:
|
run_linters:
|
||||||
if: "!contains(github.event.head_commit.message, '[ci skip]')"
|
if: !contains(github.event.head_commit.message, '[ci skip]')
|
||||||
name: Run Linters
|
name: Run Linters
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Restore SpacemanDMM cache
|
- name: Restore SpacemanDMM cache
|
||||||
@@ -51,13 +51,13 @@ jobs:
|
|||||||
outputFile: output-annotations.txt
|
outputFile: output-annotations.txt
|
||||||
|
|
||||||
compile_all_maps:
|
compile_all_maps:
|
||||||
if: "!contains(github.event.head_commit.message, '[ci skip]')"
|
if: !contains(github.event.head_commit.message, '[ci skip]')
|
||||||
name: Compile Maps
|
name: Compile Maps
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- name: Restore BYOND cache
|
- name: Restore BYOND cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: ~/BYOND
|
path: ~/BYOND
|
||||||
key: ${{ runner.os }}-byond-${{ secrets.CACHE_PURGE_KEY }}
|
key: ${{ runner.os }}-byond-${{ secrets.CACHE_PURGE_KEY }}
|
||||||
@@ -66,11 +66,10 @@ jobs:
|
|||||||
bash tools/ci/install_byond.sh
|
bash tools/ci/install_byond.sh
|
||||||
source $HOME/BYOND/byond/bin/byondsetup
|
source $HOME/BYOND/byond/bin/byondsetup
|
||||||
tools/build/build --ci dm -DCIBUILDING -DCITESTING -DALL_MAPS
|
tools/build/build --ci dm -DCIBUILDING -DCITESTING -DALL_MAPS
|
||||||
|
|
||||||
run_all_tests:
|
run_all_tests:
|
||||||
if: "!contains(github.event.head_commit.message, '[ci skip]')"
|
if: !contains(github.event.head_commit.message, '[ci skip]')
|
||||||
name: Integration Tests
|
name: Integration Tests
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
services:
|
services:
|
||||||
mysql:
|
mysql:
|
||||||
image: mysql:latest
|
image: mysql:latest
|
||||||
@@ -80,14 +79,14 @@ jobs:
|
|||||||
- 3306
|
- 3306
|
||||||
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
|
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- name: Restore BYOND cache
|
- name: Restore BYOND cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: ~/BYOND
|
path: ~/BYOND
|
||||||
key: ${{ runner.os }}-byond-${{ secrets.CACHE_PURGE_KEY }}
|
key: ${{ runner.os }}-byond-${{ secrets.CACHE_PURGE_KEY }}
|
||||||
- name: Restore Yarn cache
|
- name: Restore Yarn cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: tgui/.yarn/cache
|
path: tgui/.yarn/cache
|
||||||
key: ${{ runner.os }}-yarn-${{ secrets.CACHE_PURGE_KEY }}-${{ hashFiles('tgui/yarn.lock') }}
|
key: ${{ runner.os }}-yarn-${{ secrets.CACHE_PURGE_KEY }}-${{ hashFiles('tgui/yarn.lock') }}
|
||||||
@@ -118,15 +117,14 @@ jobs:
|
|||||||
source $HOME/BYOND/byond/bin/byondsetup
|
source $HOME/BYOND/byond/bin/byondsetup
|
||||||
tools/build/build --ci -DCIBUILDING
|
tools/build/build --ci -DCIBUILDING
|
||||||
bash tools/ci/run_server.sh
|
bash tools/ci/run_server.sh
|
||||||
|
|
||||||
test_windows:
|
test_windows:
|
||||||
if: "!contains(github.event.head_commit.message, '[ci skip]')"
|
if: !contains(github.event.head_commit.message, '[ci skip]')
|
||||||
name: Windows Build
|
name: Windows Build
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- name: Restore Yarn cache
|
- name: Restore Yarn cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: tgui/.yarn/cache
|
path: tgui/.yarn/cache
|
||||||
key: ${{ runner.os }}-yarn-${{ secrets.CACHE_PURGE_KEY }}-${{ hashFiles('tgui/yarn.lock') }}
|
key: ${{ runner.os }}-yarn-${{ secrets.CACHE_PURGE_KEY }}-${{ hashFiles('tgui/yarn.lock') }}
|
||||||
@@ -143,7 +141,7 @@ jobs:
|
|||||||
md deploy
|
md deploy
|
||||||
bash tools/deploy.sh ./deploy
|
bash tools/deploy.sh ./deploy
|
||||||
- name: Deploy artifact
|
- name: Deploy artifact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: deploy
|
name: deploy
|
||||||
path: deploy
|
path: deploy
|
||||||
|
|||||||
Reference in New Issue
Block a user