mirror of
https://github.com/julia-actions/setup-julia.git
synced 2026-02-11 18:46:53 +08:00
Bump actions/checkout in the all-github-actions group Bumps the all-github-actions group with 1 update: [actions/checkout](https://github.com/actions/checkout). Updates `actions/checkout` from 5.0.1 to 6.0.1 - [Release notes](https://github.com/actions/checkout/releases) - [Commits](https://github.com/actions/checkout/compare/v5.0.1...v6.0.1) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 6.0.1 dependency-type: direct:production update-type: version-update:semver-major dependency-group: all-github-actions ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Mosè Giordano <765740+giordano@users.noreply.github.com>
52 lines
1.7 KiB
YAML
52 lines
1.7 KiB
YAML
name: Example builds (nightly, default arch)
|
|
|
|
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:
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ${{ matrix.os }}
|
|
timeout-minutes: 60
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
julia-version: [nightly, 1.13-nightly]
|
|
os:
|
|
- ubuntu-latest
|
|
- windows-latest
|
|
- macos-15-intel # Intel
|
|
- macos-14 # Apple Silicon
|
|
- macos-latest # Apple Silicon
|
|
|
|
steps:
|
|
- uses: actions/checkout@v6.0.1
|
|
|
|
- uses: actions/setup-node@v6
|
|
if: ${{ ! startsWith(github.ref, 'refs/heads/releases') }}
|
|
with:
|
|
node-version-file: '.tool-versions'
|
|
|
|
- name: "Install dependencies"
|
|
if: ${{ ! startsWith(github.ref, 'refs/heads/releases') }}
|
|
run: |
|
|
npm install
|
|
npm run build
|
|
npm run pack
|
|
|
|
- name: "Set up Julia (${{ matrix.julia-version }})"
|
|
uses: ./
|
|
with:
|
|
version: ${{ matrix.julia-version }}
|
|
- run: julia --version
|
|
- run: julia --compile=min -O0 -e 'import InteractiveUtils; InteractiveUtils.versioninfo()'
|
|
- name: "Check that the correct julia is used and that archive mtimes are maintained"
|
|
run: julia --startup-file=no --color=yes ./.github/scripts/common-tests.jl
|