From abd1d4491d79a4171d6d7f77ba8e8b55e0479e5c Mon Sep 17 00:00:00 2001 From: ShouvikGhosh2048 Date: Fri, 13 Jan 2023 10:03:50 +0530 Subject: [PATCH 1/3] Added windows and macos to CI --- .github/workflows/ci.yml | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 12287c4..e0fe1f7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,16 +10,20 @@ on: # can add tags if needed jobs: - test: - name: Test - runs-on: ubuntu-latest + test: + name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} + runs-on: ${{ matrix.os }} + strategy: + matrix: + version: ['1'] + os: [ubuntu-latest, windows-latest, macos-latest] + arch: [x64] steps: - uses: actions/checkout@v2 - uses: julia-actions/setup-julia@latest with: - version: '1.7.2' - arch: x64 - - name: Install test dependencies - run: julia --project=test/ -e 'using Pkg; Pkg.instantiate()' - - name: Run tests - run: julia --project=. -e 'using Pkg; Pkg.test()' \ No newline at end of file + version: ${{ matrix.version }} + arch: ${{ matrix.arch }} + - uses: julia-actions/cache@v1 + - uses: julia-actions/julia-buildpkg@v1 + - uses: julia-actions/julia-runtest@v1 \ No newline at end of file From b229a3f49b95f809c0fad779586865ae9639bbee Mon Sep 17 00:00:00 2001 From: Shouvik Ghosh Date: Fri, 13 Jan 2023 14:32:47 +0530 Subject: [PATCH 2/3] Update version --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e0fe1f7..e926dff 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - version: ['1'] + version: ['1.7.2'] os: [ubuntu-latest, windows-latest, macos-latest] arch: [x64] steps: @@ -26,4 +26,4 @@ jobs: arch: ${{ matrix.arch }} - uses: julia-actions/cache@v1 - uses: julia-actions/julia-buildpkg@v1 - - uses: julia-actions/julia-runtest@v1 \ No newline at end of file + - uses: julia-actions/julia-runtest@v1 From 93bb80334da72acc515373fd9cabcc84229c9a2d Mon Sep 17 00:00:00 2001 From: Shouvik Ghosh Date: Sun, 22 Jan 2023 11:59:08 +0530 Subject: [PATCH 3/3] Revert back to Julia version 1 --- .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 e926dff..3cb354b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - version: ['1.7.2'] + version: ['1'] os: [ubuntu-latest, windows-latest, macos-latest] arch: [x64] steps: