@@ -49,22 +49,22 @@ jobs:
4949 run : >-
5050 conda build --output-folder=conda/pkg conda/recipe &&
5151 conda install tvm -c ./conda/pkg
52- - name : Build iOS RPC
53- run : |
54- IOS_VERSION="14.0"
55- CMAKE_FLAGS="-DCMAKE_BUILD_TYPE=Release \
56- -DCMAKE_SYSTEM_NAME=iOS \
57- -DCMAKE_SYSTEM_VERSION=${IOS_VERSION} \
58- -DCMAKE_OSX_SYSROOT=iphonesimulator \
59- -DCMAKE_OSX_ARCHITECTURES=x86_64 \
60- -DCMAKE_OSX_DEPLOYMENT_TARGET=14.0 \
61- -DCMAKE_BUILD_WITH_INSTALL_NAME_DIR=ON \
62- -DUSE_IOS_RPC=ON"
63-
64- mkdir build-ios-simulator
65- cd build-ios-simulator
66- cmake .. ${CMAKE_FLAGS}
67- cmake --build . --target ios_rpc
52+ # - name: Build iOS RPC
53+ # run: |
54+ # IOS_VERSION="14.0"
55+ # CMAKE_FLAGS="-DCMAKE_BUILD_TYPE=Release \
56+ # -DCMAKE_SYSTEM_NAME=iOS \
57+ # -DCMAKE_SYSTEM_VERSION=${IOS_VERSION} \
58+ # -DCMAKE_OSX_SYSROOT=iphonesimulator \
59+ # -DCMAKE_OSX_ARCHITECTURES=x86_64 \
60+ # -DCMAKE_OSX_DEPLOYMENT_TARGET=14.0 \
61+ # -DCMAKE_BUILD_WITH_INSTALL_NAME_DIR=ON \
62+ # -DUSE_IOS_RPC=ON"
63+ #
64+ # mkdir build-ios-simulator
65+ # cd build-ios-simulator
66+ # cmake .. ${CMAKE_FLAGS}
67+ # cmake --build . --target ios_rpc
6868 - name : Test
6969 shell : bash -l {0}
7070 run : >-
@@ -108,74 +108,39 @@ jobs:
108108 run : >-
109109 python -m pytest -v tests/python/all-platform-minimal-test
110110
111- # Disabled due to https://github.com/apache/tvm/issues/13950
112- # Windows-Static-Runtime:
113- # if: ${{ github.repository == 'apache/tvm' }}
114- # runs-on: windows-2019
115- # steps:
116- # - uses: actions/checkout@v2
117- # with:
118- # submodules: 'recursive'
119- # - name: Set up environment
120- # uses: ./.github/actions/setup
121- # - name: Build static TVM runtime
122- # shell: bash -l {0}
123- # run: |
124- # tests/scripts/task_config_build_static.sh build
125- # cd build
126- # cmake .. -A x64 -DCMAKE_CONFIGURATION_TYPES="Release"
127- # cmake --build . --config Release --target runtime
128-
129- Linux-Static-Runtime :
130- if : ${{ github.repository == 'apache/tvm' }}
131- runs-on : ubuntu-latest
132- steps :
133- - uses : actions/checkout@v2
134- with :
135- submodules : ' recursive'
136- - name : Set up environment
137- uses : ./.github/actions/setup
138- - name : Build static TVM runtime
139- shell : bash -l {0}
140- run : |
141- tests/scripts/task_config_build_static.sh build
142- cd build
143- cmake ..
144- cmake --build . --config Release --target runtime
145-
146- Android :
147- if : ${{ github.repository == 'apache/tvm' }}
148- runs-on : ubuntu-22.04
149- steps :
150- - uses : actions/checkout@v2
151- with :
152- submodules : ' recursive'
153- - name : Set up environment
154- uses : ./.github/actions/setup
155- - name : Set up java
156- uses : actions/setup-java@v3
157- with :
158- distribution : ' zulu'
159- java-version : ' 11'
160- - name : Build TVM
161- shell : bash -l {0}
162- run : |
163- mkdir build
164- cd build
165- ../tests/scripts/task_config_build_jvm.sh .
166- cmake ..
167- make
168- - name : Build TVM4J
169- run : |
170- make jvmpkg
171- - name : Build android_rpc
172- working-directory : apps/android_rpc
173- run : |
174- set -eux
175- export PATH="${ANDROID_NDK_LATEST_HOME}:$PATH"
176- gradle clean build
177- - name : Upload android_rpc APK
178- uses : actions/upload-artifact@v4
179- with :
180- name : android_rpc-debug.apk
181- path : ./apps/android_rpc/app/build/outputs/apk/debug/app-debug.apk
111+ # Android:
112+ # if: ${{ github.repository == 'apache/tvm' }}
113+ # runs-on: ubuntu-22.04
114+ # steps:
115+ # - uses: actions/checkout@v2
116+ # with:
117+ # submodules: 'recursive'
118+ # - name: Set up environment
119+ # uses: ./.github/actions/setup
120+ # - name: Set up java
121+ # uses: actions/setup-java@v3
122+ # with:
123+ # distribution: 'zulu'
124+ # java-version: '11'
125+ # - name: Build TVM
126+ # shell: bash -l {0}
127+ # run: |
128+ # mkdir build
129+ # cd build
130+ # ../tests/scripts/task_config_build_jvm.sh .
131+ # cmake ..
132+ # make
133+ # - name: Build TVM4J
134+ # run: |
135+ # make jvmpkg
136+ # - name: Build android_rpc
137+ # working-directory: apps/android_rpc
138+ # run: |
139+ # set -eux
140+ # export PATH="${ANDROID_NDK_LATEST_HOME}:$PATH"
141+ # gradle clean build
142+ # - name: Upload android_rpc APK
143+ # uses: actions/upload-artifact@v4
144+ # with:
145+ # name: android_rpc-debug.apk
146+ # path: ./apps/android_rpc/app/build/outputs/apk/debug/app-debug.apk
0 commit comments