Skip to content

Commit

Permalink
lets do it like this
Browse files Browse the repository at this point in the history
  • Loading branch information
harryob committed Oct 12, 2023
1 parent 4194d53 commit 722fe26
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci_suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,13 @@ jobs:
name: Lint with OpenDream
runs-on: ubuntu-20.04
steps:
- name: Restore Yarn cache
uses: actions/cache@v3
with:
path: OpenDream
key: ${{ runner.os }}-opendream-${{ hashFiles('dependencies.sh') }}
restore-keys: |
${{ runner.os }}-opendream-
- uses: actions/checkout@v3
- name: Setup OD
run: |
Expand Down
2 changes: 2 additions & 0 deletions dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ export SPACEMAN_DMM_VERSION=suite-1.7.2

# Python version for mapmerge and other tools
export PYTHON_VERSION=3.7.9

export OPENDREAM_VERSION=0.2.0
5 changes: 5 additions & 0 deletions tools/ci/setup_od.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
#!/bin/bash
set -eo pipefail

if [ -z "${OPENDREAM_VERSION+x}" ]; then
source dependencies.sh
fi

git clone https://github.com/OpenDreamProject/OpenDream.git OpenDream
cd OpenDream
git checkout tags/v${OPENDREAM_VERSION}
git submodule update --init --recursive
dotnet restore
dotnet build -c Release

0 comments on commit 722fe26

Please sign in to comment.