Skip to content

Commit

Permalink
Problem: CI is outdated in metaverse demo (fix cronos-labs/play-unrea…
Browse files Browse the repository at this point in the history
…l-plugin#314) (#46)

* Problem: CI is outdated in metaverse demo (fix cronos-labs/play-unreal-plugin#314)

* Fix run and use

* Remove -
  • Loading branch information
damoncro authored May 4, 2023
1 parent 8700ebe commit f2f845d
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 26 deletions.
44 changes: 30 additions & 14 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,28 @@ jobs:
simple:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Checkout play-uneral-demo
uses: actions/checkout@v3

- name: Setup
- name: Setup environment
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
sudo rm -rf /usr/local/lib/android
mkdir -p simple/Plugins
cd simple/Plugins
git clone --branch 4.27 https://github.com/cronos-labs/play-unreal-plugin.git
cd play-unreal-plugin
make
- name: Checkout play-unreal-plugin repo
uses: actions/checkout@v3
with:
repository: cronos-labs/play-unreal-plugin
path: simple/Plugins/play-unreal-plugin

- name: Build play-unreal-plugin repo
run: |
cd simple/Plugins/play-unreal-plugin
TARGET=4.27 make
python change_version.py 4.27.0
sudo chmod 777 -R $GITHUB_WORKSPACE
- uses: addnab/docker-run-action@v3
Expand Down Expand Up @@ -66,20 +74,28 @@ jobs:
Metaverse:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Checkout play-uneral-demo
uses: actions/checkout@v3

- name: Setup
- name: Setup environment
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
sudo rm -rf /usr/local/lib/android
mkdir -p Metaverse/Plugins
cd Metaverse/Plugins
git clone --branch main https://github.com/cronos-labs/play-unreal-plugin.git
cd play-unreal-plugin
make
- name: Checkout play-unreal-plugin repo
uses: actions/checkout@v3
with:
repository: cronos-labs/play-unreal-plugin
path: Metaverse/Plugins/play-unreal-plugin

- name: Build play-unreal-plugin repo
run: |
cd Metaverse/Plugins/play-unreal-plugin
TARGET=5.1 make
python change_version.py 5.1.0
sudo chmod 777 -R $GITHUB_WORKSPACE
- uses: addnab/docker-run-action@v3
Expand Down
32 changes: 20 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,17 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Setup
- name: Checkout play-unreal-plugin repo
uses: actions/checkout@v3
with:
repository: cronos-labs/play-unreal-plugin
path: simple/Plugins/play-unreal-plugin

- name: Build play-unreal-plugin repo
run: |
mkdir -p simple/Plugins
cd simple/Plugins
git clone --branch 4.27 https://github.com/cronos-labs/play-unreal-plugin.git
cd play-unreal-plugin
make
cd simple/Plugins/play-unreal-plugin
TARGET=4.27 make
python change_version.py 4.27.0
- name: Package
run: |
Expand All @@ -50,13 +54,17 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Setup
- name: Checkout play-unreal-plugin repo
uses: actions/checkout@v3
with:
repository: cronos-labs/play-unreal-plugin
path: Metaverse/Plugins/play-unreal-plugin

- name: Build play-unreal-plugin repo
run: |
mkdir -p Metaverse/Plugins
cd Metaverse/Plugins
git clone --branch main https://github.com/cronos-labs/play-unreal-plugin.git
cd play-unreal-plugin
make
cd Metaverse/Plugins/play-unreal-plugin
TARGET=5.1 make
python change_version.py 5.1.0
- name: Package
run: |
Expand Down

0 comments on commit f2f845d

Please sign in to comment.