mirror of
https://github.com/julia-actions/setup-julia.git
synced 2026-02-12 02:56:54 +08:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 1 to 3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v1...v3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
47 lines
1.4 KiB
YAML
47 lines
1.4 KiB
YAML
name: Example builds (nightly)
|
|
|
|
concurrency:
|
|
# Skip intermediate builds: all builds except for builds on the `master`, `main`, or `release-*` branches
|
|
# Cancel intermediate builds: only pull request builds
|
|
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.ref != 'refs/heads/master' || github.ref != 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release-') || github.run_number }}
|
|
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
|
|
|
|
on:
|
|
push:
|
|
branches: ['main', 'master', 'releases/*']
|
|
pull_request:
|
|
schedule:
|
|
- cron: '37 17 * * *'
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ${{ matrix.os }}
|
|
timeout-minutes: 60
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
julia-version: [nightly, 1.8-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@v3
|
|
|
|
- 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 }}
|
|
- run: julia --version
|
|
- run: julia --compile=min -O0 -e 'import InteractiveUtils; InteractiveUtils.versioninfo()'
|