Added simple host build of UnitCL with sccache #43
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
# Simple workflow for running merge request tests | |
name: Merge Request tester | |
on: | |
# temporary | |
push: | |
pull_request: | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
build_ca_host_x86_64: | |
runs-on: ubuntu-22.04 | |
steps: | |
# - name: Install prerequisites | |
# run: | | |
# sudo apt-get install -y spirv-tools | |
# pip install lit | |
- name: Install Ninja | |
uses: llvm/actions/install-ninja@main | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
with: | |
repository: codeplaysoftware/oneapi-construction-kit | |
- name: Setup ccache | |
uses: hendrikmuhs/[email protected] | |
with: | |
max-size: 50M | |
key: sccache-build_ca_host_x86_64 | |
variant: sccache | |
- name: load llvm | |
uses: actions/cache/restore@v3 | |
with: | |
path: llvm_install/** | |
key: llvm-ubuntu-22.04-v16-RelAssert | |
fail-on-cache-miss: true | |
- name: Checkout local actions | |
uses: actions/checkout@v2 | |
- name: build_x86-llvm15-cl3.0-release | |
uses: ./.github/actions/build_ock | |
with: | |
build_type: Release | |
mux_target: host | |
- name: build_ca | |
run: | |
ninja -C build oclc UnitCL UnitCargo UnitMux UnitCompiler UnitMD FuzzCL | |
clVectorAddition veczc |