Skip to content

Commit

Permalink
Rework CI selection.
Browse files Browse the repository at this point in the history
  • Loading branch information
maleadt committed Jan 10, 2024
1 parent 14e3228 commit d6b1617
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 20 deletions.
25 changes: 6 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,29 +12,16 @@ concurrency:

jobs:
test:
name: Julia ${{ matrix.version }} - Running ${{ matrix.test_julia }} ${{ matrix.test_buildflags }}
name: Julia ${{ matrix.version }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
version:
- '1.7'
- '1.8'
- '1.9'
- '1.10'
os:
- ubuntu-latest
arch:
- x64
test_julia:
- "v1.6.7" # release from versions.json
- "nightly" # special releases
- "stable"
- "master~10" # directly from Git, likely built by CI
- "master" # directly from Git, force a build (see below)
include:
- test_julia: "master"
test_buildflags: "JULIA_CPU_TARGET=native JULIA_PRECOMPILE=0"
version: ['1.7', '1.8', '1.9', '1.10']
os: ['ubuntu-latest']
arch: [x64]
test_julia: ['']
test_buildflags: ['']
env:
JULIA_DEBUG: PkgEval
JULIA: ${{ matrix.test_julia }}
Expand Down
5 changes: 4 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ using PkgEval
using Test
using Git

julia = get(ENV, "JULIA", "v"*string(VERSION))
julia = get(ENV, "JULIA", "")
if isempty(julia)
julia = "v"*string(VERSION)
end
julia_release = if contains(julia, r"^v\d")
parse(VersionNumber, julia)
else
Expand Down

0 comments on commit d6b1617

Please sign in to comment.