Skip to content

Commit

Permalink
Merge pull request #461 from gridap/trigger_ci_x86_only_on_master
Browse files Browse the repository at this point in the history
Trigger ci x86 only on master and PRs on master
  • Loading branch information
fverdugo committed Nov 19, 2020
2 parents 14999d8 + cc82d50 commit c652730
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
name: CI
on:
- push
- pull_request
on: [push, pull_request]
jobs:
test:
name: Tests ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
Expand All @@ -15,7 +13,6 @@ jobs:
- ubuntu-latest
arch:
- x64
- x86
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
Expand All @@ -38,7 +35,10 @@ jobs:
- uses: codecov/codecov-action@v1
with:
file: lcov.info
divers:



drivers:
name: Drivers ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
Expand Down
39 changes: 39 additions & 0 deletions .github/workflows/ci_x86.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: CI_X86
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
name: Tests ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
version:
- '1.5'
os:
- ubuntu-latest
arch:
- x86
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: actions/cache@v1
env:
cache-name: cache-artifacts
with:
path: ~/.julia/artifacts
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
restore-keys: |
${{ runner.os }}-test-${{ env.cache-name }}-
${{ runner.os }}-test-
${{ runner.os }}-
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1

0 comments on commit c652730

Please sign in to comment.