From 0b726b8badab0fc2c417542d32f3240836bf32e6 Mon Sep 17 00:00:00 2001 From: Fernando Chorney Date: Wed, 20 Jan 2021 16:31:54 -0600 Subject: [PATCH 1/2] Fix CI Cache bug. add x86 jobs --- .github/workflows/CI.yml | 18 ++++++++++-------- .github/workflows/JuliaNightly.yml | 16 +++++++++------- 2 files changed, 19 insertions(+), 15 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index a9133785..9901ca37 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -15,16 +15,17 @@ jobs: fail-fast: false matrix: version: - - '1.0' - - '1' + - "1.0" # LTS + - "1" # Latest Release os: - ubuntu-latest - macOS-latest - windows-latest arch: - x64 - # 32-bit Julia binaries are not available on macOS + - x86 exclude: + # 32-bit Julia binaries are not available on macOS - os: macOS-latest arch: x86 steps: @@ -33,15 +34,16 @@ jobs: with: version: ${{ matrix.version }} arch: ${{ matrix.arch }} - - uses: actions/cache@v1 + - uses: actions/cache@v2 env: cache-name: cache-artifacts with: path: ~/.julia/artifacts - key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }} + key: ${{ runner.os }}-${{ matrix.arch }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }} restore-keys: | - ${{ runner.os }}-test-${{ env.cache-name }}- - ${{ runner.os }}-test- + ${{ runner.os }}-${{ matrix.arch }}-test-${{ env.cache-name }}- + ${{ runner.os }}-${{ matrix.arch }}-test- + ${{ runner.os }}-${{ matrix.arch }}- ${{ runner.os }}- - uses: julia-actions/julia-buildpkg@v1 - uses: julia-actions/julia-runtest@v1 @@ -49,7 +51,7 @@ jobs: - uses: codecov/codecov-action@v1 with: file: lcov.info - + slack: name: Notify Slack Failure needs: test diff --git a/.github/workflows/JuliaNightly.yml b/.github/workflows/JuliaNightly.yml index c13d6f36..6f3ed279 100644 --- a/.github/workflows/JuliaNightly.yml +++ b/.github/workflows/JuliaNightly.yml @@ -16,15 +16,16 @@ jobs: fail-fast: false matrix: version: - - 'nightly' + - "nightly" os: - ubuntu-latest - macOS-latest - windows-latest arch: - x64 - # 32-bit Julia binaries are not available on macOS + - x86 exclude: + # 32-bit Julia binaries are not available on macOS - os: macOS-latest arch: x86 steps: @@ -32,16 +33,17 @@ jobs: - uses: julia-actions/setup-julia@v1 with: version: ${{ matrix.version }} - arch: ${{ matrix.arch }} - - uses: actions/cache@v1 + arich: ${{ matrix.arch }} + - uses: actions/cache@v2 env: cache-name: cache-artifacts with: path: ~/.julia/artifacts - key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }} + key: ${{ runner.os }}-${{ matrix.arch }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }} restore-keys: | - ${{ runner.os }}-test-${{ env.cache-name }}- - ${{ runner.os }}-test- + ${{ runner.os }}-${{ matrix.arch }}-test-${{ env.cache-name }}- + ${{ runner.os }}-${{ matrix.arch }}-test- + ${{ runner.os }}-${{ matrix.arch }}- ${{ runner.os }}- - uses: julia-actions/julia-buildpkg@v1 - uses: julia-actions/julia-runtest@v1 From 0270e0d2eccc14072a1c8ad7e83448d35478a2dd Mon Sep 17 00:00:00 2001 From: Lyndon White Date: Thu, 21 Jan 2021 14:46:10 +0000 Subject: [PATCH 2/2] Update .github/workflows/JuliaNightly.yml Co-authored-by: mattBrzezinski --- .github/workflows/JuliaNightly.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/JuliaNightly.yml b/.github/workflows/JuliaNightly.yml index 6f3ed279..031c92b2 100644 --- a/.github/workflows/JuliaNightly.yml +++ b/.github/workflows/JuliaNightly.yml @@ -33,7 +33,7 @@ jobs: - uses: julia-actions/setup-julia@v1 with: version: ${{ matrix.version }} - arich: ${{ matrix.arch }} + arch: ${{ matrix.arch }} - uses: actions/cache@v2 env: cache-name: cache-artifacts