mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-16 13:13:03 +00:00
powder that makes you say yes
This commit is contained in:
17
.github/workflows/ci.yml
vendored
17
.github/workflows/ci.yml
vendored
@@ -19,10 +19,21 @@ jobs:
|
|||||||
- name: Install Tools
|
- name: Install Tools
|
||||||
run: |
|
run: |
|
||||||
bash tools/ci/install_build_deps.sh
|
bash tools/ci/install_build_deps.sh
|
||||||
|
- name: Restore Yarn cache
|
||||||
|
if: "${{ contains(github.event.pull_request.labels.*.name, 'Type: TGUI Bundle') }}"
|
||||||
|
uses: actions/cache@v3
|
||||||
|
with:
|
||||||
|
path: tgui/.yarn/cache
|
||||||
|
key: ${{ runner.os }}-yarn-${{ secrets.CACHE_PURGE_KEY }}-${{ hashFiles('tgui/yarn.lock') }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-build-${{ secrets.CACHE_PURGE_KEY }}-
|
||||||
|
${{ runner.os }}-build-
|
||||||
|
${{ runner.os }}-
|
||||||
- name: Run Tests
|
- name: Run Tests
|
||||||
run: |
|
run: |
|
||||||
tools/ci/validate_files.sh
|
tools/ci/validate_files.sh
|
||||||
tools/ci/build_tgui.sh
|
tools/ci/build_tgui.sh
|
||||||
|
|
||||||
dreamchecker:
|
dreamchecker:
|
||||||
name: DreamChecker
|
name: DreamChecker
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -39,10 +50,12 @@ jobs:
|
|||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: |
|
run: |
|
||||||
tools/ci/install_spaceman_dmm.sh dreamchecker
|
tools/ci/install_spaceman_dmm.sh dreamchecker
|
||||||
|
|
||||||
- name: Run Linter
|
- name: Run Linter
|
||||||
id: linter
|
id: linter
|
||||||
run: |
|
run: |
|
||||||
~/dreamchecker > ${GITHUB_WORKSPACE}/output-annotations.txt 2>&1
|
~/dreamchecker > ${GITHUB_WORKSPACE}/output-annotations.txt 2>&1
|
||||||
|
|
||||||
- name: Annotate Linter
|
- name: Annotate Linter
|
||||||
uses: yogstation13/DreamAnnotate@v1
|
uses: yogstation13/DreamAnnotate@v1
|
||||||
if: always()
|
if: always()
|
||||||
@@ -76,7 +89,7 @@ jobs:
|
|||||||
TEST_DEFINE: "UNIT_TEST"
|
TEST_DEFINE: "UNIT_TEST"
|
||||||
TEST_FILE: "code/_unit_tests.dm"
|
TEST_FILE: "code/_unit_tests.dm"
|
||||||
RUN: "1"
|
RUN: "1"
|
||||||
- name: Compile POIs (no run)
|
- name: Compile POIs
|
||||||
run: |
|
run: |
|
||||||
tools/ci/install_byond.sh
|
tools/ci/install_byond.sh
|
||||||
tools/ci/compile_and_run.sh
|
tools/ci/compile_and_run.sh
|
||||||
@@ -84,7 +97,7 @@ jobs:
|
|||||||
TEST_DEFINE: "MAP_TEST"
|
TEST_DEFINE: "MAP_TEST"
|
||||||
TEST_FILE: "code/_map_tests.dm"
|
TEST_FILE: "code/_map_tests.dm"
|
||||||
RUN: "0"
|
RUN: "0"
|
||||||
- name: Compile away missions (no run)
|
- name: Compile away missions
|
||||||
run: |
|
run: |
|
||||||
tools/ci/install_byond.sh
|
tools/ci/install_byond.sh
|
||||||
tools/ci/compile_and_run.sh
|
tools/ci/compile_and_run.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user