mirror of
https://github.com/julia-actions/setup-julia.git
synced 2026-02-12 11:06:53 +08:00
* Support release nightlies See #62 * Replace == nightly with endsWith nightly * Use majorMinorMatch, not full match * Replace more (in-)equality checks * Reduce number of duplicate CI builds * Add example to docs * Tidy up nightly conditions
40 lines
934 B
YAML
40 lines
934 B
YAML
name: Example builds (nightly)
|
|
|
|
on:
|
|
push:
|
|
branches: ['main', 'master', 'releases/*']
|
|
pull_request:
|
|
schedule:
|
|
- cron: '37 17 * * *'
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
julia-version: [nightly, 1.6-nightly]
|
|
julia-arch: [x64, x86]
|
|
os: [ubuntu-latest, macOS-latest, windows-latest]
|
|
# 32-bit Julia binaries are not available on macOS
|
|
exclude:
|
|
- os: macOS-latest
|
|
julia-arch: x86
|
|
|
|
steps:
|
|
- uses: actions/checkout@v1.0.0
|
|
|
|
- name: "Install dependencies"
|
|
run: |
|
|
npm install
|
|
npm run build
|
|
npm run pack
|
|
|
|
- name: "Set up Julia (${{ matrix.julia-version }})"
|
|
uses: ./
|
|
with:
|
|
version: ${{ matrix.julia-version }}
|
|
arch: ${{ matrix.julia-arch }}
|
|
show-versioninfo: 'true'
|
|
- run: julia --version
|