From 950afc4d042effa0ee10a8ee26aa28e5021eb03b Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Tue, 12 Oct 2021 00:31:08 +0200 Subject: [PATCH] fix cmake CI for new script tests --- .github/workflows/macos.yml | 7 ++++++- .github/workflows/ubuntu.yml | 7 ++++++- .github/workflows/windows.yml | 14 ++++++++++++-- 3 files changed, 24 insertions(+), 4 deletions(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index ed96a3c1f..7d973926c 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -127,7 +127,12 @@ jobs: if [ -f requirements.txt ]; then python3 -m pip install -r requirements.txt; fi - name: Prepare Build Folders - run: mkdir -p client/build + run: | + mkdir -p client/build + ln -s ../cmdscripts client/build/ + ln -s ../luascripts client/build/ + ln -s ../pyscripts client/build/ + ln -s ../lualibs client/build/ - name: Initiate cmake environment run: cmake .. diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 5926f2fc6..1cf90616b 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -101,7 +101,12 @@ jobs: if [ -f requirements.txt ]; then python3 -m pip install -r requirements.txt; fi - name: Prepare Build Folders - run: mkdir -p client/build + run: | + mkdir -p client/build + ln -s ../cmdscripts client/build/ + ln -s ../luascripts client/build/ + ln -s ../pyscripts client/build/ + ln -s ../lualibs client/build/ - name: Initiate cmake environment run: cmake .. diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 9d99c8c06..d549d8f8a 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -71,7 +71,12 @@ jobs: run: make clean - name: Prepare cmake build folders - run: mkdir -p client/build + run: | + mkdir -p client/build + ln -s ../cmdscripts client/build/ + ln -s ../luascripts client/build/ + ln -s ../pyscripts client/build/ + ln -s ../lualibs client/build/ - name: Initiate cmake environment run: cmake -G"MSYS Makefiles" .. @@ -151,7 +156,12 @@ jobs: run: make clean - name: Prepare cmake build folders - run: mkdir -p client/build + run: | + mkdir -p client/build + ln -s ../cmdscripts client/build/ + ln -s ../luascripts client/build/ + ln -s ../pyscripts client/build/ + ln -s ../lualibs client/build/ - name: Initiate cmake environment run: cmake ..