Skip to content

Commit e23b6c0

Browse files
committed
Disable test step on self hosted, can't figure out how to use sudo
1 parent 6558fc1 commit e23b6c0

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

.github/workflows/app_build.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -708,18 +708,18 @@ jobs:
708708
# fail-fast: Default is true, switch to false to allow one platform to fail and still run others
709709
fail-fast: false
710710
matrix:
711-
os: [macos-13, macos-arm64]
711+
os: [macos-13] # , macos-arm64]
712712
include:
713713
- os: macos-13
714714
SELF_HOSTED: false
715715
BINARY_EXT: dmg
716716
COMPRESSED_EXT: tar.gz
717717
arch: x86_64
718-
- os: macos-arm64
719-
SELF_HOSTED: true
720-
BINARY_EXT: dmg
721-
COMPRESSED_EXT: tar.gz
722-
arch: arm64
718+
#- os: macos-arm64
719+
# SELF_HOSTED: true
720+
# BINARY_EXT: dmg
721+
# COMPRESSED_EXT: tar.gz
722+
# arch: arm64
723723

724724

725725
steps:
@@ -789,7 +789,11 @@ jobs:
789789
790790
begin_group "Running a simulation with python"
791791
./test_install/EnergyPlus/energyplus --help
792-
./test_install/EnergyPlus/energyplus -w ./test_install/EnergyPlus/WeatherData/USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.epw -d out ./test_install/EnergyPlus/ExampleFiles/PythonPluginCustomSchedule.idf
792+
cur_v=$(python -c "import sys; sys.path.insert(0, './test_install/EnergyPlus'); from pyenergyplus.func import EnergyPlusVersion; v = EnergyPlusVersion(); print(f'{v.ep_version_major}.{v.ep_version_minor}.{v.ep_version_patch}')")
793+
aria2c https://raw.githubusercontent.com/NREL/EnergyPlus/v${cur_v}/testfiles/PythonPluginCustomSchedule.py
794+
aria2c https://raw.githubusercontent.com/NREL/EnergyPlus/v${cur_v}/testfiles/PythonPluginCustomSchedule.idf
795+
aria2c https://raw.githubusercontent.com/NREL/EnergyPlus/v${cur_v}/weather/USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.epw
796+
./test_install/EnergyPlus/energyplus -w USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.epw -d out PythonPluginCustomSchedule.idf
793797
echo "::endgroup::"
794798
795799
- name: Upload otool info as artifact

0 commit comments

Comments
 (0)