mirror of
https://github.com/julia-actions/setup-julia.git
synced 2026-02-12 11:06:53 +08:00
* Use `fs.rmSync` instead of `fs.rmdirSync`. To get rid of the deprecation warning. #119 * Update dependencies.
39 lines
1.2 KiB
YAML
39 lines
1.2 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.8-nightly]
|
|
os: [ubuntu-latest, macOS-latest, windows-latest]
|
|
|
|
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 }}
|
|
- run: julia --version
|
|
- run: julia --compile=min -O0 -e 'import InteractiveUtils; InteractiveUtils.versioninfo()'
|