-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #638 from coldav/colin/switch_to_llvm_docker
Update to use dockers built for OCK
- Loading branch information
Showing
4 changed files
with
54 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,14 +23,19 @@ on: | |
required: false | ||
type: bool | ||
default: true | ||
permissions: {} | ||
|
||
permissions: | ||
packages: read | ||
|
||
jobs: | ||
|
||
# build and run host x86_64, execute UnitCL and lit tests and build and run offline | ||
run_host_x86_64: | ||
runs-on: ubuntu-22.04 | ||
|
||
container: | ||
image: ghcr.io/uxlfoundation/ock_ubuntu_22.04:latest | ||
volumes: | ||
- ${{github.workspace}}:${{github.workspace}} | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/[email protected] | ||
|
@@ -75,7 +80,10 @@ jobs: | |
run_riscv_m1: | ||
|
||
runs-on: ubuntu-22.04 | ||
|
||
container: | ||
image: ghcr.io/uxlfoundation/ock_ubuntu_22.04:latest | ||
volumes: | ||
- ${{github.workspace}}:${{github.workspace}} | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/[email protected] | ||
|
@@ -103,7 +111,12 @@ jobs: | |
run_clang_tidy_changes: | ||
|
||
runs-on: ubuntu-22.04 | ||
|
||
# Disable until the awk line works on the container | ||
if: false | ||
container: | ||
image: ghcr.io/uxlfoundation/ock_ubuntu_22.04:latest | ||
volumes: | ||
- ${{github.workspace}}:${{github.workspace}} | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/[email protected] | ||
|
@@ -232,6 +245,10 @@ jobs: | |
# Based on: mr-ubuntu-gcc-x86_64-riscv-fp16-cl3.0-unitcl_vecz | ||
run_ubuntu_gcc_x86_64_riscv_fp16_cl3_0_unitcl_vecz: | ||
runs-on: ubuntu-22.04 | ||
container: | ||
image: ghcr.io/uxlfoundation/ock_ubuntu_22.04:latest | ||
volumes: | ||
- ${{github.workspace}}:${{github.workspace}} | ||
timeout-minutes: 60 | ||
steps: | ||
- name: Checkout repo | ||
|
@@ -261,6 +278,10 @@ jobs: | |
# Based on: mr-ubuntu-clang-x86-llvm-previous-cl3-0-offline | ||
run-ubuntu-clang-x86-llvm-latest-cl3-0-offline: | ||
runs-on: ubuntu-22.04 | ||
container: | ||
image: ghcr.io/uxlfoundation/ock_ubuntu_22.04:latest | ||
volumes: | ||
- ${{github.workspace}}:${{github.workspace}} | ||
timeout-minutes: 90 # offline needs longer timeout | ||
steps: | ||
- name: Checkout repo | ||
|
@@ -300,6 +321,10 @@ jobs: | |
# Based on: mr-ubuntu-gcc-x86_64-riscv-fp16-cl3-0 | ||
run-ubuntu-gcc-x86_64-riscv-fp16-cl3-0: | ||
runs-on: ubuntu-22.04 | ||
container: | ||
image: ghcr.io/uxlfoundation/ock_ubuntu_22.04:latest | ||
volumes: | ||
- ${{github.workspace}}:${{github.workspace}} | ||
timeout-minutes: 60 | ||
steps: | ||
- name: Checkout repo | ||
|
@@ -331,6 +356,10 @@ jobs: | |
# Based on: mr-ubuntu-gcc-x86-llvm-latest-x86_64-images-cl3-0-release | ||
run-ubuntu-gcc-x86-llvm-latest-x86_64-images-cl3-0-release: | ||
runs-on: ubuntu-22.04 | ||
container: | ||
image: ghcr.io/uxlfoundation/ock_ubuntu_22.04:latest | ||
volumes: | ||
- ${{github.workspace}}:${{github.workspace}} | ||
timeout-minutes: 60 | ||
steps: | ||
- name: Checkout repo | ||
|
@@ -356,7 +385,7 @@ jobs: | |
run-ubuntu-gcc-aarch64-llvm-latest-cl3-0-fp16: | ||
runs-on: cp-ubuntu-24.04 | ||
container: | ||
image: ghcr.io/intel/llvm/ubuntu2204_base:latest | ||
image: ghcr.io/uxlfoundation/ock_ubuntu_22.04:latest | ||
volumes: | ||
- ${{github.workspace}}:${{github.workspace}} | ||
timeout-minutes: 90 # aarch64 needs longer timeout | ||
|
@@ -387,12 +416,19 @@ jobs: | |
# and: mr-ubuntu-gcc-x86_64-clik-refsi | ||
run-ubuntu-gcc-x86_64-clik-refsi: | ||
runs-on: ubuntu-22.04 | ||
container: | ||
image: ghcr.io/uxlfoundation/ock_ubuntu_22.04:latest | ||
volumes: | ||
- ${{github.workspace}}:${{github.workspace}} | ||
timeout-minutes: 60 | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/[email protected] | ||
- name: Install Ninja | ||
uses: llvm/actions/install-ninja@main | ||
- name: install risc-v toolchain | ||
run: | ||
sudo apt-get install --yes gcc-riscv64-linux-gnu g++-riscv64-linux-gnu | ||
- run: echo WORKSPACE is $GITHUB_WORKSPACE && echo PWD is `pwd` && ls -al | ||
- name: Run Clik | ||
run: | | ||
|
@@ -407,6 +443,10 @@ jobs: | |
run-ubuntu-gcc-x86_64-refsi-g1-wi-cl3-0: | ||
if: ${{ !inputs.is_pull_request }} # do not run as PR job for now to avoid flooding the concurrency | ||
runs-on: ubuntu-22.04 | ||
container: | ||
image: ghcr.io/uxlfoundation/ock_ubuntu_22.04:latest | ||
volumes: | ||
- ${{github.workspace}}:${{github.workspace}} | ||
timeout-minutes: 60 | ||
steps: | ||
- name: Checkout repo | ||
|