mirror of
https://github.com/julia-actions/setup-julia.git
synced 2026-02-12 02:56:54 +08:00
Add (scheduled) CI runs (#15)
This commit is contained in:
33
.github/workflows/example-builds-nightly.yml
vendored
Normal file
33
.github/workflows/example-builds-nightly.yml
vendored
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
name: Example builds (nightly)
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
pull_request:
|
||||||
|
schedule:
|
||||||
|
- cron: '0 3 * * *'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
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 --production
|
||||||
|
|
||||||
|
- name: "Set up Julia (nightly)"
|
||||||
|
uses: ./
|
||||||
|
with:
|
||||||
|
version: nightly
|
||||||
|
arch: ${{ matrix.julia-arch }}
|
||||||
|
- run: julia --version
|
||||||
30
.github/workflows/example-builds.yml
vendored
Normal file
30
.github/workflows/example-builds.yml
vendored
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
name: Example builds
|
||||||
|
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
julia-version: ['1.0.5', '1', '^1.3.0-rc1']
|
||||||
|
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 --production
|
||||||
|
|
||||||
|
- name: "Set up Julia"
|
||||||
|
uses: ./
|
||||||
|
with:
|
||||||
|
version: ${{ matrix.julia-version }}
|
||||||
|
arch: ${{ matrix.julia-arch }}
|
||||||
|
- run: julia --version
|
||||||
Reference in New Issue
Block a user