diff --git a/.github/workflows/check-unit-tests-arm.yml b/.github/workflows/check-unit-tests-arm.yml index 3b6f7aee7..35bcc2271 100644 --- a/.github/workflows/check-unit-tests-arm.yml +++ b/.github/workflows/check-unit-tests-arm.yml @@ -1,24 +1,24 @@ -# Workflow syntax: -# https://help.github.com/en/articles/workflow-syntax-for-github-actions -name: Unit Tests ARM GPUs +# # Workflow syntax: +# # https://help.github.com/en/articles/workflow-syntax-for-github-actions +# name: Unit Tests ARM GPUs -on: - pull_request: - paths-ignore: "docs/**" +# on: +# pull_request: +# paths-ignore: "docs/**" -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true +# concurrency: +# group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} +# cancel-in-progress: true -jobs: - unit-tests-llvm-18-release-salami: - runs-on: ARM64 - steps: - - uses: actions/checkout@v3 - with: - ref: ${{ github.event.pull_request.head.sha }} - fetch-depth: 0 - submodules: 'recursive' - - name: Run unit test checking script - run: ./scripts/unit_tests.sh release llvm-18 - shell: bash +# jobs: +# unit-tests-llvm-18-release-salami: +# runs-on: ARM64 +# steps: +# - uses: actions/checkout@v3 +# with: +# ref: ${{ github.event.pull_request.head.sha }} +# fetch-depth: 0 +# submodules: 'recursive' +# - name: Run unit test checking script +# run: ./scripts/unit_tests.sh release llvm-18 +# shell: bash diff --git a/.github/workflows/check-unit-tests-intel.yml b/.github/workflows/check-unit-tests-intel.yml index 426a267d6..277f2d0d0 100644 --- a/.github/workflows/check-unit-tests-intel.yml +++ b/.github/workflows/check-unit-tests-intel.yml @@ -1,101 +1,101 @@ -# Workflow syntax: -# https://help.github.com/en/articles/workflow-syntax-for-github-actions -name: Unit Tests Intel GPUs +# # Workflow syntax: +# # https://help.github.com/en/articles/workflow-syntax-for-github-actions +# name: Unit Tests Intel GPUs -on: - pull_request: - paths-ignore: "docs/**" +# on: +# pull_request: +# paths-ignore: "docs/**" -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true +# concurrency: +# group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} +# cancel-in-progress: true -jobs: - unit-tests-llvm-16-debug: - runs-on: X64 - steps: - - uses: actions/checkout@v3 - with: - ref: ${{ github.event.pull_request.head.sha }} - fetch-depth: 0 - submodules: 'recursive' - - name: Run unit test checking script - run: ./scripts/unit_tests.sh debug llvm-16 - shell: bash - unit-tests-llvm-16-release: - runs-on: X64 - steps: - - uses: actions/checkout@v3 - with: - ref: ${{ github.event.pull_request.head.sha }} - fetch-depth: 0 - submodules: 'recursive' - - name: Run unit test checking script - run: ./scripts/unit_tests.sh release llvm-16 - shell: bash - unit-tests-llvm-17-debug: - runs-on: X64 - steps: - - uses: actions/checkout@v3 - with: - ref: ${{ github.event.pull_request.head.sha }} - fetch-depth: 0 - submodules: 'recursive' - - name: Run unit test checking script - run: ./scripts/unit_tests.sh debug llvm-17 - shell: bash - unit-tests-llvm-17-release: - runs-on: X64 - steps: - - uses: actions/checkout@v3 - with: - ref: ${{ github.event.pull_request.head.sha }} - fetch-depth: 0 - submodules: 'recursive' - - name: Run unit test checking script - run: ./scripts/unit_tests.sh release llvm-17 - shell: bash - unit-tests-llvm-18-debug: - runs-on: X64 - steps: - - uses: actions/checkout@v3 - with: - ref: ${{ github.event.pull_request.head.sha }} - fetch-depth: 0 - submodules: 'recursive' - - name: Run unit test checking script - run: ./scripts/unit_tests.sh debug llvm-18 - shell: bash - unit-tests-llvm-18-release: - runs-on: X64 - steps: - - uses: actions/checkout@v3 - with: - ref: ${{ github.event.pull_request.head.sha }} - fetch-depth: 0 - submodules: 'recursive' - - name: Run unit test checking script - run: ./scripts/unit_tests.sh release llvm-18 - shell: bash - unit-tests-llvm-19-debug: - runs-on: X64 - steps: - - uses: actions/checkout@v3 - with: - ref: ${{ github.event.pull_request.head.sha }} - fetch-depth: 0 - submodules: 'recursive' - - name: Run unit test checking script - run: ./scripts/unit_tests.sh debug llvm-19 - shell: bash - unit-tests-llvm-19-release: - runs-on: X64 - steps: - - uses: actions/checkout@v3 - with: - ref: ${{ github.event.pull_request.head.sha }} - fetch-depth: 0 - submodules: 'recursive' - - name: Run unit test checking script - run: ./scripts/unit_tests.sh release llvm-19 - shell: bash \ No newline at end of file +# jobs: +# unit-tests-llvm-16-debug: +# runs-on: X64 +# steps: +# - uses: actions/checkout@v3 +# with: +# ref: ${{ github.event.pull_request.head.sha }} +# fetch-depth: 0 +# submodules: 'recursive' +# - name: Run unit test checking script +# run: ./scripts/unit_tests.sh debug llvm-16 +# shell: bash +# unit-tests-llvm-16-release: +# runs-on: X64 +# steps: +# - uses: actions/checkout@v3 +# with: +# ref: ${{ github.event.pull_request.head.sha }} +# fetch-depth: 0 +# submodules: 'recursive' +# - name: Run unit test checking script +# run: ./scripts/unit_tests.sh release llvm-16 +# shell: bash +# unit-tests-llvm-17-debug: +# runs-on: X64 +# steps: +# - uses: actions/checkout@v3 +# with: +# ref: ${{ github.event.pull_request.head.sha }} +# fetch-depth: 0 +# submodules: 'recursive' +# - name: Run unit test checking script +# run: ./scripts/unit_tests.sh debug llvm-17 +# shell: bash +# unit-tests-llvm-17-release: +# runs-on: X64 +# steps: +# - uses: actions/checkout@v3 +# with: +# ref: ${{ github.event.pull_request.head.sha }} +# fetch-depth: 0 +# submodules: 'recursive' +# - name: Run unit test checking script +# run: ./scripts/unit_tests.sh release llvm-17 +# shell: bash +# unit-tests-llvm-18-debug: +# runs-on: X64 +# steps: +# - uses: actions/checkout@v3 +# with: +# ref: ${{ github.event.pull_request.head.sha }} +# fetch-depth: 0 +# submodules: 'recursive' +# - name: Run unit test checking script +# run: ./scripts/unit_tests.sh debug llvm-18 +# shell: bash +# unit-tests-llvm-18-release: +# runs-on: X64 +# steps: +# - uses: actions/checkout@v3 +# with: +# ref: ${{ github.event.pull_request.head.sha }} +# fetch-depth: 0 +# submodules: 'recursive' +# - name: Run unit test checking script +# run: ./scripts/unit_tests.sh release llvm-18 +# shell: bash +# unit-tests-llvm-19-debug: +# runs-on: X64 +# steps: +# - uses: actions/checkout@v3 +# with: +# ref: ${{ github.event.pull_request.head.sha }} +# fetch-depth: 0 +# submodules: 'recursive' +# - name: Run unit test checking script +# run: ./scripts/unit_tests.sh debug llvm-19 +# shell: bash +# unit-tests-llvm-19-release: +# runs-on: X64 +# steps: +# - uses: actions/checkout@v3 +# with: +# ref: ${{ github.event.pull_request.head.sha }} +# fetch-depth: 0 +# submodules: 'recursive' +# - name: Run unit test checking script +# run: ./scripts/unit_tests.sh release llvm-19 +# shell: bash \ No newline at end of file diff --git a/.github/workflows/check-unit-tests-riscv.yml b/.github/workflows/check-unit-tests-riscv.yml new file mode 100644 index 000000000..f3f1305b6 --- /dev/null +++ b/.github/workflows/check-unit-tests-riscv.yml @@ -0,0 +1,25 @@ +# Workflow syntax: +# https://help.github.com/en/articles/workflow-syntax-for-github-actions +name: Unit Tests RISC-V GPUs + +on: + pull_request: + paths-ignore: "docs/**" + +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + +jobs: + unit-tests-llvm-18-release-macaroni: + runs-on: X64 # TODO: Add RISCV64 once runner is supported + steps: + - name: Run unit tests on RISC-V machine + run: | + ssh macaroni << EOF + cd ~/chipStar + git fetch origin + git checkout ${{ github.event.pull_request.head.sha }} + bash -x ./scripts/unit_tests.sh release llvm-18 + EOF + shell: bash diff --git a/.github/workflows/publish-docker.yml b/.github/workflows/publish-docker.yml index df4c156b3..09a68b77d 100644 --- a/.github/workflows/publish-docker.yml +++ b/.github/workflows/publish-docker.yml @@ -1,42 +1,42 @@ -name: Docker Build and Publish +# name: Docker Build and Publish -on: - push: - branches: [ main ] - pull_request: - branches: [ main ] +# on: +# push: +# branches: [ main ] +# pull_request: +# branches: [ main ] -jobs: - docker: - runs-on: [self-hosted, Linux, X64] - steps: - - uses: actions/checkout@v3 +# jobs: +# docker: +# runs-on: [self-hosted, Linux, X64] +# steps: +# - uses: actions/checkout@v3 - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 +# - name: Set up Docker Buildx +# uses: docker/setup-buildx-action@v2 - - name: Login to DockerHub - if: github.event_name == 'push' && github.ref == 'refs/heads/main' - uses: docker/login-action@v2 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} +# - name: Login to DockerHub +# if: github.event_name == 'push' && github.ref == 'refs/heads/main' +# uses: docker/login-action@v2 +# with: +# username: ${{ secrets.DOCKERHUB_USERNAME }} +# password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Build and push Docker image - uses: docker/build-push-action@v4 - with: - context: . - file: ./docker/DockerfileLatest - push: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} - tags: pveleskopglc/chipstar:latest - cache-from: type=local,src=/tmp/.buildx-cache - cache-to: type=local,dest=/tmp/.buildx-cache +# - name: Build and push Docker image +# uses: docker/build-push-action@v4 +# with: +# context: . +# file: ./docker/DockerfileLatest +# push: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} +# tags: pveleskopglc/chipstar:latest +# cache-from: type=local,src=/tmp/.buildx-cache +# cache-to: type=local,dest=/tmp/.buildx-cache - cleanup: - if: github.event_name == 'push' && github.ref == 'refs/heads/main' - needs: [docker] - runs-on: [self-hosted, Linux, X64] - steps: - - name: Clean up old Docker images - run: | - docker image prune -af \ No newline at end of file +# cleanup: +# if: github.event_name == 'push' && github.ref == 'refs/heads/main' +# needs: [docker] +# runs-on: [self-hosted, Linux, X64] +# steps: +# - name: Clean up old Docker images +# run: | +# docker image prune -af \ No newline at end of file