diff --git a/.github/workflows/badge.yml b/.github/workflows/badge.yml index 867222e54..834440acc 100644 --- a/.github/workflows/badge.yml +++ b/.github/workflows/badge.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: python-version: - - '3.8' + - '3.8.17' steps: - uses: actions/checkout@v3 @@ -22,8 +22,8 @@ jobs: python-version: ${{ matrix.python-version }} - name: Download cloc run: | - sudo apt-get update -y - sudo apt-get install -y cloc + yum update -y + yum install -y cloc - name: Get the Numbers run: | cloc . diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d93704be8..fc2aac03a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,7 @@ jobs: os: - 'ubuntu-20.04' python-version: - - '3.8' + - '3.8.17' steps: - name: Checkout code @@ -46,7 +46,8 @@ jobs: wheel_build: name: Build the wheels - runs-on: ${{ matrix.os }} + #runs-on: ${{ matrix.os }} + runs-on: self-hosted if: ${{ github.repository == 'opendilab/LightZero' }} strategy: fail-fast: false @@ -55,9 +56,9 @@ jobs: - 'ubuntu-20.04' - 'macos-12' python: - - '3.7' - - '3.8' - - '3.9' + - '3.7.17' + - '3.8.17' + - '3.9.17' # - '3.10' # - '3.11' architecture: @@ -79,7 +80,7 @@ jobs: architecture: x86 - os: macos-12 architecture: AMD64 - - python: '3.7' + - python: '3.7.17' architecture: arm64 steps: @@ -113,7 +114,8 @@ jobs: # the publishing can only be processed on linux system wheel_publish: name: Publish the wheels to pypi - runs-on: ubuntu-20.04 + #runs-on: ubuntu-20.04 + runs-on: self-hosted needs: - source_build - wheel_build @@ -121,7 +123,7 @@ jobs: fail-fast: false matrix: python: - - '3.8' + - '3.8.17' steps: - name: Download packed files to artifacts diff --git a/.github/workflows/release_test.yml b/.github/workflows/release_test.yml index 6c884af10..45ad053f6 100644 --- a/.github/workflows/release_test.yml +++ b/.github/workflows/release_test.yml @@ -15,7 +15,7 @@ jobs: os: - 'ubuntu-20.04' python-version: - - '3.8' + - '3.8.17' steps: - name: Checkout code @@ -51,7 +51,8 @@ jobs: wheel_build: name: Try build the wheels - runs-on: ${{ matrix.os }} + #runs-on: ${{ matrix.os }} + runs-on: self-hosted strategy: fail-fast: false matrix: @@ -59,9 +60,9 @@ jobs: - 'ubuntu-20.04' - 'macos-12' python: - - '3.7' - - '3.8' - - '3.9' + - '3.7.17' + - '3.8.17' + - '3.9.17' # - '3.10' # - '3.11' architecture: @@ -83,7 +84,7 @@ jobs: architecture: x86 - os: macos-12 architecture: AMD64 - - python: '3.7' + - python: '3.7.17' architecture: arm64 steps: @@ -122,7 +123,8 @@ jobs: # the publishing can only be processed on linux system fake_publish: name: Fake Publish - runs-on: ubuntu-20.04 + #runs-on: ubuntu-20.04 + runs-on: self-hosted needs: - wheel_build - source_build @@ -130,7 +132,7 @@ jobs: fail-fast: false matrix: python: - - '3.8' + - '3.8.17' steps: - name: Download packed files to artifacts diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2776a3232..e423a9e77 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,9 +23,9 @@ jobs: - 'ubuntu-20.04' - 'macos-12' python-version: - - '3.7' - - '3.8' - - '3.9' + - '3.7.17' + - '3.8.17' + - '3.9.17' steps: - name: Get system version for Linux @@ -50,8 +50,8 @@ jobs: if: ${{ runner.os == 'Linux' }} shell: bash run: | - sudo apt-get update - sudo apt-get install -y tree cloc wget curl make graphviz + yum update + yum install -y tree cloc wget curl make graphviz dot -V - name: Set up system dependences on MacOS if: ${{ env.OS_NAME == 'MacOS' }} diff --git a/README.zh.md b/README.zh.md index 9aa285809..3df640903 100644 --- a/README.zh.md +++ b/README.zh.md @@ -1,4 +1,31 @@ # LightZero + +