diff --git a/.github/workflows/compiler-build.yml b/.github/workflows/compiler-build.yml index c5c082e802..130cd7f434 100644 --- a/.github/workflows/compiler-build.yml +++ b/.github/workflows/compiler-build.yml @@ -17,7 +17,7 @@ jobs: strategy: matrix: config: - - {name: x86_64-macos, os: macos-latest, cmakeArgs: -DENABLE_X86SIMD=OFF, buildType: Release} + - {name: x86_64-macos, os: macos-12, cmakeArgs: -DENABLE_X86SIMD=OFF, buildType: Release} - {name: x86_64-linux, os: ubuntu-latest, cmakeArgs: '', buildType: Release} - {name: x86_64-windows, os: windows-latest, arch: x64, cmakeArgs: -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl, buildType: Release} @@ -79,7 +79,7 @@ jobs: matrix: dotnet-version: ['7.0'] config: - - {name: x86_64-macos, os: macos-latest, shell: bash, rid: osx-x64, buildType: Release} + - {name: x86_64-macos, os: macos-12, shell: bash, rid: osx-x64, buildType: Release} - {name: x86_64-linux, os: ubuntu-latest, shell: bash, rid: linux-x64, buildType: Release} - {name: x86_64-windows, os: windows-latest, shell: bash, rid: win-x64, buildType: Release} @@ -168,7 +168,7 @@ jobs: matrix: dotnet-version: ['7.0'] config: - - {name: x86_64-macos, os: macos-latest, shell: bash} + - {name: x86_64-macos, os: macos-12, shell: bash} - {name: x86_64-linux, os: ubuntu-latest, shell: bash} - {name: x86_64-windows, os: windows-latest, shell: bash} @@ -245,7 +245,7 @@ jobs: cache-dependency-path: '**/requirements.test.txt' - name: Install Python Packages - run: + run: python -m pip install --upgrade pip pip install -r requirements.test.txt diff --git a/.github/workflows/compiler-python-release.yml b/.github/workflows/compiler-python-release.yml index 5e0db927a0..689979ea52 100644 --- a/.github/workflows/compiler-python-release.yml +++ b/.github/workflows/compiler-python-release.yml @@ -14,7 +14,7 @@ jobs: matrix: dotnet-version: ['7.0'] config: - - {name: x86_64-macos, os: macos-latest, shell: bash, rid: osx-x64, buildType: Release} + - {name: x86_64-macos, os: macos-12, shell: bash, rid: osx-x64, buildType: Release} - {name: x86_64-linux, os: ubuntu-latest, shell: bash, rid: linux-x64, buildType: Release} - {name: x86_64-windows, os: windows-latest, shell: bash, rid: win-x64, buildType: Release} @@ -53,7 +53,7 @@ jobs: matrix: dotnet-version: ['7.0'] config: - - {name: x86_64-macos, os: macos-latest} + - {name: x86_64-macos, os: macos-12} - {name: x86_64-linux, os: ubuntu-latest} - {name: x86_64-windows, os: windows-latest, arch: x64} diff --git a/.github/workflows/jupyter-test.yml b/.github/workflows/jupyter-test.yml index 1d2ee23550..c6de31343d 100755 --- a/.github/workflows/jupyter-test.yml +++ b/.github/workflows/jupyter-test.yml @@ -10,7 +10,7 @@ jobs: strategy: matrix: config: - - {name: x86_64-macos, os: macos-latest} + - {name: x86_64-macos, os: macos-12} - {name: x86_64-linux, os: ubuntu-latest} - {name: x86_64-windows, os: windows-latest} diff --git a/.github/workflows/runtime-build.yml b/.github/workflows/runtime-build.yml index c11d287f2d..b7fe4403f1 100644 --- a/.github/workflows/runtime-build.yml +++ b/.github/workflows/runtime-build.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: config: - - { name: x86_64-macos, os: macos-latest, cmakeArgs: '', buildType: Release } + - { name: x86_64-macos, os: macos-12, cmakeArgs: '', buildType: Release } - { name: x86_64-linux, os: ubuntu-latest, cmakeArgs: '', buildType: Release } - { name: x86_64-windows, os: windows-latest, arch: x64, cmakeArgs: -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl, buildType: Release } @@ -109,7 +109,7 @@ jobs: wget https://dav.sunnycase.moe/d/ci/nncase/${{matrix.config.toolchain_file}}.tar.xz -O toolchain.tar.xz sudo tar xf toolchain.tar.xz -C $GITHUB_WORKSPACE echo "${{matrix.config.toolchain_env}}=$GITHUB_WORKSPACE/${{matrix.config.toolchain_file}}" >> $GITHUB_ENV - + wget https://dav.sunnycase.moe/d/ci/nncase/${{matrix.config.qemu}}.tgz -O qemu.tgz sudo tar xf qemu.tgz -C /usr/local/bin echo "TESTS_EXECUTABLE_LOADER=${{matrix.config.qemu}}" >> $GITHUB_ENV