Skip to content

Commit

Permalink
[COREV] Add CI workflow file corev-llvm-tests.yml. (plctlab#23)
Browse files Browse the repository at this point in the history
Note: this also disabled the windows test environment for the time
being. Because we're using GitHub hosted runner, which maximum number
of timeout-minutes is 360. Otherwise the job will exceed the time
and be canceled.
  • Loading branch information
xingmingjie authored Mar 7, 2023
1 parent 4c3dc69 commit 94e85c4
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 1 deletion.
36 changes: 36 additions & 0 deletions .github/workflows/corev-llvm-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: COREV LLVM Tests

on:
workflow_dispatch:
push:
ignore-forks: true
branches:
- 'development'
paths:
- 'llvm/**'
- '.github/workflows/corev-llvm-tests.yml'
- '.github/workflows/llvm-project-tests.yml'
pull_request:
ignore-forks: true
branches:
- 'development'
paths:
- 'llvm/**'
- '.github/workflows/corev-llvm-tests.yml'
- '.github/workflows/llvm-project-tests.yml'

concurrency:
# Skip intermediate builds: always.
# Cancel intermediate builds: only if it is a pull request build.
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}

jobs:
check_all:
if: github.repository_owner == 'openhwgroup'
name: Test llvm,clang
uses: ./.github/workflows/llvm-project-tests.yml
with:
build_target: check-all
projects: clang

6 changes: 5 additions & 1 deletion .github/workflows/llvm-project-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,11 @@ jobs:
- ubuntu-latest
# Use windows-2019 due to:
# https://developercommunity.visualstudio.com/t/Prev-Issue---with-__assume-isnan-/1597317
- windows-2019

# Disable windows for the time being. Because we're using GitHub
# hosted runner, which maximum number of timeout-minutes is 360.
# Otherwise, the job will exceeded the time and be canceled.
# - windows-2019
# We're using a specific version of macOS due to:
# https://github.com/actions/virtual-environments/issues/5900
- macOS-11
Expand Down

0 comments on commit 94e85c4

Please sign in to comment.