Skip to content

Arc-Lang: Version 1 #472

Arc-Lang: Version 1

Arc-Lang: Version 1 #472

Workflow file for this run

name: test
on:
pull_request:
paths:
- "arc-lang/**"
- "arc-mlir/**"
- "build"
- ".github/workflows/test.yml"
branches:
- master
jobs:
build:
runs-on: self-hosted
env:
CARGO_TERM_COLOR: always
CCACHE_CONFIGPATH: /home/github-actions/actions-runner/persist/ccache-config
PERSIST_DIR: /home/github-actions/actions-runner/persist/
steps:
# Checkout branch which we want to test
- name: Checkout source
uses: actions/checkout@v3
# Update LLVM dependency
- name: Update submodule
run: git submodule update --force --init --recursive
- name: Check ccache setup
run: ./.github/continuous-integration.sh check-ccache
env:
ARC_MLIR_BUILD: ${{ format('{0}/build', runner.temp) }}
- name: Build MLIR + LLVM + arc-lang
run: ./.github/continuous-integration.sh run-build
env:
ARC_MLIR_BUILD: ${{ format('{0}/build', runner.temp) }}
- name: Run MLIR tests
run: ./.github/continuous-integration.sh run-mlir-tests
env:
ARC_MLIR_BUILD: ${{ format('{0}/build', runner.temp) }}
- name: "Ccache/Sccache statistics"
run: ./.github/continuous-integration.sh check-ccache
- name: Check for dirty tree
run: ./check-for-dirty-tree
- name: Generate build number
uses: einaregilsson/build-number@v3
with:
token: ${{ secrets.github_token }}