From 1159e53c390497f6a12096ba567390c60207a541 Mon Sep 17 00:00:00 2001 From: amartin Date: Thu, 19 Nov 2020 16:31:13 +1100 Subject: [PATCH 1/6] Trigger ci only on master (to be debugged) --- .github/workflows/ci.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 36a7dd8ca..bc3e8a377 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 }} @@ -16,6 +14,7 @@ jobs: arch: - x64 - x86 + if: ${{ matrix.arch == x64 || github.base_ref == 'ref/head/master' || (github.event_name == 'pull_request' && github.base_ref == 'ref/head/master') }} steps: - uses: actions/checkout@v2 - uses: julia-actions/setup-julia@v1 @@ -38,7 +37,7 @@ 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: From 1ae4ea82b19048d93601e95a50c7e1db1cc51a3e Mon Sep 17 00:00:00 2001 From: amartin Date: Thu, 19 Nov 2020 16:34:35 +1100 Subject: [PATCH 2/6] Removed matrix.os from if conditional to see whether syntax error disappears --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bc3e8a377..9a6f1018c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: arch: - x64 - x86 - if: ${{ matrix.arch == x64 || github.base_ref == 'ref/head/master' || (github.event_name == 'pull_request' && github.base_ref == 'ref/head/master') }} + if: ${{ github.base_ref == 'ref/head/master' || (github.event_name == 'pull_request' && github.base_ref == 'ref/head/master') }} steps: - uses: actions/checkout@v2 - uses: julia-actions/setup-julia@v1 From 7196e313ae130ac7b8dd9f02aae110352c7a8aef Mon Sep 17 00:00:00 2001 From: amartin Date: Thu, 19 Nov 2020 17:07:18 +1100 Subject: [PATCH 3/6] Added X86 workflow --- .github/workflows/ci_x86.yml | 43 ++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .github/workflows/ci_x86.yml diff --git a/.github/workflows/ci_x86.yml b/.github/workflows/ci_x86.yml new file mode 100644 index 000000000..49caa7180 --- /dev/null +++ b/.github/workflows/ci_x86.yml @@ -0,0 +1,43 @@ +name: CI_X86 +on: + push: + branches: + - main + pull_request: + branches: + - main +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 + - uses: julia-actions/julia-processcoverage@v1 + - uses: codecov/codecov-action@v1 + with: + file: lcov.info From de6e1a7ff05ebccb9a2171ba85c36f404b027952 Mon Sep 17 00:00:00 2001 From: amartin Date: Thu, 19 Nov 2020 17:07:33 +1100 Subject: [PATCH 4/6] Removed x86 from standard CI --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9a6f1018c..2f2e15b5f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,8 +13,6 @@ jobs: - ubuntu-latest arch: - x64 - - x86 - if: ${{ github.base_ref == 'ref/head/master' || (github.event_name == 'pull_request' && github.base_ref == 'ref/head/master') }} steps: - uses: actions/checkout@v2 - uses: julia-actions/setup-julia@v1 @@ -37,6 +35,9 @@ jobs: - uses: codecov/codecov-action@v1 with: file: lcov.info + + + drivers: name: Drivers ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} runs-on: ${{ matrix.os }} From e9aff1721fde1e7698a1825a9e365c703adc4c57 Mon Sep 17 00:00:00 2001 From: "Alberto F. Martin" <38347633+amartinhuertas@users.noreply.github.com> Date: Thu, 19 Nov 2020 17:29:02 +1100 Subject: [PATCH 5/6] Update ci_x86.yml --- .github/workflows/ci_x86.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/ci_x86.yml b/.github/workflows/ci_x86.yml index 49caa7180..31ea30669 100644 --- a/.github/workflows/ci_x86.yml +++ b/.github/workflows/ci_x86.yml @@ -37,7 +37,3 @@ jobs: ${{ runner.os }}- - uses: julia-actions/julia-buildpkg@v1 - uses: julia-actions/julia-runtest@v1 - - uses: julia-actions/julia-processcoverage@v1 - - uses: codecov/codecov-action@v1 - with: - file: lcov.info From cc82d508e45045fe28e08cfe38ff0164280374f3 Mon Sep 17 00:00:00 2001 From: "Alberto F. Martin" <38347633+amartinhuertas@users.noreply.github.com> Date: Thu, 19 Nov 2020 18:41:14 +1100 Subject: [PATCH 6/6] Update ci_x86.yml --- .github/workflows/ci_x86.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci_x86.yml b/.github/workflows/ci_x86.yml index 31ea30669..74fc1627c 100644 --- a/.github/workflows/ci_x86.yml +++ b/.github/workflows/ci_x86.yml @@ -2,10 +2,10 @@ name: CI_X86 on: push: branches: - - main + - master pull_request: branches: - - main + - master jobs: test: name: Tests ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}